cancel
Showing results for 
Search instead for 
Did you mean: 

N- step SC Approval Workflow

Former Member
0 Kudos

Hi Experts,

I'm new to SRM.

We have requirment for N-Level Approvals Sequentially at item based for the SC .

The Approval Level needs to be determined dynamically , by comparing the Total value of the SC with the Approval limit maintined in the Custom Table.The maximum Level of approval is 3.

Example:

Workitem Should be triggered Sequentially.

If the SC has 2 line items .

First Line item

When the Ship-to address is maintained,the Total values of SC - 3000£ and the Line item Value is above threshold value.

Workitem reaches Approver1 - Approved then

Workitem reaches Approver2- Approved then

Workitem reaches Approver3

Second Line item

When the Ship-to address is maintained,the Total values of SC - 3000£ and the Line item Value is below threshold value.

Workitem Shouldnot Trigger.

Questions:

Do i need to maintain 1 or 3 process level at Config?

is it possible to check the Line item value at the Evaluation ID itself by copying the FM /SAPSRM/WF_BRF_0EXP000

, if so how to to know the for which line item(item guid) the Process level is been called?

There are three conditins to be checked for triggering the workitem

1.Ship to party check

2.Total value Sc check

3 Line item value check

Which conditions can be maintinaed in the Evaluation Id?

Which conditions can be maintinaed in the BAdi?

How to Achive the requirmeent.

Please Let me know how to proceed.

Thanks in Advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I got your email.. Here is the answers..

Do i need to maintain 1 or 3 process level at Config? 3 level is maximum or will determine based on SC line item value?

is it possible to check the Line item value at the Evaluation ID itself by copying the FM /SAPSRM/WF_BRF_0EXP000

, if so how to to know the for which line item(item guid) the Process level is been called?

YES

There are three conditins to be checked for triggering the workitem

1.Ship to party check

2.Total value Sc check

3 Line item value check

Which conditions can be maintinaed in the Evaluation Id?

you have to build the logic to consider all these three conditions..

Which conditions can be maintinaed in the BAdi?

once you implement the condition in the evaluation expression then use the same codition in BADI

Former Member
0 Kudos

Hi Saravanan,

Thanks for the response.

Do i need to maintain 1 or 3 process level at Config? 3 level is maximum or will determine based on SC line item value?

The Workflow for the line item should trigger, when the line item value is above the the thersold value.

The Level of approver(1 - 3) shd be determined based on the Total value of the SC comparing with the approver limit maintained in the custom table.

suppose if there are 2 line items in the SC, how to do a check in the Evaluation id for the corresponding line item.

how to get corresponding item Guid in the FM and BAdi.

Please share the Code.

Thanks.