Ansicht
Dokumentation

BAPI_XBP_ADD_JOB_STEP - Add Job Step

BAPI_XBP_ADD_JOB_STEP - Add Job Step

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module adds a step to a job, or inserts a step into a job.

  • If a step is added, it is added at the end of the job steps.
  • If the step is inserted into a job, it is inserted at the position STEP_NUM and the subsequent steps move further below.
  • If the job does not yet contain any steps, the new step is the first step of this job.

This function module can be used for all types of job steps: ABAP program, external command, and external program. For ABAP programs you can specify print and archive parameters. If you do not enter values for these optional parameters, the function module uses the standard print and archive parameters of function module GET_PRINT_PARAMETERS.

Example

step-type = 'A'.

step-program = '<ABAP program name>'.

step-parameter = '<variant name>'.

step-language = '<language>'.

step-authcknam = '<user name>'.

Add or insert an external command:

step-type = 'C'.

step-program = '<command name>'.

step-opsystem = '<operating system>'.

step-parameter = '<command parameters>'.

step-xpgtgtsys = '<XPG target system>'.

step language = '<language>'.

step-authcknam = '<user name>'.

Add or insert an external program:

step-type = 'X'.

step-program = '<external program name>'.

step-xpgtgtsys = '<XPG target system>'.

step-language = '<language>'.

step-authcknam = '<user name>'.

Notes

Further information

You can find more information in SAP Service Marketplace (http://service.sap.com) under alias /background in directorys Media Center >> Literature .





Parameters

ALLARCPAR
ALLPRIPAR
EXTERNAL_USER_NAME
IV_PRIPAREXT
JOBCOUNT
JOBNAME
RETURN
STEP
STEP_NUM
STEP_NUMBER

Exceptions

Function Group

SXBP

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2425 Date: 20240523 Time: 154702     sap01-206 ( 38 ms )