cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping cart approval help

Former Member
0 Kudos

Hi experts.

I have a requirement that the shopping cart approval must be started depending of a custumer field in shopping cart header, so the list of aprovers depend of the customer field.

Ex:

Custumer field = A

Aprover 1 IF value <= 1000,00

Aprover 2 IF value > 1000,01 and <= 5000,00

Aprover 3 IF value > 50000,01

Custumer field = B

Aprover 4 IF value <= 1000,00

Aprover 5 IF value > 1000,01 and <= 5000,00

Aprover 6 IF value > 50000,01

Some help how o create events and expressions to configure it will be welcome

Thanks

Javier

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Javier,

Implement the badi /SAPSRM/BD_WF_RESP_RESOLVER. Determine the agent based on your logic in method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID. Create an area guid and keep item guid /sapsrm/if_wf_process_c=>gc_nil_guid. Implement method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID and fill the rt_approver.

Former Member
0 Kudos

Hi Narendra Nath Tiwari

I am using Process controled workflow, so what about events and expressions to find the customer field and star the process?

Thanks

Javier

Former Member
0 Kudos

Hi,

If you are sure that the custom field will always filled with any value ( A,B,C,D) then , maintain the evaluation id as 0EV000 and implement the badi '/SAPSRM/BD_WF_RESP_RESOLVER'.

Saravanan