Skip to Content
0
Jan 26, 2021 at 08:23 PM

Starting a Background Job In a Released State Using a Bapi Function

136 Views Last edit Feb 01, 2021 at 02:46 PM 2 rev

When I have a Background Job in a "Released" state the following BAPI functions fail:

BAPI_XBP_JOB_START_IMMEDIATELY

BAPI_XBP_JOB_START_ASAP

The Error:

FIELD TYPE=E FIELD ID=XM FIELD NUMBER=034 FIELD MESSAGE=Internal problem (function BAPI_XBP_JOB_START_IMMEDIATELY)

To get the Jobs in a "Released" state I either set the Start Condition to an Event or to a time in the future. Page 55 of the documentation indicates that these BAPI functions can be used to start a Job in a "Released" state. Is this possible using a standard BAPI function?

From the SAP Client I can simply release the Job from Released->Scheduled and then make the Start Condition Immediate but I want to do this from a standard BAPI function.