Deleting the triggers of any planning service using the Trigger service
In SPP there is no cleanup possibility to delete unused triggers. A new PSM service is created that will allow deletion of (unconsumed, unused) triggers.
Trigger deletion PSM service process has been started with the note "1302467 - SPP PSM Service for cleaning up Triggers".
Trigger deletion planning service SPP_TRIGGER_DELETE deletes the triggers only if maintain the trigger-service combination in the customizing SCM Basis. Refer the customizing, SCM Basis -> Data Management Layer -> Triggers -> Configure Triggers -> Define trigger example (SPP_INV_PL_MD_CHANGE) -> Assignment of Services and Attributes to Trigger.
This process was working before applying the note 2029129 - Trigger Group cannot be used for the Trigger Deletion Service.
Once apply note 2029129 code correction, customer do not need to maintain the trigger-service combination in the customizing SCM Basis. Maintain the trigger of any planning service in the trigger group allows to delete the trigger for relevant planning service.
This note will disable the check against the actual planning service especially for the Trigger Deletion Service.
It allows to specify in the trigger group any Planning Service for which triggers should be deleted.
With a trigger group specified in the Planning Profile, the parameter 'Read Trigger First' in the PSM Process Profile becomes an available option.
Related SAP Notes/KBAs
1302467 - SPP PSM Service for cleaning up Triggers
1598559 - Correction to Trigger Deletion PSM Service
2029129 - Trigger Group can not be used for the Trigger Deletion Service