I want to print an error message when some conditions take place so I don't want to allow a save procedure in that case ( sy-ucomm = 'UPD') but when the conditions are checked and all are fullfilled and the user presses the save button, the message is not printed and the program returns to control program and it saves the data.
how to do it ?
hi
good
have you created any message that you want to display after user press the save button.
if yes than use call that message type after you pressing the save button,
if not than create the message type as
MESSAGE MESSAGENAME.
and call that particular message type after the save button you ll get the approprite message.
thanks
mrutyun^
Add a comment