After successful initial and delta loads in CRM no BP updates in CRM replicate in ECC.
After creating a BP in ECC via transaction FPP1 (role MKK, account group CUS4, BUPA_MAIN) and replicating in CRM, a BP change in CRM does not replicate back to ECC.
The BDoc message shows that ECC does not have such Business Partner even though it came from ECC. One potential problem I see is the fact that the middleware trace is showing object CUSTOMER_MAIN. I would expect BUPA_MAIN in order to point to BUT000 instead of KNA1.
I also noticed that the extended BDoc message body is showing a BP without leading zeros whereas all other structures don't.
You can create a Custom Function Module and write your own Validations in it .
And this Custom Function Module is called via a BTE(Bussiness Transaction Events)
For Example. Please find the Below notes which I analysed. I have already worked on this kind of Issue. But it is from ECC to CRM.
FM NAME IS BAPI_CRM_SAVE
IN THIS FM THERE IS ANOTHER FM CALL FUNCTION 'CRM_GENERIC_CRM_IN'
the code will stop here once you start debugging LUW of the Inbound queue in SMQ2 if it is from ECC to CRM.
if it is from CRM to ECC. then goto SMQ1 and you can debug the Outbound queue.
Hope this gives a Idea. Thanks
I like what you are suggesting, but in our case there is no CRM outbound queue. What are we going to debug?
As I am battling with BDocs, one of the logs (inbound queue in SID500) is pointing to program
SAP updating and transaction SM13 are described in the SAP Library under: SAP NetWeaver Components -> Application Platform (SAP Web Application Server) -> ABAP Technology -> Client/Server Technology -> -> Updating in the SAP System.
Does this ring any bells?
From your description, I thought BDOCs are coming in CRM but its failed because it it could not find the business partner.
If this one is correct, can you check the configuration whether the number range in CRM is external or internal. It should be External. If it external then customer number in ECC will be same as BP in CRM.