Message Display Function to show your messages
CALL FUNCTION 'MESSAGES_INITIALIZE' . "clear the buffer messages CALL FUNCTION 'MESSAGE_STORE' "add your message EXPORTING arbgb = 'ZO2CUS' msgty = 'E' txtnr = 001 . CALL FUNCTION 'MESSAGES_SHOW' .