Enable sync scenario response payload in SAP PI 7.4 (Java Only)

This article will provide steps on how to enable sync scenario response payload in SAP PI. By default, synchronous scenario logging and staging is disabled to avoid consumption of resources.

But in case of errors in response mapping and for debugging we might need to understand data coming in response messages.

Two options are available to enable sync scenario response payload

  1. Global setting: this will enable staging of payload for all interfaces
  2. Local setting: this has more advantages as this can be handled from ICO and is very specific to the interface.

 

Global Setting

This will be done in NWA, so proper roles and authorization will be required for performing this.

Steps:

  • Call SAP NetWeaver Administrator.
  • You can use the following address: http://<host>:<port>/nwa
  • Choose Start of the navigation path Configuration Management Next navigation step Infrastructure Next navigation step Java System Properties End of the navigation path.
  • On the Services tab, select XPI Adapter: XI.
  • Enter values for the xiadapter.stage.conf property.

The default value will be MS=3.

sync scenario response payload in SAP PI

You can enter 0, 1, or 3 for each processing step (BI, MS, and so on).Select services and filter “XPI Adapter: XI”

Modify this and change it to MS=3, AM=3, BI=3.

This will enable staging of response payload in sync scenario and you can view it in monitoring

Local setting: Scenario-Specific Configuration of Staging

In this case setting need to be performed on Integration builder.

Select the ICO and go to advance settings tab.

Enable the options as shown below.

sync response payload in sap pi

 

How to check response message in monitoring

Select the request message and use button “Related Messages” this will open all related messages.

sync scenerio response payload in sap pi

 

 

 

 

 

Message showing status as log version is response message. Now you can open the detail of message and download payload for further debugging.

 

Check how to set sync timeout parameter in the synchronous scenario.

https://www.techtalkzone.com/sap-pi/synchronous-timeout-exceeded-sap-pi/

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.