cancel
Showing results for 
Search instead for 
Did you mean: 

SC Approval with N Step approver

ruchirmishra
Participant
0 Kudos

Hi,

I am trying to set up BRF for SC with N step approval.

We are using the standard  event 0EV_SC_SL2  (n-Level Output Limit Approval Process).

In Process Schema Evaluation we are using  BUS2121  evaluation id 0EV_SC_SL2

In Process Schema Definition BUS2121    0EV_SC_SL2

In Process level configuration we have 2 levels

Level 100,  Type: Approval;  eval id: 0EV_SC_SL2; Resp Resolver name: RR_SPENDING_LIMIT_APPROVER; task id 40007953

decision type: entire document

Level 999 Type: Automatic (system user);  eval id: 0EV999,  task id 40007988; decision: entire document

We are getting error messages

No active process levels have been found

Process schema not found

No valid approval process found for current document

On checking the SLG1 log the trace is

Currency data type without currency identifier for method PREV_APPROVAL_LIMIT

10 Execute event 0EV_SC_SL2 n-Level Output Limit Approval Process. 09.09.2016 09:34:54

41 Execute expression 0B_SC_SPENDLIMAPPR02 Spending Limit Approval N-Step; result is: =X

51 Execute expression 0V_SC_SPNDNGLMTFRQST Purchase Limit of Requester; result 0.00

61 Execute expression 0C_C1_C_FWFSCRLCNTNT Class: /SAPSRM/CL_WF_RULE_CONTXT_SC; result /SAPSRM/CL_WF_RULE_CONTXT_SC

61 Execute expression 0C_C2_C_SPENDINGLIMI Method: Spending Limit; result SPENDING_LIMIT

51 Execute expression 0V_SC_TOTALVALUE Total Value; result 250.00

63 Execute expression 0C_C1_C_FWFSCRLCNTNT Class: /SAPSRM/CL_WF_RULE_CONTXT_SC; result /SAPSRM/CL_WF_RULE_CONTXT_SC

61 Execute expression 0C_C2_C_GET_PROPERTY Method - Get Atrribute Value; result GET_PROPERTY

61 Execute expression 0C_C3_C_TOTALVALUE Total Value; result TOTALVALUE

51 Execute expression 0V_SC_PREVAPPROVLIMI Approval Limit of the Previous Processor; result 0.0

63 Execute expression 0C_C1_C_FWFSCRLCNTNT Class: /SAPSRM/CL_WF_RULE_CONTXT_SC; result /SAPSRM/CL_WF_RULE_CONTXT_SC

61 Execute expression 0C_C2_C_PREAPPROVLIM Method: Approval Limit of Previous Processor; result PREV_APPROVAL_LIMIT

53 Execute expression 0V_SC_TOTALVALUE Total Value; result 250.00

Can someone suggest what is missing.

Thanks & Regards

R.M.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello Ruchir,

Missing or wrong filter definition for one of the implementation could cause error: No active process levels have been found

Please check your implementations of BADI /SAPSRM/BD_WF_PROCESS_CONFIG, found in SPRO -> Process-Controlled Workflow -> Process Level Configuration.

 

Also, see method /SAPSRM/CL_WF_CONFIGURATION

The sequence for creating process level is:

1) List of process levels is taken for the selected schema and following steps are performed:

2) For each level (parameters: Process schema ID, Resolver_name) is looked up implementation of BADI /SAPSRM/BD_WF_PROCESS_CONFIG.

a) If some BADI implementation's filer matches the parameters, this badi implementation is executed.

b) If no implementation exists, the standard method /SAPSRM/CL_WF_LEVEL_PROVIDER_S for processing of a static step is performed.

The error happens when the system is not able to determine the approval process levels for the Business object.

In your case you are getting this error for the SC's.

Kindly configure the Process or Application (default) controlled WF as per you requirements.

Configuration guides can be found at: https://service.sap.com/srm-inst

Select the SRM version on the left-side panel, and search for configuration guides.

Also, please review the following thread: WorkFlow SRM 7.0 - n-Level Output Limit Approva... | SCN

Regards,

Gilberto Gallardo

ruchirmishra
Participant
0 Kudos

Hello Gilberto,

Thanks for your reply.

This is new set up  that we are doing and there is no custom development done yet.

We want to check the N step approval and show that to  our core users as how the system will behave.

we have not done any implementation in BADI /SAPSRM/BD_WF_PROCESS_CONFIG. what we have is the standard entries as shown below.

I even tried setting up the auto approval but getting the same error messages for that also.

Thanks & Regards

R.M.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ruchir,

If you resolved the issue, Please share the idea which you have implemented.

bcz I am also facing the same issue.

ruchirmishra
Participant
0 Kudos

Hello Brahmaji,

we had resolved the issue. on further checking the issue we found that the setting done was incorrect.

we had used the same FM for determining the schema and also for the  approver. thus we were getting the error.

on keeping different settings we resolved the issue.