We have cetain vendors for whom the discounts need to be calculated automatically at the time of outgoing invoice payment.
Transaction MEKE is used for vendor discount condition .
Automatic Discount for Vendor when creating Purchase Order
Transaction M/06
Double click on the Discount Condition you want to set e.g. R003
In the Access Sequence type 0006 - Vendor Discount
Save it and goto Transaction MEKE
Enter the Vendor code you want to set and click execute
Put your cursor on the Vendor Code and click Create
Type in the Discount Rate and save it
for larger vendor discount for larger quantity, click the Scales button
If you create your own condition table, you will not be able to use the standard transaction found in the menu Purchasing -> Master data -> Conditions (excluding Other). Instead, you used the transaction MEK1 (Other Condition) to maintain your condition type.
e.g. Transaction MEKE points to the program RM06K023
In the program RM06K023, double click on the module SAPFM06K
Click Edit -> Search/replace, type in 044 (condition table for vendor)
Tick in program SAPFM06K
You can see that SAP hardcoded the standard condition table for the standard transaction found in the menu Purchasing -> Master data -> Conditions (excluding Other)