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

Popup Message Help

I need a popup message dialog that allows me to do two things, 1. is to enter multiple lines of

text like a text table, and 2. be able to have dialog to allow the user to select yes or no.

Z_POPUP_TEXTLIST2 handles option 1.

POPUP_WITH_2_BUTTONS_TO_CHOOSE handles option 2.

I cannot find a function or method that will allow both.

Anyone have a suggestion?

Thanks

Stephen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 06:26 PM

    Hi

    Check this FM COPO_POPUP_TO_DISPLAY_TEXTLIST

    CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
      EXPORTING
        task       = 'DECIDE'
        titel      = 'TEST POPUP '
      IMPORTING
        function   = g_func
      TABLES
        text_table = it_data.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 06:39 PM

    Hi Avinash,

    That is super close to what I need. Can you modify the buttons to be something other than transfer, etc..???

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 06:28 PM

    Thanks for the suggestion.

    However, that handles option one about using a text table, but I also need it to handle dialog buttons.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2009 at 06:29 PM

    Try Function module.

    POPUP_DISPLAY_TEXT_USER_BUTTON

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 25, 2009 at 06:29 PM

    Try popup_to_confirm.

    Kuntal

    PS: Sorry, suggested FM will not work for you, as you need to input multiple lines.....

    Edited by: Kuntal Nandi on Mar 25, 2009 1:31 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 25, 2009 at 06:33 PM
    CALL FUNCTION 'POPUP_TO_CONFIRM'
        EXPORTING
         titlebar                    = 'Warning!!'  "title
         text_question               = 'Your text here'
         text_button_1               = 'Yes'
         icon_button_1               = 'ICON_OKAY' "buton OK
         text_button_2               = 'NO'
         icon_button_2               = 'ICON_CANCEL' "buton cancel
         default_button              = '2'
    *     display_cancel_button       = 'X'
         start_column                = 25
         start_row                   = 6
       IMPORTING
         answer                      = answer  " catch the user responce
       EXCEPTIONS
         text_not_found              = 1
         OTHERS                      = 2.
    
      IF  answer = '1'.
    ......
    ...
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 06:47 PM

    Thanks for everyone's help.

    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.