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: 

can you tell me what is the function modue to get POPUP box

Former Member
0 Kudos

Hi Folks,

can you tell me what is the function module to get the POPUP box.

Thanks in Advance,

Lakshmi

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi vijaya,

the fm is POPUP_TO_CONFIRM

there are similar FM's depending on the requirement,

POPUP_TO_CONFIRM_WITH_STEP

POPUP_TO_CONFIRM_WITH_MESSAGE

POPUP_TO_CONFIRM_WITH_VALUE

POPUP_TO_CONFIRM_LOSS_OF_DATA.

HOPE THIS HELPS,

PRIYA.

16 REPLIES 16

Former Member
0 Kudos

Hi vijaya,

Try the funcs,

POPUP_TO_DISPLAY_TEXT

POPUP_TO_CONFIRM

and also search for other func in SE37 giving

popup* you will get more.

Thanks&Regards,

Siri.

Message was edited by: Srilatha T

Former Member
0 Kudos

Hi,

There are many FMs involving a popup, could you be more elaborate about your requirement?

like:

C14A_POPUP_ASK_ADDINF

C14A_POPUP_ASK_DATA_OVERWRITE

C14A_POPUP_ASK_FILE_OVERWRITE

C14A_POPUP_ASK_IMPORT

C14A_POPUP_ASK_OBJID_OVERWRITE

C14A_POPUP_ASK_TO_CONTINUE

C14A_POPUP_ASK_TO_CONTINUE_F4

C14A_POPUP_CANCEL

C14A_POPUP_CONFIRM_AVGEN_START

Regards,

Raj

Former Member
0 Kudos

Hi,

POPUP_FOR_INFORMATION

POPUP_TO_DECIDE_WM

POPUP_TO_FETCH_ONE_VALUE

POPUP_WITH_2_BUTTONS_TO_CHOOSE

POPUP_WITH_3_BUTTONS_TO_CHOOSE

POPUP_TO_DISPLAY_ADD_FIELDS

POPUP_TO_DISPLAY_VALUE

Choose accoridng your requirement. Just search with POPUP in SE37, you will get lot more.

Regards,

Ravi

Note : please mark the helpful answers

Former Member
0 Kudos

Hai use

POPUP_TO_CONFIRM

check the following Code

CONCATENATE 'Send selected spools to the: '

altdest

' Printer.' INTO V_TXTQUES SEPARATED BY SPACE.

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

TITLEBAR = C_TITLEBAR

  • DIAGNOSE_OBJECT = ' '

TEXT_QUESTION = V_TXTQUES

  • TEXT_BUTTON_1 = 'Ja'(001)

  • ICON_BUTTON_1 = ' '

  • TEXT_BUTTON_2 = 'Nein'(002)

  • ICON_BUTTON_2 = ' '

  • DEFAULT_BUTTON = '1'

DISPLAY_CANCEL_BUTTON = ' '

  • USERDEFINED_F1_HELP = ' '

START_COLUMN = 6

START_ROW = 6

  • POPUP_TYPE =

  • IV_QUICKINFO_BUTTON_1 = ' '

  • IV_QUICKINFO_BUTTON_2 = ' '

IMPORTING

ANSWER = D_ANSWER

  • 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 D_ANSWER = '1'.

Thanks & regards

Sreenivasulu P

former_member181962
Active Contributor
0 Kudos

There are popup screens for various purposes.

for what purpose do you wnat a pop up?

Try popup and f4 in se37.

You would find loads of them.

eg:

POPUP_WITH_TABLE_DISPLAY

Regards,

Ravi

Former Member
0 Kudos

hi vijaya,

the fm is POPUP_TO_CONFIRM

there are similar FM's depending on the requirement,

POPUP_TO_CONFIRM_WITH_STEP

POPUP_TO_CONFIRM_WITH_MESSAGE

POPUP_TO_CONFIRM_WITH_VALUE

POPUP_TO_CONFIRM_LOSS_OF_DATA.

HOPE THIS HELPS,

PRIYA.

Former Member
0 Kudos

Hi Vijaya Lakshmi ,

You can use "POPUP_TO_CONFIRM".

Thanks and Regards,

Bharat Kumar Reddy.V

Former Member
0 Kudos

Hi,

there are so many FMs for Popups

Eg: POPUP_TO_CONFIRM

what actually you are looking for?

regards

Rakesh

Former Member
0 Kudos

Hi Lakshmi

for which scenario you requie popup, like overwriting file popup, or user acceptance popup... like many are there..

