on 08-01-2013 7:36 AM
Hi Guys,
We are using EHP5. We have an approval screen for the supplier (BP) ,At each level of the supplier governance process, there is a close button to close the application. the expectation is after approval, upon clicking close it should close the application.
But we are getting a warning saying that " Unsaved data may get lost. Do you want to continue ?". and after clicking "OK", the application is closed. We tried in all possible ways to understand the problem. But we coudnt.
Any suggestions of where to approach this problem from ?
Thanks,
Karthik
Hello,
In close button, they might have implemented 'IF_FPM_WORK_PROTECTION' or '
IF_FPM_GUIBB_FORM_EXT' interface in which
IF_FPM_GUIBB_FORM/LIST_EXT~NEEDS_CONFIRMATION (method) it might be implementing cl_fpm_confirmation_request=>go_data_loss.
Once check the method.
Thanks
Katrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Check method AFTER_NEEDS_CONFIRMATION in component controller for your FPM based application.
As a second variant you can try to find where is CL_FPM_CONFIRMATION_REQUEST=>GO_DATA_LOSS attribute used (this attribute is used in many places but it can help you).
Also you can try to set break point in method CLASS_CONSTRUCTOR of CL_FPM_CONFIRMATION_REQUEST class. Maybe in your case CL_FPM_CONFIRMATION_REQUEST=>GO_DATA_LOSS attribute is initialized before usage of it (but in my practice I didn't have such situations).
Kind regards, Aliaksandr.
Yeah ur right. The class CL_FPM_CONFIRMATION_REQUEST is getting triggered initially when the application loads and there the text is populated( The form contains unsaved data....... ) but it is only shown upon clicking the close button. FYI, see the screenshot
Here, upon clicking the close button the application should close but it is giving this unwanted warning popup. Also in the feeder class NEEDS_CONFIRMATION is empty.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.