I am working in TM in S4 release 2021. Based on external data, I am aiming to set the actual departure date of a freight order stage. I can raise the SET_HANDLING_EXECUTION action of /SCMTMS/TOR~STOP which sets the actual departure date/time to now but I need to set them to a custom value.
So I thought I should be inserting an event via the EXECUTIONINFORMATION node but is there an action to do this or do I just need to insert data? I couldn't find an action.
Or if there's a better way to do all this please let me know. Thanks.
based on your description, I understand you are developing your own logic in this case I would recomment you to use helper /SCMTMS/CL_TOR_HELPER_EVENT=>REPORT_EVENT( ).
The method interface should give you all you need. And internally the helper will handle the proper creation of instances etc.