Skip to Content

How to call external rest web service from SAP ABAP Program or from SAP SYstem.


I would like to call external REST web service which requires userid& password and payload with json format (when i tried to call using soap UI i have to provide these details) in ABAP program or from SAP system.

Could you please help me how i can achieve this scenario .

I found various blogs but those were related to SOAP web service and not for REST web service.

I tried to generate service consumer proxy but it gave me http error 500 internal server error.

Thank you in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 23 at 11:07 AM

    I checked RFC destination is maintained for URL now it is giving error 404 Not found

    Add a comment
    10|10000 characters needed characters exceeded

    • Dear Gaurav

      Eror 404 means You are able to reach the specified server but the requested page is not found. The problem may be on the side of connection configuration in SM59 or on the target server.

      Could You please copy the URL You've provided in SM59 and check what response will You get when You use it in Your internet browser?

      Also the screenshot of the SM59 tabs

      Also - try to ping / telnet the url - and see how it responses.

      "telnet (your target IP) (your port)"

      (You can mask the actual domain of the url - for security purpose )

  • Posted on Mar 23 at 05:14 AM

    I have just resolved with standard SAP solution:

    1) Infotype 11 must be created for the Current Period (not the period where employee's bank transfer was unsuccessful. Run PC00_M13_CDTB_PS to create EFT.

    2. For the New WT that you will enter in IT0015, write a PCR to move it to RT

    3. Just before Net Formation, another PCR to read the WT from RT and add it to WT /101

    4) Upon processing PA001, reduce /562, /560, /550, /101, /562 by IT0015 amount (BETRG).

    Simple and elgant solution.

    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.