on 07-23-2009 2:04 PM
Hello All,
I have created a user defined field called komp-zzmins. Based on two particular times, I calculate the difference. E.g. 185 mins
This value is also in komp-zzmins in the price determination.
I have a %-rebate condition for a price that has an access sequence which uses zzmins, e.g 90mins:
Access:
10 - Company / Vehicle type / Minutes (zzmins) / Rebate%
20 - Vehicle type / minutes / Rebate%
There are different rebates for different companies/vehicles/number of mins.
I now want to create a condition routine that checks if the value from the sales order (185mins) is greater
than the value in the access sequence (90mins). If it is, then the %-Condition from the access sequence should be allowed.
What would be the best way to get the value from the access sequence in a vofm routine? Is it possible to create
a range in an access sequence?
Regards,
Phil
Hi ,
Assign the new routine in condition in pricing procedure afterwriting a code in routine with the help of abaper.Yes ,we can maintain the ranges in routine and assign it to access sequence.
Regards,
Pasapula.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pasapula,
thankyou for your answer.
I have decided to use the function module SD_COND_ACCESS and loop through the access sequences in table T682i within the VOFM routine and compare this to the calculated number of minutes in the sales order.
Regards,
Phil
*edited for bad spelling
Edited by: Phil Donaldson on Jul 24, 2009 11:25 AM
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.