cancel
Showing results for 
Search instead for 
Did you mean: 

Process controlled WF - Spending limit approval

Former Member
0 Kudos

Hi,

I have configured the process controlled WF for Spending limit approval.

In the schema i have one approval with completion level (100)

i then have a spending limit approval (200)

The attributes for SLAPPROVE and approval limits have been maintained in Org structure.

Scenario

Employee -


> Requester

Manager -


> Approval limit 1000

Director -


> Approval limit 10000

The problem is even though employee creates a shopping cart for 999 USD both the manager and director are picked up.

In the spending limit process level , i have used the Respon Resolve: RR_SPENDING_LIMIT_APPROVE, EVE ID 0EV_SC_SL3 , Task id TS40007953 and decision type: Entire document.

I have noticed that in the BADI " Process level Config" -


> /SAPSRM/BD_WF_CONFIG_SC_SL -


>CREATE_PROCESS_LEVEL_CONFIG -


> GET_SLAPPROVER_LIST

Line 29 : lv_agent_id = /sapsrm/cl_wf_config_user=>get_spending_limit_approver( lv_agent_id ).

This line pulls the all entire chain based o nthe attribute SLAPPROVE.

Where does this BADI consider the approval limit of the approvers to reduce the above list?

I am getting a bit confused.

Thanks ,

Vignesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Vignesh

Can you tell me the BADI used for this as i am unable to identify.

As well as U have already identified it so can you please tell me the condition for shopping cart limit

Former Member
0 Kudos

Hi Shanky ,

The approval limit will checked by expression such as 0V_SC_PREVAPPROVLIMI , 0V_SC_SPNDNGLMTFRQST 0V_SC_APPROVAL_LIMIT. Hope this will helpful.. please share your requirement.

Best Regards,

Saravanan

Former Member
0 Kudos

clarified by self