cancel
Showing results for 
Search instead for 
Did you mean: 

Abap proxies?

Former Member
0 Kudos

Hi,

How to test a method of abap proxies?

Does package name should be created by admin where all the objects to be stored under that package??

What is the prefix to be used is it a custmized..

regards,

Kishore

Accepted Solutions (0)

Answers (6)

Answers (6)

iprieto
Contributor
0 Kudos

Hi,

1. You can test the method creating an ABAP program that call to your class method.

2. You can create the package named with the prefix Z or Y.

For instance: Z_PACKAGE_PROXIES_PI

Only you can create package if you have a developer rol. The administrator must give you the rol.

Best Regards

Former Member
0 Kudos

HI,

You can put a break point and test your client proxy report.

Debugging Inbound Proxy:

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

Thnx

Chirag

Former Member
0 Kudos

Hi,

While Creating the Proxy in SPROXY TC, We need to provide Package & Prefix.

Package we will give the Package name which we created.

Then What About Prefix ???? What We have to specify

Regards

Bopanna

Former Member
0 Kudos

--->How to test the outbound proxy? is it same of testing the inbound..

Create a report program to use the proxy and run the report...then look into the SXMB_MONI for looking the messages..

Regards,

Former Member
0 Kudos

Hi Kishore,

Testing of proxies depends on WebAS release of your installation.

<b>Steps, if WebAS is 640 or higher:</b>

1. At first you have to set a break point in the ABAP code. Call transaction SPROXY. Expand the namespace, the node Message Interface (inbound) and the interface.

2. Double click on interface and get the view of the proxy object properties.

3. Double click on the implementing class (ABAP name) and then double click on the method name (this class has only one method).

4. Now you are in the inbound proxy implementation. Set the break point on the first executable line.

5. With help of the back button (F3) go back to the transaction SPROXY. Here you choose from menu Proxy -> Test Interface

6. In the next pop up check the field XML Editor to maintain the payload.

7. In the next screen apply suitable values or upload the XML payload of the SXMB_MONI (after mapping).

8. Now the inbound proxy processing should stop at the break point. If the processing does not stop at the break point, there might be an error in the XML. Check at the result page for error messages.

<b>Steps, if WebAS is 620:</b>

1. You set the break point the same way as described above.

2. To start the proxy test you call the report SPRX_TEST_INBOUND.

3. As parameters you enter the name of the ABAP interface and the method name of of the ABAP interface and check the parameter Edit Native XML

4. In the next screen you apply suitable values or upload the XML payload of the SXMB_MONI (after mapping).

5. Then you click first on save button (F11), then on back button (F3).

6. Now you should see your debug session. If not, check if the XML is valid.

Regards

Prashant

Former Member
0 Kudos

Hi,

How to test the outbound proxy? is it same of testing the inbound..

regards,

Kishore

Former Member
0 Kudos

Hi Kishore

Refer the below links about proxies..,

ABAP Proxies in XI(Client Proxy)

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Server Proxy (Receiver Proxy)-

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

Debug your server proxy

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

ABAP Proxy to file

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

File to ABAP Proxy

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

To generating abap proxies..

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation

Cheers

Veera

Reward Points, if it is needful

Former Member
0 Kudos

Hi,

Pacakage name needs to be have prefix with Z or Y..

Regards,

Anoop

Former Member
0 Kudos

Hi,

Is the package should be deployed by the developer or admin?

regards,

Kishore

Former Member
0 Kudos

HI,

Refer the below thread which discuss the same:

We can also create our own package its not necessary that Admin guy will create it.

Thnx

Chirag Gohil