on 06-16-2006 2:46 AM
Hello,
I have a DELETE button on a screen. When a user clicks on it a pop up window comes up asking to confirm the action.
If the user clicks NO - abort deletion, YES - delete.
How do I define whether to procede with the action or to abort?
Thank you.
Hi Georgy,
Check http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm
IF_WD_WINDOW_MANAGER->CREATE_POPUP_TO_CONFIRM.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim,
This is the exact method that I am using.
However, I do not see parameters that will allow me to set actions for YES and NO buttions.
List of available params is:
TEXT
BUTTON_KIND
MESSAGE_TYPE
CLOSE_BUTTON
WINDOW_TITLE
WINDOW_LEFT_POSITION
WINDOW_TOP_POSITION
WINDOW_POSITION
WINDOW_WIDTH
WINDOW_HEIGHT
RESULT
RESULT is IF_WD_WINDOW type but again nothing is there.
Thank you.
Hi Georgy,
Check https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c... Section "Calling a Confirmation Dialog Box".
Best regards, Maksim Rashchynski.
Hi Maksim,
Thanks for your help.
When I pass an action name to action_name parameter this assumes that the action has already been created.
However, to create an action I need to bind it to an element during design time. Therefore, what is the best way to achieve this?
One solution that I see is to create a dummy invisible button and bind needed action to it.
Would it be a good way to solve the problem?
Thank you.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.