interval scales - functions and restrictions

4
Page 1 from 4 930537 SAP Note Oct 30, 2014 5 Version Processor new Processing Status Cannot be implemented Implementation Status E Language Interval scales: Functions and restrictions Short Text SD-BF-PR Component Pricing and Conditions Description Symptom Content Overview: 1. What are interval scales? 2. How do I configure interval scales in Customizing? 3. Implementation of interval scales in programs 4. What are the restrictions for interval scales? a) Interval scales and group condition attributes b) Interval scales and manual changes c) Interval scales and exclusion indicators (KZNEP) d) Interval scales and condition supplements 1. What are interval scales? The best way to explain interval scales is to use an example. For a ZDIS discount, for example, a scale with the following scale level s is specified: up to 5 PC 10.00 EUR per 1 PC (level 1) 20 12.00 (level 2) 100 15.00 (level 3) 1000 20.00 (level 4) 999,999,999 30.00 (level 5) You enter a document item with a sales quantity of 140 PC, which results in a condition basis and scale base value of 140 PC (for more information on the quantity conversions that may be required for different units of measure for the sales basis, condition basis and the scale base value, see Note 854978). The scale type determines the outcome: a) If the ZDIS discount is set with scale type 'to-scale', the condition rate of the relevant scale level is used for the entire condi tion basis. In this case, with a scale base value of 140 PC, the condition rate of scale level 4 is EUR 20.00 per 1 PC. In the pricing result, one (single) condition row is set with the ZDIS discount:

Upload: pranshu-rastogi

Post on 25-Sep-2015

217 views

Category:

Documents


3 download

DESCRIPTION

Interval Scales

