restriction to delete goods movement data during confirmation thru CO11N
Please let me know how to prevent the user to delete the rows in goods movement screen during confirmation through transaction CO11N ,as users are able to confirm without goods issue by deleting that rows.
Should we contact basis person for the same
You can use BAdI WORKORDER_GOODSMVT, method GM_SCREEN_OKCODE_CHECK.
Just activate the code:
IF I_OKCODE = 'DELE'.
C_ERROR_FLG = 'X'.
In this case, the user will be sent back to the goods movement overview.