cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging the XI Scenarios

Former Member
0 Kudos

Hi,

i want to know how can we debug the all type of scenarios.. i mean Proxys(both inbound and Outbound proxys) debugging and File to RFC and RFC to File scenarios Debugging.. and IDOC scenarios Debugging information..

can any body having any idea about debugging.. please share with me.. any debugging documents also helpful to me..

Thanks

Babu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Babu,

Please find some points to debug scenarios.

1. Proxies

(a) Outbound Proxy:

- Use Http Connection to ABAP System not to External Server

- Always prefer to use a common basis userid for authentication in http connection

- while testing connection if message "empty http request comes", it means connection is successful.

- Always test your proxy in SPROXY tcode as well as remember to activate proxy every time you change anything.

- Use Commit work in Proxy code and use appropriate proxy tables and structure.

(b) Inbound Proxy:

- Make and Check your Http connection on PI side.

- if content conversion is used make sure all fields are used in <struct.fieldNames>, whether they are being used or not.

- write your proxy code in Execute asynchronous method of class, and use right structure.

- check your proxy in sproxy if your payload is not going to table used.

2. RFC to File and vice versa

- make sure TCP\IP connection is used and check your Program Id should be registered.

- take servive gateway from tcode smgw.

- write a report to execute RFC in background and use commitwork.

- always activate your RFC communication channel first before configuring TCP\IP connection.

- in case of file to rfc check your connection on PI side.

3. IDOC to File

- make sure of partner profile is maintained in we20.

- Make sure IDoC is maintained at outbound port of R3 system.

- check your connection in R3.

Rewards if found helpful.

Regards,

Alok

Former Member
0 Kudos

Hi,

For debugging inbound and outbound scenario follow the below PDF:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d49...

Debugging Inbound Proxy:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

For all the other scenario u have to follow the below steps:

Supose take a example of file:

1) First check the file is picked up or not.

2) check the communication channel status through RWB.

3) Check the pay load in SXMB_MONI

4) check whether the payload message is proper or not

5) Check whether file is generated at target directory or not.

IDOC scenario:

U need to check all the IDOC configuration which is done in R3 ass well as Xi.

Configuration means RFC deatination, Partner profile,IDX1,IDX2, port etc

Troubleshooting File-to-IDOC Scenario in XI

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

Go to WE02 transaction and check the IDOC status.

SOAP:

1)troubleshooting SOAP:

/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi

2) Check the WSDL which geneatated properly or not using XML-SPY.

3) test the generated WSDL using on webbreowser.

4) https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

So like wise u can debug the sencario it again depends upon what error and where u r getting the error.

Thnx

Chirag