Fonction SAP BAPI_XBP_JOB_ABAP_STEP_MODIFY - Assign ABAP Program to a Specific Job Step

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ABAP_PROGRAM_NAME BAPIXMREP-REPORTID C 40 ABAP Program Name
ABAP_VARIANT_NAME BAPIXMREP-VARIANTNAM C 14 SPACE X ABAP Variant Name
ALLARCPAR BAPIARCPAR u 328 SPACE X ImageLink structure
ALLPRIPAR BAPIPRIPAR u 176 SPACE X BAPI structure for transferring print parameters
ARCHIVE_PARAMETERS BAPIXMARCH u 23 SPACE X Archive Parameters
ARCH_MASK ARCMASK u 18 X Mask for XBP all archive_parameters BAPI
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
JOBCOUNT BAPIXMJOB-JOBCOUNT C 8 Job Count
JOBNAME BAPIXMJOB-JOBNAME C 32 Job Name
LANGUAGE BAPIXMSTEP-LANGUAGE C 1 SY-LANGU X Language for List and Message Output
PRINT_MASK PRIMASK u 22 X Mask for XBP all print_parameters BAPI
PRINT_PARAMETERS BAPIXMPRNT u 48 X Print parameters
SAP_USER_NAME BAPIXMSTEP-AUTHCKNAM C 12 SY-UNAME X SAP User Name for Authorization Check
STEP_NUMBER BAPIXMJOB-STEPCOUNT I 4 Number of the Step to be Modified

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548

Functionality
With this method you can change a job step that you have alreadycreated with method BackgroundJob.AddABAPStep. All job step attributescan be changed.
You cna only modify ABAP job steps here.

Further information
XBP documentation (SAPnet/CCMS)

Description
INCLUDE BAPI_TABLE

Value range
MSG_JOBID_MISSING: You have not identified the job to which the jobstep is to be added. Either the job name or the job count is missing,or both.
MSG_JOB_DOES_NOT_EXIST: The job that you specified by job name and jobcount does not exist in the R/3 System.
MSG_STEP_COUNT_MISSING: You have not specified a job number. You mustspecify this since every ABAP job step can create a spool request.
MSG_STEP_COUNT_INVALID: The job step number that you have specified isinvalid. This means that there is no job step with the correspondingnumber. The background processing system adapts the step numberautomatically if you have deleted a job step. Ensure that you haveadapted the step number accordingly in your program.
MSG_PROGRAM_NAME_MISSING: You have not specified the name of the ABAPprogram that is to be executed in this job step. .
MSG_PROBLEM_DETECTED: The background processing system has detected anerror. You can find an exact description of the problem in the R/3System log.
MSG_CANT_LOG: The method call was terminated due to an error in the R/3XMI logging system.
MSG_EXT_USER_MISSING: The external user name was not specified in thecall. This name specifies the user in the external system who triggeredthe method call.
MSG_NOT_LOGGED_ON: The external system administration tool has notlogged onto the CCMS XMI interface. The method call was terminated as aresult.
INCLUDE BAPI_XBP_ABAP_PROGRAM_NAME_A ID TX
INCLUDE BAPI_XBP_ABAP_VARIANT_NAME_A ID TX
INCLUDE BAPI_XBP_ARCHIVE_PARAMETERS ID TX
INCLUDE BAPI_XBP_EXTERNAL_USER_NAME ID TX
INCLUDE BAPI_XBP_JOBCOUNT ID TX
INCLUDE BAPI_XBP_JOBNAME ID TX
INCLUDE BAPI_XBP_LANGUAGE ID TX
INCLUDE BAPI_XBP_PRINT_PARAMETERS ID TX
INCLUDE BAPI_XBP_SAP_USER_NAME ID TX
INCLUDE BAPI_XBP_STEP_NUMBER_REFER ID TX