Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
ansonabraham
Participant

There are different methods available in ABAP to display messages in a popup window. In this article, one simple method is introduced by using the function module C14Z_MESSAGES_SHOW_AS_POPUP. This function module will accept an internal table populated with messages and will display the same as a popup window.

Calling the function module C14Z_MESSAGES_SHOW_AS_POPUP

CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'

      TABLES

        i_message_tab = itab_messages.

Here the internal table ‘itab_messages’ should be populated with the messages for display.

Structure of the itab_messages internal table

Structure of the itab_messages contains the following 8 fields. We have to populate these fields to display each message in the popup.

MSGID - Message Class

MSGTY - Message Type

MSGNO - Message Number

MSGV1 – Message variable

MSGV2 - Message variable

MSGV3 - Message variable

MSGV4 - Message variable

LINENO – Line number

Popup window  after calling the function module C14Z_MESSAGES_SHOW_AS_POPUP

7 Comments
Labels in this area