on 03-28-2013 1:53 PM
I have a tray on a Web dynpro ABAP screen. If it is clicked (without any other action taking place) and then the browser close button is clicked, we are prompted with an Internet Explorer 'You have unsaved data' message'. I've tried to use the 'l_portal_manager->set_application_dirty_flag' method but the message still appears.
Any ideas?
thanks,
Malcolm
I managed to solve this by implementing OSS Note 1757546.
Thanks for the responses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Usually the method you used handles the message you are getting.
What code have you written in this method?
-Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You tried this code:
data lr_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_APPLICATION_DIRTY_FLAG
exporting
DIRTY_FLAG = ABAP_FALSE
call method L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
exporting
MODE = NONE
Refer this:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm
-Manish
anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.