Skip to Content
author's profile photo Former Member
Former Member

pop-up window to display error message

hi all,

how can i show error messages in pop-up window keeping its status as 'e'?

plz help.

rgds,

avijit

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Posted on May 18, 2007 at 09:46 AM

    hi ,

    there are two function modules you need to use :

    BALW_BAPIRETURN_GET2 <-- this is to convert the internal table filled with messages to BAPIRET structure .

    and

    FB_MESSAGES_DISPLAY_POPUP <-- This is to display a popup with all the messages ( error type / info type , etc )

    Reward if helpful !

    Regards,

    Ranjita

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2007 at 09:18 AM

    Hi,

    try with FM <b>POPUP_DISPLAY_MESSAGE</b>

    ---Patil

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi

      but using this fm...

      if we check some condition as if parameter is initial...

      then it displays message but does not place cursor in the error field

      it just leaves to list.....

      could u explain this

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 09:20 AM

    hi

    POPUP_DISPLAY_MESSAGE

    POPUP_WITH_TABLE_DISPLAY_OK

    if helpful, reward

    Sathish.R

    Message was edited by:

    Sathish R

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 09:21 AM

    Hi Avjit,

    You have to create a pop up on ur own as error messages are displayed only on the bottom of the screen. You can try something like this.

    CALL FUNCTION 'POPUP_TO_INFORM'

    EXPORTING

    titel = 'ERROR'

    txt1 = ' Error message'.

    Thanks!

    Anusha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 09:21 AM

    Hi,

    Check this FMs

    POPUP_IMC_MESSAGE

    POPUP_DISPLAY_MESSAGE

    Regards,

    Ranjit Thakur.

    <b>Please Mark The Helpful Answer.</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2007 at 09:26 AM

    Function Module will solve your problem.

    Regards,

    SaiRam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 22 at 05:27 AM

    Hi

    Use this Class [CL14Z_MESSAGES_SHOW_AS_POPUP]to display the Pop-Up Window where ever its required.

    You need to pass few parameters to get this work. sample code is given below.

    CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
      EXPORTING
        i_msgid  = 'ZCL_MSG'  "Message Class from which you want to display the message
        i_msgty  = 'E'   " Type of the message
        i_msgno  = '001' " Message number in message Class
        i_msgv1  = 'ZTest'  " Dynamic value to be displayed in Message
        i_lineno = 1.

    Here the output will look some thing like as follows:

    message-popup-2

    Regards

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.