on 10-14-2009 2:04 PM
Hi,
FPM OIF Application uses several GUIBBs. Is it possilbe to switch on WORK PROTECT mode in order to avoid data loss in case of:
1) Link navigation into another application
2) Browser window close
Best regards
Kamil
is thier any method for feeder classes to prevent data loss. If yes can u please mention the steps??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this works....
Merci
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kamil,
To achieve this, the application must u2018tellu2019 the FPM whether it contains unsaved (u201Cdirtyu201D) data. For this, the FPM provides the Web Dynpro Interface IF_FPM_WORK_PROTECTION. It contains only one method, which is described in the table below:
Method IS_DIRTY
This interface can be implemented by any Web Dynpro component in your application which is known to the FPM (e.g. any UIBB or a shareddata component). At runtime, the FPM will detect all components implementing this interface. If any of these Components signals unsaved data, then the application is marked as u2018dirtyu2019. This application u2018dirtystateu2019 is then passed on by the FPM to the shell (i.e. the portal or the NWBC).
Your application can use the sample code shown below:
Syntax
METHOD is_dirty.
if * component contains unsaved data
ev_dirty = abap_true.
else.
ev_dirty = abap_false.
endif.
ENDMETHOD.
Thanks
Senthil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.