cancel
Showing results for 
Search instead for 
Did you mean: 

sales order

Former Member
0 Kudos

hi friends,

i want to give discount only for first 25 sales order.

how can configure this scenario.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raj

Refer to my solution given earlier, it is very simple settings of condition update.

It will definitely work.

Suppose you want to give material discount (K004),then go to the details of K004 in customising and activate the "Condition update" buttoon check box and save it.

Then create condition record for K004 through transaction code VK31.

Enter the rate of discount, validity , material number and save the condition record.

Go to VK32,in the change mode of the condition record,scroll to the right side and in the column "N" (meant for number of orders), enter value 25 and save the condition record.

Now, the limit is 25 orders you have set.

Due to the :"condtion update" activation, system will accumulate the orders and once it reaches the limit,i.e. 25, then automatically the discount K004 is deactivated from the 26th order.

That means, system will give the discount for the first 25 orders,which is your requirement.

Similarly, you can set the limit in terms of "Condition value" or "Condition base value" instead of "number of orders".

Former Member
0 Kudos

thanks for friends..

now the problem is , i am unable to enter a number( means 25 ) in the field of number of sales order.

thr is by default 1 is coming.this is the only possible entry thr.

where can we configure this "number of orders" in the system???

thanks

raj

Former Member
0 Kudos

Check the Condition Update in the Condition type definition of the relevant condition type

Then miantain record thru VK11 and in additional data , you can specifiy the number of orders.

Standard SAP allows to give number upto 3. So pls work with your ABAP person to increase this number to your required number and then you will get your issue resolved.

Regards

Sai

Answers (5)

Answers (5)

Former Member
0 Kudos

hai

go to with transaction code ovaz and assin your combination lik esales org\dis.channel\dicvision annd sales order

regards

anwar

Former Member
0 Kudos

Hi Raj

Go to your Discount condition type in customising, in the detail screen activate the "Condition update" check box.

Create a condition record in transaction code VK31 ,enter the rate of discount,validity etc and save.

Now again go to the same condition record in change mode VK32, scroll to the right side, you will find a column "N" .

This stand for "Number of orders".

Enter "25" here and save it.

Now when you create sales order system will give discount for the first 25 orders, from 26 th order onwords the discount will be automatically deactivated.

Former Member
0 Kudos

Hi raj,

Switch on Condition update in Condition type MASTERDATA TAB............for that condition type...when you maintainng the records....goto Additional data

In limits for pricing Tab.....Enter Max number of Orders...

Select Discount Condition type you r Requirment will be fullfilled..

Regards

Venky

Former Member
0 Kudos

Hi there,

I would suggest you define the discount as a manual discount as you are giving the discount only to small num of orders 25. The person who is entering the orders will give the discount manually to the 1st 25 orders.

This doesnot require any ABAP development & complicate your process. You are anyway going to meet the 25 orders deadline in just 2 - 3 days in real time. So why do you want to write a code for something that works for just 2 days?

Else if you dont want the manual condition, you have to write a code in the requirement routine of that condition type in the pricing procedure. In the code you have to call the VBAK table. Consider that your irder is ZOR. Then you have to read how many ZOR orders are loaded from the time your project went live. For eg you are cheking the num of ZOR orders from 06th Nov'08. Pass ZOR into AUART (order type) field in VBAK. Give the dates 06th Nov to till date. If num of enteries <=25, only then the discount is applicable. Write a code similar to that.

Explain the requiremnt to the ABAPer. He would be able to help you.

Regards,

Sivanand

Shiva_Ram
Active Contributor
0 Kudos

Hi,

You may need to develop a routine and assign that routine (under requirement column) in the pricing procedure against the condition type.

For alternative methods, check this link,

Regards,