on 2014 Jun 25 8:42 AM
I have a requirement to give a popup confirmation window before closing a webdynpro application on browser. Can somebody please help me in this?
Hi Rama and Katrice,
Can you please elaborate the Dirty method through FPM feeder Classes.
Thanks
Syed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shehzad,
Under interface tab of your feeder class implement IF_FPM_WORK_PROTECTION as shown below
In methods tab, you can find method : IF_FPM_WORK_PROTECTION~IS_DIRTY
In that method,Just set EV_DIRTY = abap_true.
PS : The shell-API requires this information as soon as the application state changes.
Therefore, the IF_FPM_WORK_PROTECTION~IS_DIRTY method is called by the FPM runtime during each round-trip.Therefore, it needs to perform this very quickly. Note that the FPM does not necessarily call the method IS_DIRTY on all UIBBs that are currently visible. As soon as one UIBB informs the FPM that it has unsaved data, the FPM does not need to
call the method on the remaining visible UIBBs. For this reason, do not assume
that the IS_DIRTY method is called by the FPM on all visible UIBBs.
Thanks
KH
Hi,
In stand alone application of WD, its not possible to capture the close event of browser. But if your application is running using portal, it is possible to use the DIRTY flag concept.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shehzad,
Browse through the below links which gives you idea and helps you.
FPM Work protect mode (data loss popup)
Thanks
KH
Hi,
Please refer the below link.
Work Protect Mode (SAP Library - Web Dynpro for ABAP)
As suggested by Katrice, search for threads using term "workprotect mode".
Regards,
Rama
Hi Shehzad,
We cannot control the browser button events in webdynpro and hence we cannot show popup window on click of 'X' browser button.
The other work around would be creating button(namely CLOSE) and you can raise the GO_DATA_LOSS popup.
For more information, you can refer this link
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.