Skip to Content
avatar image
Former Member

Trigger the abap proxy in custom FM

Hi Experts,

I have a requirement to trigger abap proxy through my custom function module. I need to send the populated structure to SAP PI using ABAP Proxy.

Note - ABAP Proxy details are provided from SAP PI. Function Module logic is to be written inside the ABAP Proxy.

Can you please tel me how I can meet this requirement?

Thanks and regards,

Jasvinder Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 15, 2013 at 07:45 PM

    Hi Jasvinder,

    You can create a structure in PI which suits your requirement and generate the proxy in ECC. This will create a class in ECC. You can populate the structure in your custom function module, and trigger the proxy to PI by calling the object of type class created above and passing the payload.

    Hope it helps.

    Ambrish

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jasvinder,

      Are you creating this FM to trigger ABAP proxy ? is this FM serving any other purpose? Otherwise, You can create a simple ABAP report and call this proxy object from that report and pass the data (in an internal table) to the method of the class.

      Hope it helps.

      Ambrish

  • Apr 15, 2013 at 06:51 PM

    Please ensure that you post your discussion in the right place.  Every question from a utility company does not belong in the utilities space - only those that are directly related to the utilities solution or functionality.  I will move this thread to the appropriate place.

    regards,

    bill.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 15, 2013 at 07:26 PM

    YES, You can meet this requirement. Proxy can be called anywhere in the ABAP program or Function module.

    Add comment
    10|10000 characters needed characters exceeded