I am working on resetting an event in TM as described in https://archive.sap.com/discussions/thread/3713461. The functionality should be like this: If a certain unexpected event is reported, some already reported expected event shall be revoked.
Browsing through the code, I see two possibilities how to do this:
1) Call action REVOKE_EVENT on the event which I want to revoke
2) Report an event of type RECALL_EVENT (which, in the end, will call the same action)
Is there any difference between the two or in which situation should I use which? I can see two points that will make a difference, but I don't grasp them completely:
- On reporting a RECALL_EVENT, some things are executed in /SCMTMS/CL_TOR_A_PROC_EXEC besides the actual revoking of the event
- There is logic in different other places, especially in /SCMTMS/CL_TOR_HELPER_EVENT, that takes account of reported RECALL_EVENT events