This blog will show you step by step how to publish a synchronous webservice for call function in SAP ERP through SAP PO from other system.
On legacy system need to check master data of materials, so need to create a interface to get data from SAP ERP, Parameter input is material number and get reponse detail such as name, unit, sale price unit.
Step 1: Config on ESR
add new folder for objects
Create data type for input
In this case, i created data type as a list for input more than one material number
Create datatype for output
Create MessageType for datatypes
For input message
For output message
Create message mapping for sender and receiver of input flow
Create Message mapping for sender and receiver of output flow
Create Service Interface Sender
Create Service Interface Receiver
Create Operation Mapping
For flow request
For flow response
After config objects in ESR, we will have list objects
In part 2 of this series, I will show you how to config coding on SAP based on objects which were configured on ESR.