SAP Knowledge Base Article
l You find out that your document is stuck in approval. When you check the workflow at bbp_pd you can see that it is in ERROR:
l Upon checking the WFL log ( SWI1/SWI6) you see the error Object /SAPSRM/CL_WF_PROCESS_MGR_SBWF method CREATE_DECISION_SETS:
l SRM7.0 l SRM7.01
1. When the WF-Batch user does not has enough rights; 2. When the Badi resolver name does not return a proper data in the LT_ARE_TO_ITEM_MAP; 3. WhentheBadiorparameterisnotproperconfigured.
l Please make sure that the Wf-Batch has the fallowing profiles:
l If the Wf-batchisok,youcandebugtheissuetodiscoverwhatishappening.
You can find the step Creation decision sets where the error occurs in the WFL log and look for the GUI in the Step container:
Executetheclass/SAPSRM/CL_WF_PROCESS_MGR_SBWF (transaction SE24) and the method CREATE_DECISION_SETS:
1724251 - Workflow log error: CREATE_DECISION_SETS cannot be executed
Version 2 Validity: 11.07.2013 - active Language English
Here put the GUID from the error step container and click on debugging:
Change the sy-unametoWF-Batchuserandgotillthecall CREATE_DECISION_SET and hit F5:
Here enter (F5) on the get_area_context_map:
HereatGet Badi Responsible Resolver you can see the Badi that is called and afterwards the Badi being called:
-> On this case the badi returned the LT_ARE_TO_ITEM_MAP empty, which is wrong and you (customer) should check the Badi implementation.
If the error does not come from this place keep debugging.
Please see also the following KBA which helps in other type of error:
l 1625513 - Workflow without approval is Awaiting approval status - SRM l 1727461 - Approver does not receive Work Item. The error EVALUATE_AGENT_VIA_RULE appears in the WFL log. l 1749991 - Workflow Error: Error in resolution of rule 'AC40000138' for step '0000000293'
LT_ARE_TO_ITEM_MAP, /SAPSRM/CL_WF_PROCESS_MGR_SBWF , CREATE_DECISION_SETS, Wf-Batch
This document refers to:
SAP Knowledge Base Articles
Released On 17.07.2013 17:26:51 Release Status Released to Customer Component SRM-EBP-WFL-PC Process-Controlled Workflow
Priority Normal Category Problem
Product Product Version
SAP Supplier Relationship Management SAP Supplier Relationship Management 7.0SAP Supplier Relationship Management 7.0 on SAP enhancement pack
SAP enhancement package for SAP Supplier Relationship Management SAP enhancement package 1 for SAP Supplier Relationship ManagemeSAP enhancement package 2 for SAP Supplier Relationship Manageme
1749991 Workflow Error: Error in resolution of rule 'AC40000138' for step '0000000293' 1727461 Approver does not receive Work Item. The error EVALUATE_AGENT_VIA_RULE appears in the WFL log. 1625513 Workflow without approval is Awaiting approval status