When we replicate the vendor from ECC to CRM, it is creating 2 BDOCS VEND_MAIN anad BUPA_MAIN. The VEND_MAIN is successfully processed and the vendor is replicated in CRM. However the BUPA_MAIN has an error, and this error is causing by the FM in ECC COM_BUPA_MAIN_BP_INBOUND (COM_BUPA_CALL_FU). It seems that the system is trying to create a BP of this vendor in ECC, which we don't want to happen. However if we deactivate this FM, the replication of our BP (sold to party) from CRM to ECC will not work.
I've tried the following but did not work:
1. Filter BUPA_MAIN in R3AC1 using BP role vendor
2. Copy FM BUPA_MWX_BDOC_CREATE_MAIN and suppress the creation of BUPA_MAIN when BP role is vendor
Is there a way to suppress the creation of BUPA_MAIN for vendor?
I think you have both the outbounds activated in ECC system. If you CVI activated in ECC system, then only one outbound is enough. You can deactivate the BP outbound by doing the following steps:
Carry out the following changes in the ERP system:
Table : CRMC_BUT_CALL_FU
ZTPKT : BPOUT
OBJAP : BUPA
XAKTV : X
Now you will see the function module COM_BUPA_MWX_CREATE_MAIN which is
registered for the BP outbound. Deregister this FM by changing the value of XAKTV to blank space. This will deactivate BUPA outbound and stop the error.
I hope this helps.
You can use the Number Range as filter for BPARTNER field.
By definining this filter, you will allow only the real BP that belong to this number range to replicate from CRM to ECC.
Moreover I hope that you did not have attach Vendor Subscription to the ERP site.
This is mentioned in the first description:
" When we replicate the vendor from ECC to CRM, it is creating 2 BDOCS VEND_MAIN anad BUPA_MAIN. The VEND_MAIN is successfully processed and the vendor is replicated in CRM. However the BUPA_MAIN has an error, and this error is causing by the FM in ECC"
So now are you experiencing the error in the Notification bdoc from CRM?
I think this is what is happening: when vendor is replicated from ECC to CRM, it creates the VEND_MAIN and when the business partner is created in CRM, it then creates another BDOC BUPA_MAIN in CRM to upload the bp to ECC. Then in ECC it calls the FM COM_BUPA_MAIN_BP_INBOUND (COM_BUPA_CALL_FU) and then the error hits and returns it back to CRM.
If you are referring to the BUPA_MAIN created as notification, it is never sent back to the same ECC again. The process of notification created out of validation bdoc is to send the same creation to other connected sites apart from where this has originated.
Can you confirm whether the BUPA_MAIN is sent to the same ECC again?
start transaction R3AC1 and select the filter button for the adapter object VEND_MAIN. In change modus select the CRM system as source site. Then set the filters for the field RLTYP of table BUT100. You must enter all roles of all categories as used in PIDV.
Add above mention value it will stop creating addition Bdoc.