TRANSCRIPT

  • Page 1 from 4930537SAP Note Oct 30, 20145Version

    Processor

    newProcessing StatusCannot be implementedImplementation Status

    ELanguageInterval scales: Functions and restrictionsShort Text

    SD-BF-PRComponent Pricing and Conditions

    Description

    Symptom

    Content Overview: 1. What are interval scales? 2. How do I configure interval scales in Customizing? 3. Implementation of interval scales in programs 4. What are the restrictions for interval scales? a) Interval scales and group condition attributes b) Interval scales and manual changes c) Interval scales and exclusion indicators (KZNEP) d) Interval scales and condition supplements

    1. What are interval scales?

    The best way to explain interval scales is to use an example. For a ZDIS discount, for example, a scale with the following scale level s is specified:

    up to 5 PC 10.00 EUR per 1 PC (level 1) 20 12.00 (level 2) 100 15.00 (level 3) 1000 20.00 (level 4) 999,999,999 30.00 (level 5)

    You enter a document item with a sales quantity of 140 PC, which results in a condition basis and scale base value of 140 PC (for more information on the quantity conversions that may be required for different units of measure for the sales basis, condition basis and the scale base value, see Note 854978).

    The scale type determines the outcome: a) If the ZDIS discount is set with scale type 'to-scale', the condition rate of the relevant scale level is used for the entire condi tion basis. In this case, with a scale base value of 140 PC, the condition rate of scale level 4 is EUR 20.00 per 1 PC. In the pricing result, one (single) condition row is set with the ZDIS discount:

  • Page 2 from 4930537SAP Note Oct 30, 20145Version

    CType Description Amount Condition value ZDIS Discount 20.00- EUR 1 PC 2,800.00- EUR

    The condition value is that is determined 2,800.00- EUR.

    b) If the ZDIS discount is set with scale type 'To-interval', the relevant condition rate of every individual scale level that overlap s from the scale base value or is partly reached is taken into account. In the pricing result, a corresponding number of condition lin es is set:

    CType Description Amount Condition value ZDIS Discount 10.00- EUR 1 PC 50.00- EUR ZDIS Discount 12.00- EUR 1 PC 180.00- EUR ZDIS Discount 15.00- EUR 1 PC 1,200.00- EUR ZDIS Discount 20.00- EUR 1 PC 800.00- EUR (Scale level 5 was not reached)

    For each individual line (scale level), only your portion of the scale base value is taken into account. This portion is the differenc e between the interval end (or the scale base value for the last scale level achieved*) and the interval start. If you set this portio n in relation to the scale base value, you receive the 'CondFactor' (field KFAKTOR1), which is displayed on the condition detail scree n.

    Interval Start Interval End Portion 'CondFactor' 0 PC 5 PC 5 PC 0.03571 5 PC 20 PC 15 PC 0.10714 20 PC 100 PC 80 PC 0.57143 100 PC 140 PC* 40 PC 0.28571 (Scale level 5 was not reached)

    For each individual line, this 'CondFactor' is included when determining the condition value ("Condition value = Condition basis * Con dfactor * Condition rate").

    In this case, there is a total condition value of EUR 2,230.00- for the four condition lines.

    2. How do I configure interval scales in Customizing?

    In Customizing of the condition type, choose the 'To-interval' specification for the 'Scale type' field (STFKZ) in the 'Scales' block. Unlike the other scale types, you can only define the 'To-interval' in Customizing of the condition type. Furthermore, this definitio n is mandatory. Maintaining the scale type in the master data of a condition record is not an alternative option.

    3. Implementation of interval scales in programs:

    As the scale base value determines the number of lines for a condition type with an interval scale attribute, this condition must be r edetermined (using an automatic condition access) for each action that may affect the scale base value. Therefore, for each scale level, a line with the corresponding condition rate is set in the internal pricing table XKOMV (FORM XKOMV_A

  • Page 3 from 4930537SAP Note Oct 30, 20145Version

    UFBAUEN_AUS_KOMT1, include LV61AA67 >> FORM KONDITIONEN_LESEN, include LV61AA29). If the scale base value is known as part of the condition valuation (FORM XKOMV_BEWERTEN, include LV61AA55), the superfluous lines are deleted from the XKOMV.

    4. What are the restrictions for interval scales? a) Interval scales and group condition attribute:

    A condition type cannot simultaneously have the 'To-interval' and 'Group condition' attributes. If required, the system issues error message VT 622 when you maintain Customizing to notify you of this restriction. Furthermore, it does not make sense to connect the 'Group condition' with the 'To-interval'. Within the scales, the group condition at tribute is used to determine an overall scale base value for all items, which is then used to reach the condition rate of a higher sca le level on the individual document items, if required. This procedure is only useful in connection with a to-scale (or base scale). T he idea of an interval scale would contradict this procedure because the condition rates of the scale levels that overlapped should be treated proportionally for interval scales. b) Interval scales and manual changes: You cannot change the condition rates of interval scales in the document. This is described in detail in Note 414014. c) Interval scales and exclusion indicators (KZNEP): In general, the use of the exclusion indicator KZNEP to exclude a condition type with an interval scale attribute does not work. This is described in detail in Note 836243, section 2. d) Interval scales and condition supplements: You cannot combine interval scales with condition supplements.

    Example: A condition ZZ11 has an interval scale attribute. A condition record of this condition has the condition ZZ22 as a condition supplemen t. The condition ZZ22 itself does not have the interval scale attribute. In this case, the condition ZZ11 is redetermined for a pricing run with pricing type 'A'. Therefore, your condition supplement ZZ22 is also redetermined. However, the condition ZZ22 is also copied from the existing pricing result. In other words, a line with the condi tion supplement ZZ22 is added to the pricing result for each action in the user dialog that involves a pricing run with pricing type ' A'.

    Reason and Prerequisites

    This is due to the design of R/3 pricing.

    Solution

    Note that this is a consultation note. Further inquiries about the function described above are not processed by regular support, but by consulting, and are subject to separate remuneration.

  • Page 4 from 4930537SAP Note Oct 30, 20145Version

    Other terms

    Interval scale, to-interval, scale type, scale level, scale basis, STFKZ, KZBZG, KSTBS, KSTBM, KONMS, KFAKTOR1, KZNEP, KMANU, KOPOS