Hi Friends:
I'm using an user exit (include programs) MV50AFZ1. Under the form 'USEREXIT_SAVE_DOCUMENT' I've written some code.
if lips-werks = ' '.
if sy-langu = 'E'.
message E000(zprinoth).
elseif sy-langu = 'F'.
message E001(zprinoth).
endif.
endif.
this code basicall triggers at the time of saving the delivery when the plant is blank. No when the user tries to do a PGI directly from here, it gives the same error which is ok. But when the user presses 'ENTER', then its gives a further error message & throws out of the transaction. PLease help me to resolve it. I want that when user hits enter, he should be able to modify rather than kicked out.
suitable points will be rewarded.
Thanks