Hello,
I am trying to edit two fields in notification header data when I save the associated maintenance order.
For that I'm using user-exit EXIT_SAPLCOIH_009. I am doing some checks in this user-exit and if all is true, I call a Z function in UPDATE TASK that calls FM: BAPI_ALM_NOTIF_DATA_MODIFY and BAPI_ALM_NOTIF_SAVE.
The problem here is that I always get the error message from the first BAPI IM 416 - Notification x locked by user (that's me).
I've tried BADI WORKORDER_UPDATE but the problem remain and already set an WAIT UP TO 2 SECONDS in the top of the update task function.
Can anyone help? Thanks