使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統

i042416發表於2020-09-29

Below picture is copied from SAP Standard training material CR500 – CRM Middleware: It is possible to leverage CRM XIF Adapter plus SAP PI to replicate the data from CRM to external system.


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


The necessary step to setup configuration in CRM, C4C and PI side could be found from  SAP document. Here below is an example how Opportunity created by CRM WebUI could be replicated to C4C.

(1) Create an Opportunity in CRM:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統 使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


The opportunity is saved with ID 37985. Once saved, check the mBDOC generated via tcode SMW01 in CRM:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


Click button “Show BDoc Msg Erros/Receivers”:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


In my example the site 0LO7ESN points to the target C4C system.


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


(2) Check generated IDOC via tcode WE02 in CRM: specify filter using Basic Type = CRMXIF_ORDER_SAVE_U01 and Partner number = site name got from previous step:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


There is one IDOC found:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


Expand record to see IDOC detail:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


(3) In C4C system, the Opportunity ID generated in CRM is stored as “External ID”:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


The Opportunity created in CRM is displayed in C4C as below:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


Now if you make further changes on the Opportunity in CRM, the delta change will automatically be replicated to C4C as well. In Work center Administration(Beta), view Integration->Web Service Message Monitoring,


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


we can see the inbound web service messages are logged there.


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


Click View->Payload to see message content:


使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

使用SAP PI和XIF Adapter將SAP CRM Opportunity同步到C4C系統


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2724935/,如需轉載,請註明出處,否則將追究法律責任。

相關文章