Application Development and Automation 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: 
Read only

function module

Former Member
0 Likes
786

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
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
758

Hi,

Just try popup_to_inform.Try popup* in se37.

Read only

Former Member
0 Likes
758

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

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
758

Try LC_POPUP_TO_CONFIRM_STEP_JNA

regards

Read only

Former Member
0 Likes
758

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.

Read only

Former Member
0 Likes
758

use FM POPUP_TO_CONFIRM

otherwise search for Popconfirm in Se37

u wil find a lot of FMs then

amit

Read only

SantoshKallem
Active Contributor
0 Likes
758

POPUP_TO_CONFIRM

Read only

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