in Event Management, we are using custom events such as Z-LOAD and Z-UNLOAD. We want to use them to update the handling execution Status on stop Level. We have assigned a function module to the relevant task. We have maked it work with another function module for the cargo receipt status. It sets the cargo receipt status to picked up with the first load event and to delivered with the delivery event (Z-UNLOAD). But, this one for the handlign execution Status Returns a failed key.
To use the Action, I have done the following coding:
The code is working. It stops at the event, it fills the parameters, but then, it returns a failed key and no error message.
Has someone else used this Action before? I have found another place where it is used and the code simply fills one of the statuses and disable the Event Report. I am doing the same thing. Has someone an idea what is wrong with my coding? I need to resolve this urgently, so your advise or any hint is very welcome.
Thank you in advance
I have used <ls-stop>-key instead of <ls_stop>-Root_key and it works.