Tutorial 6 Consuming Webservice in SAP using abap

preview_player
Показать описание
Dear All, This video is for learning purpose for SAP Developers.
This is about how to consume a web service in sap and how to pass parameter to web service and get output using ABAP Program. This will be very helpful for integration purposes.
The code has been added in the comments.
Рекомендации по теме
Комментарии
Автор

hi Annel, what's the difference between creating RFC connection with web service url then calling in ABAP program vs tje one you did vai SOAMANGER ? We are trying to call real-time price from cloud (webservice) then convert json in ABAP format then display price in VA01 screen. Could you please recommend your suggestion?

krishnapathak
Автор

There is no audio while the playing your video, can you please provide video along with audio

StupidLostSoul-puxy
Автор

Hi Aneel,
I am able to consume Web service with file but I need to consume it via URL also.
If I try to consume it via URL, it ended with an error message "Exception occurred in communication framework:Error in HTTP Framework:400Bad Request"
I assume that there may be some configuration which I needs to done first in SAP but not sure.
Can you guide on this please?
Thanks

rgbpt
Автор

Nice Video, , Please tell me what is the difference between SAP Web Service and ABAP Proxy?

mohammedzia
Автор

Hi good Videos. I need to pass an APIKEY do you where I can pass it?

Frauen_im_Glauben
Автор

Dear Aneel Munawar, how do i get file ztest_rfc_test.wsdl?

GiangNguyen-tulutula
Автор

REPORT ZTEST111.

DATA: LR_PROXY TYPE REF TO ZTEST11CO_ZTEST_RFC, "ZTEST_RFC,
INPUT TYPE ZTEST_RFC, " WEB SERVICE NAME,
OUTPUT TYPE ZTEST11ZTEST_RFC_RESPONSE CLASS NAME.

INPUT-PERNR = '10155' . "INPUT PARAMETER
CREATE OBJECT lr_proxy
EXPORTING
LOGICAL_PORT_NAME = 'ZPORT1' . " Port Name
CALL METHOD lr_proxy->ZTEST_RFC " Web service name
EXPORTING
INPUT = INPUT
IMPORTING
OUTPUT = OUTPUT.


WRITE OUTPUT-ENAME. "Output Parameter

AneelMunawar