Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

function module

Former Member
0 Kudos

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

7 REPLIES 7

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Just try popup_to_inform.Try popup* in se37.

Former Member
0 Kudos

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

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

raymond_giuseppi
Active Contributor
0 Kudos

Try LC_POPUP_TO_CONFIRM_STEP_JNA

regards

Former Member
0 Kudos

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.

Former Member
0 Kudos

use FM POPUP_TO_CONFIRM

otherwise search for Popconfirm in Se37

u wil find a lot of FMs then

amit

SantoshKallem
Active Contributor
0 Kudos

POPUP_TO_CONFIRM

Former Member
0 Kudos
      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
                  .