Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SD Pricing

Former Member
0 Kudos

hei all,

please help.

i have these requirement regarding SD pricing.

i have 3 condition type.

cond type ZZCA --> calc type : Fixed amount.

cond type ZZCB --> calc type : fixed amount

cond type ZZZZ --> calc type : quantity

let say: value of cond type ZZCA = 100, then ZZCB 25.

then i want condition rate of ZZZZ (KBETR) will be (ZZCA/ZZCB) --> 100/25 = 4

so, when i made sales order with quantity = 50 PCS, and ZZCA = 100, ZZCB = 25, the value of ZZZZ will be

=(100/25) * 50 PCS

=100$

how we do that? do we have to use routine in VOFM or user exit?

can anyone give me the code for this requirement.

you valuable input will be highly appreciated.

Best Regard,

Hendry

2 REPLIES 2

brad_bohn
Active Contributor
0 Kudos

Yes, you would use a calculation formula created in VOFM for that. The code, of course, depends on your configuration but you'll make it easier by using subtotal fields (6 available by standard, many, many more by configuration/development). There are many examples of calculations in the standard; just take a look at them and implement the logic you've described.

Former Member
0 Kudos

solved