‎2007 Feb 09 6:12 AM
hi,
i am using POPUP_TO_CONFIRM_STEP to get confirmation message.
but here i am getting 'yes' 'no' 'cancel'.for confirmation.But i need function module with only 'yes' and 'no' only is there any function module for this.Pls let me know.
‎2007 Feb 09 6:16 AM
Use the same function module, but pass value for the parameter CANCEL_DISPLAY.
CANCEL_DISPLAY = SPACE
‎2007 Feb 09 6:16 AM
Hi
Use:
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'Confirmation'
DIAGNOSE_OBJECT = ' '
text_question = text_xx
text_button_1 = 'Yes'
icon_button_1 = 'ICON_OKAY'
text_button_2 = 'No'
icon_button_2 = 'ICON_CANCEL'
default_button = '1'
display_cancel_button = ' '
USERDEFINED_F1_HELP = ' '
start_column = 25
start_row = 6
POPUP_TYPE =
IMPORTING
answer = ws_ans.
TABLES
PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
Regards
Subramanian
‎2007 Feb 09 6:17 AM
Use POPUP_to_confirm only
Pass the parameter CANCEL_DISPLAY = SPACE
‎2007 Feb 09 6:18 AM
Hi ,
In the same function module
Pass the parameter CANCEL_DISPLAY = ' ' OR SPACE .
Please reward if useful or use POP_CONTINUE_YES_NO Also.
‎2007 Feb 09 6:18 AM
Ram MOhan,
POPUP_TO_CONFIRM_LOSS_OF_DATA Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.
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
Pls. Mark if useful
‎2007 Feb 09 6:18 AM
plese use POPUP_TO_CONFIRM isnstead of POPUP_TO_CONFIRM_STEP because it is obsolete. there you can do 1 thing cancel button is by default X there just erase that x value and give ''.
regards
shiba dutta
‎2007 Feb 09 6:18 AM
‎2007 Feb 09 6:19 AM
Rammohan,
Use the same Function Module POPUP_TO_CONFIRM_STEP but make the variable CANCEL_DISPLAY = ' ' i.e. blank.
This should suffice your requirement.
Thanks.
‎2007 Feb 09 6:19 AM
hi ram,
pass space to cancel_display.
cancel button wil not be displayed.Try executng in se37.
hpe thishelps u,
keerthi
‎2007 Feb 09 6:19 AM
i am using the version 4.7,when i am using above fm it will give the message itis obselute do not use.is there any other fm to use in 4.7.
‎2007 Feb 09 6:20 AM
Hello,
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
defaultoption = 'Y'
textline1 = saw
textline2 = ' '
titel = sve
start_column = 25
start_row = 6
cancel_display = ' '
IMPORTING
answer = answer.
IF answer = 'J'.
**logic..
....
Regards,
Beejal
**Reward if this helps
‎2007 Feb 09 6:23 AM
Hi,
You can use the function module "POPUP_TO_CONFIRM" by passing the parameters as TEXT_BUTTON_1 as 'Yes' and TEXT_BUTTON_2 as 'NO' and DISPLAY_CANCEL_BUTTON = blank then it will display only Yes and No it wont display cancel.I hope this will solve ur problem.
Reward with points and close the thread if ur prblem solves.
Regards,
Sarath J
‎2007 Feb 09 6:23 AM
In regards, to being obsolete, you can use POPUP_TO_CONFIRM instead.