Skip to Content
0
Former Member
May 24, 2009 at 06:40 PM

Pricing

23 Views

Dear All,

I am an ABAPER. I was asked to write Routine for Pricing. The following is my requirement:

The graduated scale has been assigned for pricing in Sale order. The scenario is like for a single contract, they fixed the following pricing scales.

0 to 1000 -- 99 USD

1000 to 2000 -- 98 USD

2000 to 3000 -- 97 USD

3000 to 4000 -- 96 USD

4000 to 5000 -- 95 USD

For example, I have created a first sale order (7036) for a material P100; Quantity:1500 EA

Sale Order1 - 7036:

Item -- Material -- Quantity -- Unit

10 -- P100 -- 1500 -- EA

For this item, the price is taking the scale correctly as given in the procedure.

99 * 1000

98 * 500

Now while creating a second sale order for the same material, I have to consider the previous sale orders material for fixing the price.

Sale order2 - 7037:

Item -- Material -- Quantity -- Unit

10 -- P100 -- 1500 -- EA

For this second sale order, the price should calculate as

98 * 500

97 * 1000

Can anyone suggest is it possible to fix pricing scales in the routine for this scenario?