Skip to Content
author's profile photo Former Member
Former Member

Abap proxies?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 05:58 AM

    Hi,

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

    Regards,

    Anoop

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 06:09 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 07:19 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 09:37 AM

    --->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,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 09:56 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 10:02 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.