on 08-31-2011 3:21 PM
Hello All,
Can you advise me of how to trigger a prompt for unsaved changes of cProjects in the customer tab? If the user hits the refresh button on the browser? It is prompting a pop-up warning message for changes made to the SAP Standard fields in the standard tabs, but not for the custom fields in customer tab. I would greatly appreciate your help if you can advise me on this. Let me know if you need any further clarification.
Regards,
Gopal.
Hi,
just go to the interface IF_WD_PORTAL_INTEGRATION (or the individual methds) in SE80
and click on the button "Where-Used List".
Kind regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I used "PPM" for "SAP Portfolio and Project Management". "SAP Portfolio and Project Management 5.0"
is the unified successor of both "cProjects 4.5" and "SAP RPM 4.5".
Yes, since 4.0, cProjects uses the approach I described.
Kind regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
for usage in portal, you have to use the so-called "work-protect mode" of the portal.
To do so, please check interface IF_WD_PORTAL_INTEGRATION which is used by
PPM.
PPM sets via method SET_WORK_PROTECT_MODE of the interface the work-protect
mode to CO_WP_MODE_APPLICATION_ONLY and informs the portal that there are
unsaved changes by using method SET_APPLICATION_DIRTY_FLAG (and resets it
after the next save).
You can follow the same approach.
Kind regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
You can implement a subsystem, and use methods PREPARE_TO_SAVE.
Please have a look at sample one with standard documentation: CL_DPR_DEMO_SUBSYSTEM
You can copy sample class CL_DPR_DEMO_SUBSYSTEM into a custom one.
Then, the method PREPARE_TO_SAVE will be called by the system at save action.
You can here implement your own logic.
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthias,
Thanks a lot for your reply. I have already implemented the subsystem for saving the custom data on our custom tab. The problem is when the user is accessing the cProjects application through Portal and has done some changes in the custom tab, and the user hits the browser refresh button. It is not prompting the user for saving the unsaved changes! Let me know if you need any further clarification.
Regards,
Gopal.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.