Skip to Content
0

Where shoud to inside code to get the message id from inbound proxy

Oct 10, 2017 at 01:25 PM

62

avatar image
Former Member

Dear ALL,
I used all the sample code to get the message id from inbound proxy but all the IDs I have received do not exist in the SXI_MONITOR tcode nor in the SXMSPMAST table. Where should I enter your code to capture the ID? I'm putting the code directly into the SPROXY inbound method. Is this correct?
Regards,
Thank you very much!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Oct 11, 2017 at 05:18 AM
0

it is same as mentioned in the below blog. hope you are using the same.

https://blogs.sap.com/2012/10/19/abap-proxy-protocols-use-cases-and-examples/

For provider (inbound) proxy: protocol can be retrieved using method GET_PROTOCOL of the server context instance (server context is obtained via method GET_SERVER_CONTEXT of class CL_PROXY_ACCESS). The example below is again XI message GUID retrieval done on the provider side:
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 17, 2017 at 01:35 PM
0

Dear "Sapbinary Key",

Only today I was able to test your code solution. Fortunately it worked very well.
Thank you very much for your support.


Best Regards,
José Henrique

Share
10 |10000 characters needed characters left characters exceeded