Deactivating Function Codes with the User Exit
Use
Using the user exit EXIT_SAPLLMOB_222, you can deactivate function codes in the delivery header screen.
Procedure
Activate the user exit using the enhancement name MWMRFCOD and clear the output parameter O_ENABLED.
Result
The corresponding button still appears on the delivery header screen, but is deactivated.