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

function module

Hi experts,

My requirement is after execution of my report i need Pop-up window will have 3 buttons (Yes, No & Cancel) which function module we r going to use help me.

Thanks,

venkat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Posted on Jan 09, 2007 at 08:57 AM

    Hi,

    Just try popup_to_inform.Try popup* in se37.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 08:57 AM

    create a screen in module pool.....and in the condition where u want to call it use :

    call screen<screen no>.......................

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2007 at 08:58 AM

    Try LC_POPUP_TO_CONFIRM_STEP_JNA

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 08:59 AM

    CALL FUNCTION 'POPUP_TO_CONFIRM'

    EXPORTING

    TITLEBAR = 'Confirmation'

    • DIAGNOSE_OBJECT = ' '

    TEXT_QUESTION = 'Do you want to save the document?'

    TEXT_BUTTON_1 = 'YES'

    • ICON_BUTTON_1 = ' '

    TEXT_BUTTON_2 = 'NO'

    • ICON_BUTTON_2 = ' '

    DEFAULT_BUTTON = '1'

    DISPLAY_CANCEL_BUTTON = 'X'

    • USERDEFINED_F1_HELP = ' '

    • START_COLUMN = 25

    • START_ROW = 6

    • POPUP_TYPE =

    • IV_QUICKINFO_BUTTON_1 = ' '

    • IV_QUICKINFO_BUTTON_2 = ' '

    IMPORTING

    ANSWER = G_ANS

    • TABLES

    • PARAMETER =

    EXCEPTIONS

    TEXT_NOT_FOUND = 1

    OTHERS = 2

    .

    IF SY-SUBRC <> 0.

    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    IF G_ANS = '1'.

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 09:10 AM

    use FM POPUP_TO_CONFIRM

    otherwise search for Popconfirm in Se37

    u wil find a lot of FMs then

    amit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2007 at 09:10 AM

    POPUP_TO_CONFIRM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 09:17 AM
          CALL FUNCTION 'POPUP_TO_CONFIRM'
              EXPORTING
    *             TITLEBAR                    = ' '
    *             DIAGNOSE_OBJECT             = ' '
                TEXT_QUESTION                   = 'Do You Want to Save.'
               TEXT_BUTTON_1                    = 'Yes'
    *             ICON_BUTTON_1               = ' '
                TEXT_BUTTON_2                   = 'No'
    *              ICON_BUTTON_2              = ' '
    *             DEFAULT_BUTTON              = '1'
               DISPLAY_CANCEL_BUTTON            = ' '
             IMPORTING
               ANSWER                           = W_SAVE
    *           TABLES
    *             PARAMETER                   =
             EXCEPTIONS
               TEXT_NOT_FOUND              = 1
               OTHERS                      = 2
                      .
    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.