Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

External Job interface issues

Former Member
0 Likes
993

Hello,

I am trying to read the joblog of a job with BAPI_XBP_JOB_JOBLOG_READ.

To allow me to do that I need to logon to the XBP interface using BAPI_XMI_LOGON first.

That works just fine, I am geting a session ID no problem.

The next function would be BAPI_XBP_JOB_JOBLOG_READ, but even though it is using the session ID from the logon it shows

"Interface not logged on; function BAPI_XBP_JOB_JOBLOG_READ (...) can not be executed!" in RZ15?

The subsequent BAPI_XMI_LOGOFF works fine again.

Does anyone know what happens here? Do i somehow need to bind the BAPI_XBP_JOB_JOBLOG_READ to the logon session manually ?

Thanks for your thoughts.

Andi

2 REPLIES 2
Read only

Former Member
0 Likes
525

Hi Andi, have you had any luck i'm trying to attempt the same thing now and still get a similar error?

Read only

Former Member
0 Likes
525

HI.

You need to fill in the Logon with proper parameters

Call function SXMI_LOGON to start the session

u2022 Parameters:

EXTCOMPANY : CO

EXTPRODUCT : XPM

INTERFACE :XBP

VERSION : 1.0

that will get you past the logon issue..

regards

John Arne