Skip to Content
Author's profile photo Michal Krawczyk

Michal’s PI tips: How to record/test SAP backend application system proxy messages ?

There are a few ways to test a proxy in the application system and one of them is available in SPROXY transaction itself. This particular way has some drawbacks on the other hand:

– you can only execute it with your user (so in the future you can expect authorization issues)

– you never see the whole message (SOAP header) only the message payload

– you don’t see the response message which would be sent to the SAP PI/XI system (sometimes necessary for debugging purposes)

The functionality which I’m using for testing and debugging ABAP proxies on the SAP application backend systems (like ECC) is called IFC recorder. You can easily turn it on the TCODE: SICF -> Edit -> Recorder – as shown in the picture below.


Now once you send a proxy message you can disable the recording and display it in the same menu section. What you will see once you select the appropriate service on the left (SAP -> XI -> Engine) will be the record header of your proxy call. Important info from the header include user which executed the message for example. 


The second step is to choose request from the menu in order to display the inbound message.


Once you select this display option you will be able to see not only the payload of the message but also (and sometimes more importantly) the SOAP header of the message.


By selecting response you will be able to see the response message (acknowledgment).


Additional options:

Changing the user of the call

If you want to check if it’s possible to call the proxy class with any other user you just need to change it in the call as shown in the picture below and execute the call once more from the recorder.



This is a very simple option but I’ve noticed that not a lot of people know about it/use it so I hope it will be a nice useful tool for some of you.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Sascha Wenninger
      Sascha Wenninger

      Hi Michal,

      thank you very much - yet another great tip from the guru. I didn't know of this, and have actually wanted to do this in the past so this will be very useful 🙂

      Thank you for sharing!


      Author's profile photo Michal Krawczyk
      Michal Krawczyk
      Blog Post Author

      Hi Sascha,

      thanks for the info - it's pretty easy and nice function and it seemed to me that not a lot of people were using that - so I'm happy that it will be useful 🙂

      recently we had some issues with acknowledgments (GSIG e-mail) and a transaction which shows acknowledgments and messages headers can be very nice in such cases


      Michal Krawczyk

      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Michal,

      excellent blog as usual.



      Author's profile photo Pooja Srivastava
      Pooja Srivastava

      Hi Michal,

      I have been following your posts from quite some time and yet again an excellent piece of Information.

      Also, It would be great if you could please suggest me some work around for the RFC connection issue which I am facing between ECC and PI. Below is my thread

      Please provide your input.