cancel
Showing results for 
Search instead for 
Did you mean: 

XI available BAPI's

Former Member
0 Kudos

I would like to access the information stored in XI of processed messages. This way I could compare these messages with all messages supposedly sent by a business system, and find out if any of them got lost or simply not sent.

Is there any available BAPI in XI to collect the processed XML messages?

May be something similar to SXMB_MONI?

Best regards, Raú

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!

Be careful when doing this, because in the ABAP engine you only the ABAP integration engine messages are stored. There you cannot see whether s.th. went wrong in the (Java) Adapters.

SXMB_MONI is nothing else than report RSXMB_SELECT_MESSAGES. So go to SE38 and inspect the coding of that report and you will have your solution by implementing the logic in your own BAPI.

Regards,

Volker

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you all!

Former Member
0 Kudos

Hello Raul,

I was wondering if you found a nice solution for this

how did you solve this ?

thanks

udo_martens
Active Contributor
0 Kudos

Hi Raul,

bad idea..

Better: put a counter field into sent message. Store the Message ID and the counter value by ABAP mapping into an ABAP stack table of PI. A program can now pick up missing numbers.

Regards,

Udo

Former Member
0 Kudos

Hi Raul,

Use this class: CL_XMS_PERSIST or/and CALL FUNCTION 'SXMB_SELECT_MESSAGES'

There you will find a lot of methods including about read messages and others.

Best Regards,

Pedro Nunes

Edited by: Pedro Nunes on Oct 8, 2008 7:46 PM

CALL FUNCTION

Former Member
0 Kudos

Hi,

I am not sure whether there is BAPI .We can get the same information from the tables SXMSPMAST, SXMSPMAST2 XML Message master Table.These tables contain the processed messages in XI.

Many Thanks,

Sharath