SAP ABAP Data Element OIC_FORMPER (Displayed pricing unit for Formula and Average conditions)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       OIC (Package) MAP Marketing, Accounting and Pricing
Basic Data
Data Element OIC_FORMPER
Short Description Displayed pricing unit for Formula and Average conditions  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type KPEIN    
Data Type DEC   Counter or amount field with comma and sign 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Per unit 
Medium 15 Pricing unit 
Long 20 Formula pricing unit 
Heading per 
Documentation

Definition

This field contains the quantity on which the formula rate (price, discount or surcharge) of a Formula & Average condition is based. This field determines which pricing unit is displayed on the condition screen.

Depending on the calculation mode within the Formula & Average module, the value of this field has different implications. The following section describes at which step the evaluation is influenced by the value in this field:

Calculation mode is value based:

  1. The A versus B rule determines the formula value for the formula condition.
  2. The formula rate is calculated from the formula value.
    This field determines which pricing unit is used during the calculation:


    formula rate = formula value / quantity * pricing unit
    in [cuky/(prun*uom)] [cuky] / [uom] * x

Calculation mode is rate based:

  1. The combination cuky_f / prun_f / uom_f of the formula rate determines to which combination the item rates and the term rates are converted.
    This field represents the value of prun_f.
  2. The A versus B rule determines the formula rate from the term rates.
  3. The formula value is calculated from the formula rate.
    This field determines which pricing unit is used during the calculation:


    formula value = formula rate * (quantity / pricing unit)
    in [cuky] [cuky/(prun*uom)] [uom] / x

Default value

If no value is specified, the value '1' is used in both calculation modes during the evaluation. The value '1' will not be saved in the database, but indicated as '0' in display mode.
(This is due to the initial status of the field in the database, which is displayed as '0' for this data type.)

Example

Calculation mode is value based:

The formula pricing unit is 100 (specified in this field).
The formula UoM is KG (specified in the formula UoM field).
The quantity is 3.000 TO (displayed in the condition screen).

The formula value is 100.00 USD (assumed as the result of step 1).

=> The calculated formula rate is 3.33 USD/(100 KG).
    { 100.00 USD / [3.000 TO * 10*(100 KG)/TO] }

Calculation mode is rate based:

The formula pricing unit is 100 (specified in this field).
The formula UoM is KG (specified in the formula UoM field).
The quantity is 3.000 TO (displayed in the condition screen).

The formula rate is 3.33 USD/(100 KG) (assumed as the result of step 2).

=> The calculated formula value is 99.99 USD.
    { 3.33 USD/(100 KG) * [3.000 TO * 10*(100 KG)/TO) }

Note: The above example demonstrates that a formula rate does not correspond to the same formula value in the two different calculation modes.

Procedure

If you want the formula rate to be displayed/calculated in a pricing unit other than '1', enter a different value.

History
Last changed by/on SAP  20050224 
SAP Release Created in