PI Configuration for Web Service Call from C4C to IS-U (ERP) – PART 2
This is a continuation from part 1 (LINK).
4.2 Create Service Interface – CONTINUED
Remember here the Category should be ‘Outbound’.
THIS CONCLUDES CONFIGURATION FOR INTERFACE MAPPING
4.3. Message Mapping
OBS: This is done in object: COD_ERP_INT_IC
The naming convention is that ERP_COD is from ERP to C4C. In our case this is the response message back from ERP.
Find source message by selecting:
Select ‘Find Design Object’
This open a list view of all Design Objects:
Then open SAP_BYD (REMEMBER THIS IS FROM ERP TO C4C) and select ‘External Definitions’:
Find our object and open this, we see the request and reponse message.
Select the response message.
On the left we have incoming message and on the right we have to select the target message. Click the icon shown by the red arrow, and the same search box will open as before.
Again search in SAP_BYD and find the response message:
We now have both messages and can start the mapping. We see that the icons are red, because we not performed any mappings yet.
Since we are performing a 1:1 mapping of the field, we can select the header line:
All nodes are green and mapped.
Save and then select ‘Activate’:
At the top right – you will see that the status changed to ‘Active’.
Now repeat this with the request message:
The request message flows from C4C to ERP.
In the COD_ERP_INT we find the request message:
Select ‘Apply and repeat for ‘Target Message. Here we look for the request message in SAP_BYD:
Now repeat marking the top lines and select the mapping icon as before – then the request mapping is also performed.
Comment: To verify if communication is going in the right direction – go to ‘Signature’ tab.
HERE IT IS POSSIBLE TO SEE COMPONENT FOR SOURCE AND TARGET .
Then save and Activate.
THAT CONCLUDES THE MESSAGE MAPPING.
Continues in PART 3 (LINK).