Change Log variants - How it works in different scenarios
Symptom
Change log variant does not work as expected in some cases . Both ODSR* (activation) and REQ* (upload) requests will be deleted in case
that flag Delete Activation Requests Only, No Load Request as not been set . From the new release this should not be the case. When the Flag is not set
then only the REQ* requests should be deleted, And Incase the flag is set then only ODSR* requests should be deleted.
But in some cases this does not work as expected !!
Causes
If The variant has been saved the last time before the correction of SAP Note 1618423 has been applied.
Before the implementation of the correction the system worked as followed:
- Set the flag: Only ODSR*
requests will be deleted - Set no flag: Both ODSR* and
REQ* requests will be deleted
After the implementation of the correction the system works
as followed:
- Set the flag: Only ODSR*
requests will be deleted - Set no flag: Only REQ*
requests will be deleted
Resolution
If you notice that the variant deletes both REQ* and ODSR* requests, check when the variant has been saved the last time and check when the appropriate
support package containing the corrections of SAP Note 1618423 has been installed.
Additionally it could be useful to check table RSPCVARIANT as in such a case the table contains the following entries:
and the variant looks as follows:
In order to use the improved flexible PSA/Changelog deletion you have to follow the solution of SAP Note 1618423
Extract of this note:
Caution: You have to perform this manual post-implementation step manually and separately in each system after you have imported the Note to implement.
For existing changelog variants for the new settings to work you need to follow the following steps:
- Goto change mode (Edit mode) of the Process variant.
- Make a dummy change and Save.
- Revert the dummy change and Save again.
After applying these steps you should see the following entries in table RSPCVARIANT:
OR
This should behave as expected , So make sure that the correction is in your system.
For any generic issues related to change log variants please refer to the below KBA :
1839146 - Change Log deletion with process chain does not work