cancel
Showing results for 
Search instead for 
Did you mean: 

Capture message ID / IDOC numbers (IDOC-XI-HTTP)

Former Member
0 Kudos

Hi! I am running a IDOC-XI-HTTP scenario and am trying to figure out a way to capture the XI message ID and the IDOC number to which it is linked and send this to back to the source system such that the user can see the data. This is needed to support easy follow up on issues.

Does anyone have experience on how to grab this kind of data at runtime? I know I can output the message as a file to the filesystem but this is not an option.

Any bright ideas would be much appreciated!

Thx, Duncan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206604
Active Contributor
0 Kudos

Hi,

Regarding the IDOC number you can find it in the IDOC.

For Message ID you can check these threads

Regards,

Prakash

Former Member
0 Kudos

Hi Prakash

Really really helpful. Can grab the message ID now. However, I am still not my end point. Basically, my scenario is as follows:

Source SAP --> IDOC --> XI --> Map --> XML --> External Party

I don't want to the put the message ID in the message to the External Party but rather write it back - probably via RFC - to it source SAP system. Net, dusire scenario is as follows:

Source SAP --> IDOC --> XI --> Map --> XML --> External Party

+ Message ID --> Source SAP

Any ideas? Will award points for your previous reply as that already helped a whole lot.

Thx

Duncan

moorthy
Active Contributor
0 Kudos

Hi,

Without BPM, you can try out like this. Assuming RFC is created to send the data back to SAP. Or even you can use just a ABAP Server Proxy to do the same.

1) First mapping Idoc to External Party

2) Message Id to RFC mapping

Then in the Reciever Determination you need to configure both Recievers to send the data( External Party and SAP system .

Another option is to use BPM, But it is not required in this case

Regards,

Moorthy