cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging ABAP proxy

Former Member
0 Kudos

Hi all,

Can anyone please tell me how to debug abap proxy.

In my scenario i chnaged the code in proxy.(file to r/3)

I want to debug the code which i have changed..According to me it should be debugged in sm50 (testing client), which i couldnt do?

Any Ideas greatly appreciated..

Regards,

smith

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

check this document to see how to debug proxies:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/e29161d3-0401...

cheers,

Prashanth

P.S : Please mark all helpful answers

Answers (4)

Answers (4)

stefan_grube
Active Contributor
0 Kudos

I have provided some screen shots. I hope it is clearer now:

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

Regards

Stefan

stefan_grube
Active Contributor
0 Kudos

In an application system based on WebAS 6.20 you can use report SPRX_TEST_INBOUND for testing.

The input parameters:

Inbound Interface: check SPROXY for the Proxy-Interface name

Method Name: EXECUTE_SYNCHRONOUS or EXECUTE_ASYNCHRONOUS

check <i>Edit Native XML</i>

Before you run the report, set the break-point in your proxy code.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

Thanks for ur time and effort, but I can not find the Test Interface in Proxy menu.

Regards,

Jai Shankar.

stefan_grube
Active Contributor
0 Kudos

Do you have WebAS 6.20 or 6.40? Which SP level do you have in your application system?

If the menu entry <i>test interface</i> is not available, you can use TC SXI_SUPPORT. Choose <i>service selection</i> and check <i>proxy inbound processing</i>.

In the next screen chose your interface and namspace and check <i>XML editor</i>.

Regards

Stefan

Former Member
0 Kudos
Former Member
0 Kudos

My Requirement is i have generated an proxy for my inbound interface in trans:SPROXY according to the requirement .Its purely an ABAP code. I want to debug this ??

Any Ideas..

stefan_grube
Active Contributor
0 Kudos

Is your application system based on 6.40?

Then it is easy: Set a break-point in your inbound proxy code, go to sproxy, navigate to your inbound interface implemantation screen and choose <i>proxy</i> -> <i>test interface</i> from menu.

On pop up check <i>XML editor</i> and click execute.

In the next screen put the XML of the message payload and click on execute.

Stefan

sridharreddy_kondam
Active Contributor
0 Kudos

Hi Paul,

Send u r mail id i will send u a Pdf file for debugging Proxies...

Regards,

Sridhar

Former Member
0 Kudos

Hi Stefan,

>> Set a break-point in your inbound proxy code

(In Execute_asynchronous method. Correct? )Done

>> go to sproxy,

Done

>> navigate to your inbound interface implemantation screen and choose proxy -> test interface from menu.

Can u explain this step?

I have a very similar problem.

Appreciate ur help.

Hi Sridhar,

Also send me the doc. my id is jaishankar.ramakrishnan@caritor.com

Regards,

Jai Shankar.

Message was edited by: Jai Shankar

stefan_grube
Active Contributor
0 Kudos

> Hi Stefan,

>

> >> navigate to your inbound interface implemantation

> screen and choose proxy -> test interface from menu.

>

> Can u explain this step?

What's your problem? Don't you find the menu point <i>proxy</i> -> <i>test interface</i>

Is your application system based on 6.40?

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

These steps are done in tcode sproxy. Correct?

There I can find all SWC and my interfaces in that. I have created a proxy for my inbound interface and edited the method execute asynchronous with a break point set in that.

Now how can I test this with a sample XML msg? Is there a way to do it?

Regards,

Jai Shankar.

stefan_grube
Active Contributor
0 Kudos

When you have set your break-point, click on F3 until you see the screen from sproxy. You know, the screen with the overview of all the SWC, and the interfaces.

At the top of the screen, at left you find the menu. Choose <i>proxy</i> -> <i>Test interface</i>. Or simply click F8.

Stefan

raviteja_satuluri
Contributor
0 Kudos

Hi sridhar Reddy,

Please send the PDF File of How to debug ABAP Proxy..

this is my id:

raviteja4u2014@gmail.com

Thanks & Regards,

Ravi Teja