cancel
Showing results for 
Search instead for 
Did you mean: 

Condition HB00 and condition base value formula "1"

Former Member
0 Kudos

Hi

I need some clarification about condition base formula u201C1u201D and header condition u201CHB00u201D.

I wanted to review information provided in this document:

[VOFM Formulas|http://www.sap4u.org/media/userfiles/articles/pdf/36.pdf]

I faced some problems in the beginning.

Let me quote the document:


u201ECONDITION BASE VALUE FORMULA 1: VOLUME
Formula '1' uses the volume of the sales document line item as the condition base value.
Example:
A company regularly applies fixed amount header discounts to a sales order. For example, the user may apply a fixed discount of 500 USD to the header of the sales order. Fixed header conditions are always distributed across the line items in the document. In this case, the company would like to distribute the fixed amount based on the volume of the line items. To accomplish this, the user would assign condition base value formula '1' to the header discount condition type in the pricing procedure.u201D

I performed some tests in IDES system (ERP 6.0) for condition HB00 which is being used as fixed amount header discount.

Letu2019s assume I have two products: X and Y

In my test sales order I have:

Item 10 u2013 material X u2013 10 PCu2019s

Item 20 u2013 material Y u2013 50 PCu2019s

Both materials have the same price: 1680 EUR. I have given 100 EUR discount HB00 on header level.

If I am not use any formula I get:

16,73 EUR discount for item 10

83,33 EUR discount for item 20

Its always distributed considering qty (10/60 for item 10 and 50/60 for item 20)

When I assign formula u201C1u201D as u201CBasTypeu201D to HB00 in the pricing procedure (I use RVAA01) I observe following:

0 EUR discount for item 10

Full discount (100 EUR) discount for item 20

Based on this I donu2019t fully understand meaning of the formula u201C1u201D and how it can be used.

In which meaning the term u201Cvolumeu201D is used here? isnu2019t it german equivalent of u201Cmengeu201D (qty) ?

If so:

(1) Why do I need formula if I have standard condition to achieve the same

(2) How can be formula be used

While debugging I observed that statement used in the formula is never true:


  if komp-voleh ne xkomv-kmein and not xkomv-kmein is initial
                               and not komp-voleh is initial.

In this case: xkwert = komp-volum

Could anybody advise me what will be a good example for formula u201C1u201D ?

regards

Rafal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Volume is referred to item level>Shipping>Volume.

If volume is zero for both line items then whole discount will be applied to last item. For more details on volume

press F4 over volume field.

try by changing this volume value and revert.