BeispieldokumentationProgrammbeispiel: Job-Step mit ABAP SUBMIT hinzufügen

 

Syntax Syntax

  1.  * Add a job step: ABAP SUBMIT keyword 
    * SUBMIT is a fully-compatible alternative to the JOB_SUBMIT 
    * function module. SUBMIT allows specification of a variant 
    * or direct specification of values for parameters. See the ABAP 
    * syntax documentation (help submit in the ABAP editor) for more 
    * information. 
    * 
    SUBMIT REPORTNAME AND RETURN 
    USER SY-UNAME " User for runtime authorizations 
    VIA JOB JOBNAME NUMBER JOBNUMBER 
    " Job name and job number
    " from JOB_OPEN 
    TO SAP-SPOOL " Print and archiving options from
    " GET_PRINT_PARAMETERS
    " Both sets of options come from
    " GET_PRINT_PARAMETERS
    SPOOL PARAMETERS USER_PRINT_PARAMS 
    ARCHIVE PARAMETERS USER_ARC_PARAMS
    WITHOUT SPOOL DYNPRO.
Ende des Codes