sappistepbystep.files.wordpress.com … · web viewsap pi. rfc to web service synchronous...
TRANSCRIPT
![Page 1: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/1.jpg)
SAP PI
RFC to Web Service Synchronous Scenario.
This Steps to be done in Enterprise Service Builder.
Step [1] Click on Create Object Button first, then select Namespace option, provide Name for Namespace & click on Create Button.
(Note: add custom name after this standard format ‘http://sap.com/xi/XI/System/’)
Step [2] Create External Definition for Web Service by doing following steps.
![Page 2: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/2.jpg)
Import XML code of Web Service.
Then, it would create Web service as shown below.
![Page 3: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/3.jpg)
Step [3] Create Service Interface for Web Service by doing following steps.
![Page 4: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/4.jpg)
Step [4] Create 2 Message Mapping for Request & Response by doing following steps.
4.1 Message Mapping For Request.
4.2 Message Mapping For Response.
![Page 5: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/5.jpg)
Step [5] Create Operation Mapping by doing following steps.
![Page 6: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/6.jpg)
Provide Source and Target Service interfaces by F4.
Check Configuration.
This Steps to be done Integration Builder.
![Page 7: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/7.jpg)
Step [6] Create Folder First. Then, Create 2 Business Component by doing following steps.
6.1 Business Component for RFC Sender.
![Page 8: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/8.jpg)
Also, Maintain Adapter-Specific Setting For Sender RFC System.
![Page 9: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/9.jpg)
In this case, Sender RFC System is SAP CRM (CRP 800).
6.2 Business Component for Web Service Receiver.
![Page 10: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/10.jpg)
Step [7] Create Communication Channel for RFC by doing following steps.
![Page 11: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/11.jpg)
Provide SAP PI Details in RFC Server Parameter & Sender RFC System details in RFC Metadata Repository Parameter.
Note: Program ID is the one which is mentioned in RFC as shown in next step.
![Page 12: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/12.jpg)
Step [8] Create TCP/IP Connection type RFC by Transaction ‘SM59’.
Select button Registered Server Program & provide ‘Program ID’ and Gateway details .
![Page 13: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/13.jpg)
Step [9] Create Communication Channel for Web Service by doing following steps.
![Page 14: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/14.jpg)
First Test Web Service in SOAP UI Tool & copy this URL. Put this URL in Communication Channel.
![Page 15: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/15.jpg)
Step [10] Create Receiver Determination by doing following steps.
![Page 16: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/16.jpg)
Step [11] Create Interface Determination by doing following steps.
![Page 17: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/17.jpg)
Step [12] Create Sender Agreement by doing following steps.
![Page 18: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/18.jpg)
Step [13] Create Receiver Agreement by doing following steps.
![Page 19: sappistepbystep.files.wordpress.com … · Web viewSAP PI. RFC to Web Service Synchronous Scenario.. This Steps to be done in Enterprise Service Builder. Step [1] Click on . Create](https://reader035.vdocuments.mx/reader035/viewer/2022071301/60a1e97be4ad0f23bc1c4854/html5/thumbnails/19.jpg)
Test Case
Create program in RFC Sender System.
Output