Symptom
SAP_COM_0028 scenario has been implemented in the system. On deletion of a validity period for a cost center, there is no IDoc being sent out .
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Go to app 'Manage Cost Centers'.
- Choose a cost center with multiple validity periods.
- Delete one of the validity periods, this does not trigger the IDoc out of S4 Hana system.
- Change one of the details in the expired validity periods. This does not trigger the IDoc out of S4.
Cause
Deletion will create a trigger in DRF (data replication framework). But the replication will try read the version of the cost center which is valid today.
Resolution
If the deleted validity period contains the current day, no cost center will be found and nothing is replicated. If the deleted validity period is in the future or past, another validity period will be read and replicated.
The only way is to restrict the validity period to a date in the near future (e.g. today) and to replicate immediately. Deletion into the past is not possible. And if a cost center is completely deleted from the sending system then the deletion will not be replicated.
Keywords
S4_PC, Manage Cost Centers, SAP_COM_0028, COSMAS IDoc, deletion, validity period, replication, S4_1C , KBA , CO-OM-CCA-H , ALE , Problem