on 06-07-2013 11:20 AM
Work protect mode does not seem to work for a pop-up window...unless someone can tell me different?
I tried adding my own message into the WDDOONCLOSE of the window to allow the user continue or cancel...but of course, there is no way to react to that decision and stop the window closing regardless.
Can anyone help?
Hi Clark,
I think, work protect mode should work for popup window as well. Can you try with set_work_protect mode to 'both' and see if any luck..? Before this, set DIRTY_FLAG to TRUE for application.
data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
L_COMPONENTCONTROLLER = WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
call method L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
exporting
MODE = BOTH
Regards,
Madhu Sudhan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have a look at this:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm
Kim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.