on 11-27-2014 7:12 AM
hi:all
I'm trying to implement the Work Protect Mode to work in a Netweaver 7.4 Scenario and web dynpro for abap.but it 'failed
I have writed the code in web dynpro for abap and modifyed com.sap.portal.epcf.loader, and setting workprotect.mode.default to 2 in sap protal .
the code in wda:
data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
L_COMPONENTCONTROLLER = WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
call method L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
exporting
MODE = 'BOTH'.
call method L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
exporting
DIRTY_FLAG = abap_true.
how I should to do?
thanks!!
Hi,
You have to set workprotect.mode.default = 3 i.e. display decision popup.
Please refer the below help document
Configuring the EPCF Service - Portal - SAP Library
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:
Thank you for your reply!
I have set workprotect.mode.default = 3 i.e. display decision popup.but it still fail.
I want to know how I need to do?thanks
My step:
I start "SAP NetWeaver Administrator" , navigate to Configuration Management->Infrastructure->Application Modules->com.sap.portal.epcf.loader. ( Configuration steps on SAP EP as a part of NW 7.10 and higher)
image:
and my code in wda of WDDOEXIT
data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
L_COMPONENTCONTROLLER = WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
call method L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
exporting
DIRTY_FLAG = abap_true.
call method L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
exporting
MODE = 'BOTH'.
* mode = 'APPLICATION_ONLY'.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.