Skip to Content
avatar image
Former Member

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

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

    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:
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2017 at 01:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded