Skip to Content
Author's profile photo Steen Hansen

PI Configuration for Web Service Call from C4C to IS-U (ERP) – PART 2

 

 

/wp-content/uploads/2016/08/disc1_1023339.png

 

 

 

This is a continuation from part 1 (LINK).

 

 

4.2 Create Service Interface – CONTINUED

 

 

/wp-content/uploads/2016/08/image051_1022519.png

 

 

/wp-content/uploads/2016/08/image052_1022520.png

 

 

/wp-content/uploads/2016/08/image054_1022521.png

 

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

 

/wp-content/uploads/2016/08/image056_1022522.png

 

 

 

/wp-content/uploads/2016/08/image057_1022523.png

 

/wp-content/uploads/2016/08/image058_1022524.png

 

The naming convention is that ERP_COD is from ERP to C4C. In our case this is the response message back from ERP.

 

 

Click ‘Create’

 

 

/wp-content/uploads/2016/08/image060_1022531.png

 

 

Find source message by selecting:

 

 

/wp-content/uploads/2016/08/image062_1022532.png

 

Select ‘Find Design Object’

 

This open a list view of all Design Objects:

 

 

/wp-content/uploads/2016/08/image064_1022533.jpg

 

Then open SAP_BYD (REMEMBER THIS IS FROM ERP TO C4C) and select ‘External Definitions’:

 

/wp-content/uploads/2016/08/image065_1022534.png

 

Find our object and open this, we see the request and reponse message.

 

/wp-content/uploads/2016/08/image066_1022535.png

 

Select the response message.

 

/wp-content/uploads/2016/08/image067_1022536.png

 

Click ‘Apply’.

 

/wp-content/uploads/2016/08/image068_1022537.png

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:

 

 

/wp-content/uploads/2016/08/image070_1022538.png

 

Select ‘Apply’.

 

/wp-content/uploads/2016/08/image071_1022539.png

 

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:

 

/wp-content/uploads/2016/08/image073_1022540.png

 

And then click on: /wp-content/uploads/2016/08/image075_1022541.png

 

/wp-content/uploads/2016/08/image076_1022542.png

 

/wp-content/uploads/2016/08/image077_1022543.png

 

All nodes are green and mapped.

 

Save and then select ‘Activate’:

 

/wp-content/uploads/2016/08/image079_1022544.png

 

/wp-content/uploads/2016/08/image080_1022545.png

 

At the top right – you will see that the status changed to ‘Active’.

 

Now repeat this with the request message:

 

/wp-content/uploads/2016/08/image083_1022546.jpg

 

The request message flows from C4C to ERP.

 

In the COD_ERP_INT we find the request message:

 

 

/wp-content/uploads/2016/08/image085_1022547.png

 

Select ‘Apply and repeat for ‘Target Message. Here we look for the request message in SAP_BYD:

 

/wp-content/uploads/2016/08/image085_1022547.png

 

Select ‘Apply’

 

 

/wp-content/uploads/2016/08/image086_1022549.png

 

Now repeat marking the top lines and select the mapping icon as before – then the request mapping is also performed.

 

/wp-content/uploads/2016/08/image088_1022551.png

 

Comment:  To verify if communication is going in the right direction – go to ‘Signature’ tab.

 

 

/wp-content/uploads/2016/08/image090_1022552.png

 

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).

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.