Tuesday, May 6, 2008

Sample ABAP Program to display pop message to avoid abort

form output_message using p_mess.

* use popup instead of message so selection screen
* is saved
if sy-batch = space.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
exporting
textline1 = p_mess.

else.
MESSAGE E899(bd) WITH p_mess.
endif.
endform. " output_message

No comments:

Blog Archive