You are on page 1of 5

1/3/22, 12:45 PM How to display messages in a popup window in SAP | SAP Blogs

Community
Follow

Ask a Question
Like Write a Blog Post Login

 RSS Feed

Anson John Abraham


April 9, 2013
| Less than a 1 minute read

How to display messages in a popup


window in SAP
 6  6  50,297

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

https://blogs.sap.com/2013/04/09/how-to-display-messages-in-a-popup-window-in-sap/ 1/5
1/3/22, 12:45 PM How to display messages in a popup window in SAP | SAP Blogs

MSGTY – Message Type

Follow MSGNO – Message Number

MSGV1 – Message variable


 Like
MSGV2 – Message variable

 RSS Feed MSGV3 – Message variable

MSGV4 – Message variable

LINENO – Line number

Popup window  after calling the function module


C14Z_MESSAGES_SHOW_AS_POPUP

Alert Moderator

Assigned Tags

ABAP Development

abap

abap messages

Similar Blog Posts 


Display POPUP Window for Multiple or Range of values in Implicit Enhancement
By
Former Member Nov 20, 2013

ADT: Element Info


By
Michael Gutfleisch Feb 15, 2021

Integrate SCN Community in ADT via RSS Feeds


By
Thomas Fiedler Jan 22, 2014

https://blogs.sap.com/2013/04/09/how-to-display-messages-in-a-popup-window-in-sap/ 2/5
1/3/22, 12:45 PM How to display messages in a popup window in SAP | SAP Blogs

Related Questions 
Follow
Creating pop up window for data display in ALV
By
Former Member Nov 10, 2010

 Like
how to display a popup window
By
Former Member Oct 15, 2008
 RSS Feed
POPUP Window
By
Former Member Jul 27, 2006

Join the Conversation 


SAP TechEd
Tune in for tech talk. Stay for inspiration. Upskill your future.

SAP BTP Learning Group


SAP Business Technology Platform Learning Journeys.

Coffee Corner
Join the new Coffee Corner Discussion Group.

6 Comments

You must be Logged on to comment or reply to a post.

Former Member
April 9, 2013 at 7:17 am

thanks for sharing

Like 0 | Share

Anson Abraham | Blog Post Author


April 9, 2013 at 7:57 am

Welcome Abhishek

https://blogs.sap.com/2013/04/09/how-to-display-messages-in-a-popup-window-in-sap/ 3/5
1/3/22, 12:45 PM How to display messages in a popup window in SAP | SAP Blogs

Like 0 | Share

Follow

 Like
Former Member
April 9, 2013 at 8:17 pm

 RSS
I think Feedto use the module: FINB_BAPIRET2_DISPLAY - compatible parameters with the standard
it's easier
structure BAPIRET2. Example of use: http://sapforum.biz/index.php/topic, 223.msg12061.html #
msg12061

Like 0 | Share

Former Member
April 16, 2013 at 11:13 am

Instead of using these unreleased FMs you can use the standard Application Log to display the log as a
popup.

Refer to the demo programs - SBAL_DEMO_04_POPUP & SBAL_DEMO_04_POPUP_S.

BR,

Suhas

Like 1 | Share

Anson Abraham | Blog Post Author


April 16, 2013 at 11:33 am

Thank you Suhas for providing another method to show popup logs.

Like 0 | Share

Former Member
May 2, 2013 at 5:29 am

BAL_DSP_LOG_DISPLAY >> better

Like 0 | Share

https://blogs.sap.com/2013/04/09/how-to-display-messages-in-a-popup-window-in-sap/ 4/5
1/3/22, 12:45 PM How to display messages in a popup window in SAP | SAP Blogs

Find us on

Follow

Privacy Terms of Use


 Like
Legal Disclosure Copyright

 RSS Feed
Trademark Cookie Preferences

Newsletter Support

https://blogs.sap.com/2013/04/09/how-to-display-messages-in-a-popup-window-in-sap/ 5/5

You might also like