03-23-2020 5:02 AM
Hello,
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.
03-23-2020 5:12 AM
Did you create the RFC connection thru SM59 for that http url ?
Once this step is done, I beleive there are some example programs to use it.
Please confirm once SM59 step is done
03-23-2020 5: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.
03-23-2020 5:15 AM
PA0011, reduce /562, /560, /550, /101, /562 by IT0015 amount (BETRG).
03-23-2020 5:17 AM
03-23-2020 11:07 AM
I checked RFC destination is maintained for URL now it is giving error 404 Not found
03-23-2020 11:14 AM
Please provide the SM59 Screenshot of yours - and full error message of 404
This will help me to narrowdown to the issue
03-23-2020 11:18 AM
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 )