Can I call functions in ABAP proxy?


SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

The scenario is JDBC to ABAP proxy.
PI reads data from the external database and writes the data into SAP tables. Besides I need to call functions, such as retrieving sales organization, in the proxy.

After I add the codes, data was not inserted into SAP table. It looks like the proxy is not executed.
Then I set a Breakpoint and try again. Debugging is not triggered.

And then set an external Breakpoint. Go to ‘Utilities’, ‘Settings’:

Here enter user PIAPPLUSER.  The proxy is executed by PIAPPLUSER in background. I find out why:

PIAPPLUSER has no authorization to debug.

PIAPPLUSER has no authorization to call the functions.

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

PIAPPLUSER only has a role of SAP_XI_APPL_SERV_USER be default.

So modify the profile of PIAPPLUSER in the SAP system.

At last, I can debug the proxy, and the scenario works out.

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter
www.pdf24.org    Send article as PDF   
This entry was posted in abap proxy, sap abap proxy, sap pi 7.1 abap proxy. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *