Fonction SAP BAPI_XBP_JOB_ABORT - Cancel Job

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

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

Functionality
Terminates a job that has just been activated.

Notes
You must have logged onto the XBP interface.
If the job was not active, nothing happens. .

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_JOB_NOT_ACTIVE: The job could not be terminated since it is notactive (being processed). No action was executed on the job.
MSG_NO_PRIVILEGE_GIVEN: The R/3 user with whom you (or the applicationwith which you are working) logged onto the R/3 System, does not haveauthorization to cancel an active job. To do this you needauthorization for object S_BTCH_ADM (Background processing: backgroundadministrator) with the value Y.
MSG_PROBLEM_DETECTED: The background processing system has detected anerror. You can find a detailed 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 name of the external user was not specifiedin the call. This name specifies the user who triggered the method callin the external system.
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_EXTERNAL_USER_NAME ID TX
INCLUDE BAPI_XBP_JOBCOUNT ID TX
INCLUDE BAPI_XBP_JOBNAME ID TX