Showing results for 
Search instead for 
Did you mean: 

Routine for gross value

Former Member
0 Kudos

Dear All,

last day i got a problem in routine.

the user requirement is that when for a prticular user the net value when increase to 4000/- then our company wants to give a parcentage discount to that customer.

i define a condition type for that & check that if the gross value is greater than then that amount then automatically some % amount will be discount for that customer.

but now the problem is that when the first line item value is greater than 4000 then it working properly but if first line item is not greater than 4000 then is not working.

can u please give any soln for the same , can i write any exit code or it's possible by condition type.

Please advice.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

First u sum up all the item values and then check the condition. All the items exits in TKOMV table in the routine.

Sum up all the values and store it in a variable.

Check if this variable > 4000

then apply required condition.

awrd points if useful