Hi,
You can try below code.
if sy-uname <> is_likp-ernam .
Message 'NOT POSSIBLE' type 'I' .
????????? HOW CAN I Leave the screen?
endif .
if sy-uname <> is_likp-ernam .
Message 'NOT POSSIBLE' type 'I' .
RETURN. " Which will stop processing further.
endif .
if I want to avoid users to change outbound delivery i should use CHANGE_DELIVERY_HEADER but when I do that ,
the system prevents warehouse clerk to creat transfer order for this outbound delivery.
how can i handle that.
For this issue, pls check the below link which might help you.
Thanks
KH