Skip to Content
0
Dec 17, 2011 at 10:36 AM

Dump on screen when configuring Process controlled workflow

86 Views

Hi Experts,

I am facing 1 problem in SAP SRM 7 ehp1. I am configuring Process controlled workflow. Previous workflow settings was Application controlled workflow as its been upgraded from SRM 5. If i run a RFX (BUS2200) cycle in application controlled workflow environment, it works flawlessly.

But when i change my workflow framework to process controlled workflow for all Business Objects. I face a dump when I am creating an RFX. The dump on the portal is:

http://dl3803.ltisap.com:8040/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif

DATREF_NOT_ASSIGNED

No access possible via the 'NULL' data reference

Method: PARTICIPATING_IN_ACTIVE_WF of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP

Method: EDIT_DURING_WORKFLOW of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP

Method: /SAPSRM/IF_PDO_META_CONF_BO~GET_BO_HDR_ACTION_METADATA of program /SAPSRM/CL_PDO_META_CONF_PROV=CP

Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ====CP

Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ_ADVCP

Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_HANDLER===CP

Method: UPDATE_ACTIONS of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP

Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP

Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_IDEN_MAP_RFQ=CP

Method: OVERRIDE_LEAVE_INIT_SCREEN of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP

& when i check in st22. I get the dump as:

Category ABAP Programming Error

Runtime Errors DATREF_NOT_ASSIGNED

ABAP Program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP

Application Component SRM-EBP-PD

Date and Time 17.12.2011 15:46:56

and get dump at:

1 method PARTICIPATING_IN_ACTIVE_WF.

2 " this method returns ABAP_TRUE if the logon user has an active work item,

3 " i.e. he participates in an active approval workflow process.

4

5 DATA lv_curr_workitem_id TYPE /sapsrm/wf_workitem_id.

6 DATA lr_process_info TYPE ref to /SAPSRM/S_PDO_WF_PROCESS_INFO.

7

8 " the default:

9 rv_participates_in_active_wf = abap_false.

10

11 " The scenario is not valid for application-controlled workflow:

12 " Any agents who may edit the document (approver and requester)

13 " enter "Edit" mode right-away. No special handling possible.

14 lr_process_info = io_apf_md_context->get_process_info_ref( ).

>>> IF lr_process_info->wf_version NE /sapsrm/if_wf_process_c=>GC_APF_VERSION_0200.

16 return.

17 endif.

18

19 " check if a valid workitem exists

20 lv_curr_workitem_id = io_apf_md_context->get_workitem_id( ).

21 IF lv_curr_workitem_id IS INITIAL.

22 RETURN.

23 ENDIF.

the only configuration I change in the system is I changed the workflow framework to process controlled workflow.

Kindly help.

Thanks

Anand