Dear Experts.
IF_FPM_WORK_PROTECTION is not working in portal . Which i have re-implemented in my Z-Wdp Component and in IS_DIRTY( ) method, following is the code which i have written.
ev_dirty = abap_true.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
lo_api_component = wd_this->wd_get_api( ).
lo_portal_manager = lo_api_component->get_portal_manager( ).
CALL METHOD lo_portal_manager->set_work_protect_mode
EXPORTING
mode = if_wd_portal_integration=>co_wp_mode_application_only.
lo_portal_manager->set_application_dirty_flag( dirty_flag = ev_dirty ).
The scenario is : I have CANCEL button on my screen. And on click of that button,It is triggering go data loss popup.But on click of OK in that popup, It is giving the below message.
When i click on OK button, Instead of closing the appl'n is it giving the above error.
Thanks
KH