cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Process Control workflow Debugging Document

Former Member
0 Kudos
248

Hi Team,

Can any of of you kindly provide me a document or cook book on debugging methodologies in PC WFL.

Tx.

Pranjal Saikia

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can place a break point in BADI /SAPSRM/BD_WF_RESP_RESOLVER implementation as there are SAP delivered enhancements implementation based on resolver name.

There are four methods in the BADI

Method GET_AREA_TO_ITEM_MAP is used to map the similar items

Method GET_APPROVERS_BY_AREA_GUID is used to pass the approvers

Method GET_FALLBACK_AGENTS is used to pass the generic user if the actual approver is not available.

Regards,

Arun.

Former Member
0 Kudos

Hey Pranjal

Did you get any help I am also looking for some help in debugging for Process controlled WF

Former Member
0 Kudos

Hi,

The following classes are relevant.

SAPSRM/CL_WF_APV_FACADE 

/SAPSRM/CL_WF_PROCESS_MANAGER

Put debugging point in the relevant methods like

GET_PROCESS_INFO,GET_CURRENT_DECISION in the class SAPSRM/CL_WF_APV_FACADE

for further analysis.

Regards
Jaya

Former Member
0 Kudos

Hi there,

Here you also have some tips for debigging in specific issues:

1724251- Workflow log error:  CREATE_DECISION_SETS cannot be executed

1749991- Workflow Error: Error in resolution of rule 'AC40000138' for step '0000000293'

1625513- Workflow without approval is Awaiting approval status

At class SAPSRM/CL_WF_APV_FACADE  you can debug all process level ( and the process you deliver in case of process config Badi is used).

SAPSRM/CL_WF_PROCESS_MANAGER method DETERMINE_PROCESS_RESTART  to debug the restart.

SAPSRM/CL_WF_PROCESS_MANAGER method GET_RESPONSIBLE_AGENTS and GET_AREA_CONTEXT_TO_ITEM_MAP for RESP_RESOLVER badi results.

Thanks,

Melina