YOU can try like this. just goto se37, type POPUP and press F4, you will get of list of them , search for your required one, and u can use it.

<i>Hope This Info Helps YOU.</i>

Regards,

Raghav

former_member927251
Active Contributor
0 Kudos

Hi Vijaya,

Refer the code below.

*Popup Message for confirming Contact BP

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

titlebar = lc_text1

text_question = lc_text2

text_button_1 = lc_yes

icon_button_1 = 'ICON_OKAY'

text_button_2 = lc_no

icon_button_2 = 'ICON_CANCEL'

display_cancel_button = ' '

default_button = lc_1

IMPORTING

answer = lv_answer

EXCEPTIONS

text_not_found = 1

OTHERS = 2.

Hope this helps.

Please reward points if it helps and close the thread.

rahulkavuri
Active Contributor
0 Kudos

Are u using the pop up in ALV GRID display, if you are then use this instead of goin for the function module...


    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
       I_CALLBACK_PROGRAM             = SY-REPID
       I_CALLBACK_PF_STATUS_SET       = 'STATUS'
       I_CALLBACK_USER_COMMAND        = 'USER_COMMAND'
       IS_LAYOUT                      = L_LAYOUT
       IT_FIELDCAT                    = IT_FIELDCAT_VBRP
       I_SCREEN_START_COLUMN          = 1
       I_SCREEN_START_LINE            = 1
       I_SCREEN_END_COLUMN            = 100
       I_SCREEN_END_LINE              = 10
*       IT_EVENTS                      =

       TABLES
         T_OUTTAB                       = IT_VBRP

      EXCEPTIONS
        PROGRAM_ERROR                  = 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.

this will give a pop up as we are using

I_SCREEN_START_COLUMN = 1

I_SCREEN_START_LINE = 1

I_SCREEN_END_COLUMN = 100

I_SCREEN_END_LINE = 10

Former Member
0 Kudos

Hi vijaya

<b>POPUP_TO_CONFIRM_LOSS_OF_DATA</b> Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.

<b>POPUP_TO_CONFIRM_STEP</b> Create a dialog box in which you make a question whether the user wishes to perform the step.

POPUP_TO_CONFIRM_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point during an action.

POPUP_TO_CONFIRM_WITH_VALUE Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.

POPUP_TO_DECIDE Provide user with several choices as radio buttons

POPUP_TO_DECIDE_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.

POPUP_TO_DISPLAY_TEXT Create a dialog box in which you display a two line message

POPUP_TO_SELECT_MONTH Popup to choose a month

POPUP_WITH_TABLE_DISPLAY Provide a display of a table for user to select one, with the value of the table line returned when selected.

Regards,

Ranjit Thakur.

Please Mark The Helpful Answer.

Former Member
0 Kudos

Check this one,

  data: answer    TYPE c.
 
  CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
       EXPORTING
            defaultoption = 'N'
            textline1     = "Your question"
            textline2     = "continue the question"
            titel         = ' '
            start_column  = 35
            start_row     = 6
       IMPORTING
            answer        = answer.
  IF answer EQ 'J' OR answer EQ 'Y'.
    l_inact = ' '.
  ELSEIF answer EQ 'N'.
    l_inact = 'X'.
  ELSEIF answer EQ 'A'.
    EXIT.
  ENDIF.
 
REPORT ZPOPUPCONFIRM.
 
DATA: X_ANS(1) TYPE C.
 
call function 'POPUP_TO_CONFIRM_STEP'
exporting
* DEFAULTOPTION = 'Y'
textline1 = 'Do you want to continue'
* TEXTLINE2 = ' '
titel = 'Please Confirm'
* START_COLUMN = 25
* START_ROW = 6
* CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = X_ANS.
 
WRITE: / X_ANS.

*-- End of Program

Refer this thread

Kindly reward points and close the thread, if u have found a solution.

Former Member
0 Kudos

Hii Vijaya,

if for alv use this function module

'REUSE_ALV_POPUP_TO_SELECT'

hope this helps you.

Thanks & Regards

Naresh

Former Member
0 Kudos

Thanks for your answer.

but my requirement is i want pass the below perameters to the POP up Function module

Message type.

message number.

Application.

these also want to get in the popup box(information).

Thanks in Advance.

Lakshmi

0 Kudos

Hi,

In that case what you need to do is to read the message text from T100 table for the given message number / application display the text using one of the POPUP functions.

You probably can use this - POPUP_DISPLAY_TEXT

Regards,

Ravi

Note : please mark all the helpful answers

Message was edited by: Ravikumar Allampallam