Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging ABAP Proxy code

Former Member
0 Likes
861

Hi,

I have problem in ABAP Proxy. When i upload a XML and test the ABAP Proxy code it is working fine, but when i trigger the change from sender, its updating the wrong value in the database.

I checked the incoming and the converted XML, everything is correct and there is no prob in the XI.

Please tell me is there any way to debug the ABAP Proxy during the actual proccessing i,e. when the change is triggered from the sender.

Thanks and Regards,

Arunsri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
772

If you select External Debugging in User Settings -> Debugging, Check the box IP matching and give your userid. Put the break point wherever you want in Proxy. Now trigger the XML file from Sender system so when ever the XML file comes to PROXY a new window will open as debugger.

2 REPLIES 2
Read only

Former Member
0 Likes
773

If you select External Debugging in User Settings -> Debugging, Check the box IP matching and give your userid. Put the break point wherever you want in Proxy. Now trigger the XML file from Sender system so when ever the XML file comes to PROXY a new window will open as debugger.

Read only

former_member182096
Participant
0 Likes
772

I've had the same problem before...everything seemed fine but the xml was not updating the desired values - you have 2 choices - 1. Enable the debugging, but if you have a high volume scenario, then it may cause some issues. Also, I am not sure if you plan to do this in production - as you know, debugging in production is a big No-No.

Option 2 is to just take the stream and store it as a file in the OS. This is what we followed and we were able to figure out the issue with the xml. Make sure you write it in such a way that you can turn it off immediately. In our case, it worked fine for all suppliers but one and this one supplier was sending a double spaced character in between, which was causing the issue.

Regards,

Srini