on 2022 Jul 28 12:55 PM
We are having the following Use Case:
1) Within SAP MDG only the basic information for our business partners is maintained. This within the role 000000.
2) The business partner is replicated into several S/4HANA Systems. We defined a segment filter in drf for business partner roles so that no role assignment should be replicated.
3) within the target systems additional roles are maintained based on the requirements of specific systems and company codes. For example the role FLCU00 is added with the required information. So in the end the business partner has more roles in the target system than in SAP MDG.
4) Within SAP MDG the general information to the business partner (adress for example) is changed again and replicated. Now we receive the error that role FLCU00 cannot be deleted while it is in use.
We do not want the system to delete the role assignment within the target system, if the role is not assigne in MDG. Is there any option to do the replication without all the roles?
Thanks for your help which is very appreciated!
Regards,
Jason
Request clarification before answering.
In MDG you are creating a BP with role ‘000000’ only. Then it's replicated to a local (S/4-)system. In the local system user adds the customer roles manually.
Now you replicate any change from MDG to the local system. The SOAP payload does not contain the customer roles. -> current state-behavior: no customer role in the payload = delete the roles in target system. This is standard behaviour.
While replicating, Please check by sending CTI Indicator = false for entity "roles".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ajai. Changing the CTI helped.
By the way to change the CTI you implement the BADI MDG_SE_BP_BULK_REPLRQ_OUT.
Within an own class, implement the interface method IF_MDG_SE_BP_BULK_REPLRQ_OUT~OUTBOUND_PROCESSING.
There we added this line of code to set the indicator to false:
out-business_partner-role_list_comp_ind = abap_false.
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.