Fonction SAP BAPI_XBP_JOB_OPEN - Create 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
JOBCLASS BAPIXMJOB-JOBCLASS C 1 X Job classification
JOBNAME BAPIXMJOB-JOBNAME C 32 Job Name

Paramètre Reférence Type Long. Description
JOBCOUNT BAPIXMJOB-JOBCOUNT C 8 Job Count
RETURN BAPIRET2 u 548

Functionality
This method solves the first step in scheduling a job in the R/3background processing system. You create the job with this method.
Using additional method calls (BackgroundJob.AddABAPStep,BackgroundJob.AddExternalStep), you add job steps to the job.
With the method call BackgroundJob.Close, you finish defining the joband transfer it to the background processing system with the statusScheduled without start date.
You have execute the job with the method callsBackgroundJob.StartImmediately or BackgroundJob.StartAsSoonAsPossible.

Further information
XBP-Dokumentation (SAPnet/CCMS)
INCLUDE BAPI_XBP_JOBCOUNT_OPEN ID TX

Description
INCLUDE BAPI_TABLE

Value range
MSG_JOBNAME_MISSING: You have not specified a job name in the methodcall.
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 because of an error in theR/3 XMI 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_EXTERNAL_USER_NAME ID TX
INCLUDE BAPI_XBP_JOBNAME_OPEN ID TX