cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.0 WF :N-step approval

0 Kudos

Hi ,

Currently I am trying to create a WF using BRF in SRM 7.0.

Our requirement is as following.

User A : Spending limt 50

Appr C : appr limit 100

Appr D : appr limt 200

Appr E : appr limit 300

When user creates a shopping cart of value > 100 ( e.g 123)

It should go to Approver C and then Approver D for approval . and workflow should end there.

To achieve this we are trying following Schema:

100 RR_Manager 0EV_SC_SL2

200 rr_manager_of_manager 0EV_SC_SL2

300 rr_manager_of_manager 0EV_SC_SL2

999 0EV999

In above design it is determining the manager properly from rr-Manager and manager of manager.

But event 0EV_SC_SL2 is not getting properly. It is not determining the previous approval limit.

and WF is getting through all levels.

Is it problem with satndard 0EV_SC_SL2 ????

Guys, I am not able to proceed further from this point.

Awaiting for some expert comments/suggestion.

Thanks .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ganesh

Create only One process level in this case in the process Schema. . Use BRF Event 0EV_SC_SL2, and use the respective Agent determination BADI

You dont need multiple process levels here, System will automatically create Dynamic Process Levels....

Regards

Virender Singh

0 Kudos

Hi Virender,

Thanks for the qick response.

Can you please give the BADI name / sample code to add agaent if you have ?

That will be really helpful.

Thanks again.

Former Member
0 Kudos

Hi Ganesh

BADI - /SAPSRM/BD_WF_RESP_RESOLVER

Enhancement Spot- /SAPSRM/BD_WF_AGENTS

Enhancement Implementation - /SAPSRM/BD_WF_AGENTS_SC

BADI Implementation - /SAPSRM/BD_WF_SC_RR_MANAGER

Just configure the process schema with only one process level with the event I mentioned earlier, and use RR_MANAGER as the responsible resolver name in the configuration of the process level...

It works this way :

First place the event is triggered and assigns the first SL Approver in the hierarchy.

The BRF Event will then determine whether the First Approver's SL is less than SC Gross Value or not, if yes, it will create another process level automatically and assign the next SL Approver to the process level.

Then third step and so on untill the Last Approver's SL is more than the SC Gross value OR the system is not able to find any further approver despite the value of the cart being more than the last Approver's SL

I hope this clarifies it better.....

Regards

Virender Singh

Former Member
0 Kudos

Hi Virender Singh ,

my name is Bernardo , i'm working with SRM 7.0 Workflow too , and i've understood what you told Ganesh to do, and it is exactly what i want to do. My only doubt is what Process Schema Evaluation ( Evaluation ID) do i have to use so that it can look for this Process Schema Definition .

I would be really thankful if you help me with this issue.

Best Regards

Bernardo Lu-Tsu Ribeiro

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please check the sample process schema 9C_BUS2121_EX03 in the BCSet /SAPSRM/T_SC_600_000_SP04 delivered by SAP.

There is the responsible resolver RR_SPENDING_LIMIT_APPROVER.

Regards,

Masa