Hello everybody,
I mess about with the subject of work protection and I hope someone can answer my question.
There is a demo web dynpro application called DEMO_PORTAL_WP. Within its Main-View, you can push a button to set the dirty flag which is done by calling method "set_application_dirty_flag" (interface "if_wd_portal_integration").
When running this application within NWBC for HTML, I get a popup warning about unsaved work as expected when navigating somewhere else or even when closing the browser window.
When running this application within an SAP Enterprise Portal, no popup appears at all.
What is to be done to make the portal recognizing the dirty flag and showing the popup?
I already experimented with configuring the epcf service (attributesworkprotect.mode.default, etc), with the result, that an popup appeard in any application, most of the time the popup did not make any sense. I want the application to decide itself, whether there is data worth saving.
Thanks for any help in advance.
Regards
Chris