05-10-2006 11:57 AM
Hi Folks,
can you tell me what is the function module to get the POPUP box.
Thanks in Advance,
Lakshmi
05-10-2006 12:01 PM
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.
05-10-2006 11:59 AM
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
05-10-2006 11:59 AM
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
05-10-2006 12:00 PM
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
05-10-2006 12:00 PM
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
05-10-2006 12:00 PM
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
05-10-2006 12:01 PM
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.
05-10-2006 12:01 PM
Hi Vijaya Lakshmi ,
You can use "POPUP_TO_CONFIRM".
Thanks and Regards,
Bharat Kumar Reddy.V
05-10-2006 12:02 PM
Hi,
there are so many FMs for Popups
Eg: POPUP_TO_CONFIRM
what actually you are looking for?
regards
Rakesh
05-10-2006 12:02 PM
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
05-10-2006 12:03 PM
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.
05-10-2006 12:05 PM
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
05-10-2006 12:05 PM
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.
05-10-2006 12:09 PM
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.
05-10-2006 12:17 PM
Hii Vijaya,
if for alv use this function module
'REUSE_ALV_POPUP_TO_SELECT'
hope this helps you.
Thanks & Regards
Naresh
05-10-2006 3:16 PM
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
05-10-2006 3:19 PM
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