SAP Knowledge Base Article - Preview

3839849 - XM028 error in BAPI_XBP_JOB_OPEN from external scheduler

Symptom

  • External batch scheduler (e.g., Broadcom Automic / UC4) intermittently reports error XM028 ("Not logged on in interface XBP" / "Did not log in to the XBP interface") when calling BAPI_XBP_JOB_OPEN
  • Multiple XBP sessions fail simultaneously with XM028 in the XBP audit log (transaction RZ15), all originating from the same SAP application server
  • Failures appear in periodic bursts separated by approximately the same interval (e.g., ~5 minutes), then stop until the next burst
  • Other application servers in the landscape are not affected during the same burst event
  • The external scheduler recovers automatically within seconds by re-issuing BAPI_XMI_LOGON, but jobs that were mid-submission are aborted
  • Affected jobs may need to be re-executed manually
  • The scheduler log shows a sequence similar to:
    U02004018 The job was successfully interpreted.
    U02004081 Error in function 'BAPI_XBP_JOB_OPEN': XM028
    U02004025 Job-script execution was aborted.


Read more...

Environment

  • SAP ECC or SAP S/4HANA, any release
  • External batch scheduler using the XBP (External Background Processing) interface via JCo / RFC
    • Applies to: Broadcom Automic, UC4, or any scheduler implementing BAPI_XMI_LOGON / BAPI_XBP_JOB_OPEN

Keywords

XM028, BAPI_XBP_JOB_OPEN, XBP, XMI, BAPI_XMI_LOGON, external scheduler, Automic, Broadcom, UC4, JCo, session timeout, BC-CCM-BTC-JOB, RZ15, background processing, not logged on, did not log in, job aborted, U02004081 , KBA , BC-CCM-API-CSI-XBP , eXternal Interface for Background Processing , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.