sappistepbystep.files.wordpress.com … · web viewsap pi. rfc to web service synchronous...
Post on 18-Jan-2021
22 Views
Preview:
TRANSCRIPT
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.
Import XML code of Web Service.
Then, it would create Web service as shown below.
Step [3] Create Service Interface for Web Service by doing following steps.
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.
Step [5] Create Operation Mapping by doing following steps.
Provide Source and Target Service interfaces by F4.
Check Configuration.
This Steps to be done Integration Builder.
Step [6] Create Folder First. Then, Create 2 Business Component by doing following steps.
6.1 Business Component for RFC Sender.
Also, Maintain Adapter-Specific Setting For Sender RFC System.
In this case, Sender RFC System is SAP CRM (CRP 800).
6.2 Business Component for Web Service Receiver.
Step [7] Create Communication Channel for RFC by doing following steps.
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.
Step [8] Create TCP/IP Connection type RFC by Transaction ‘SM59’.
Select button Registered Server Program & provide ‘Program ID’ and Gateway details .
Step [9] Create Communication Channel for Web Service by doing following steps.
First Test Web Service in SOAP UI Tool & copy this URL. Put this URL in Communication Channel.
Step [10] Create Receiver Determination by doing following steps.
Step [11] Create Interface Determination by doing following steps.
Step [12] Create Sender Agreement by doing following steps.
Step [13] Create Receiver Agreement by doing following steps.
Test Case
Create program in RFC Sender System.
Output
top related