SAP ABAP Data Element CPET_PRCFIX_REF_ROUT (CPE Reference Price Routine for Non-Fixed Quantity)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
Basic Data
Data Element CPET_PRCFIX_REF_ROUT
Short Description CPE Reference Price Routine for Non-Fixed Quantity  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPE_ROUTINE    
Data Type NUMC   Character string with only digits 
Length 7    
Decimal Places 0    
Output Length 7    
Value Table CPEC_ROUTINE    
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 RefPrcRout 
Medium 20 Ref. Price Routine 
Long 40 Reference Routine for Non-Fixed Quantity 
Heading 30 Reference Price Routine 
Documentation

Definition

Defines the price that is referenced for the remaining quantity part.

Use

The routine is technically an implementation of the Business Add-In (BAdI) BADI_CPE_FE_PR_REF_ROUTINE. When called during formula evaluation, it controls the corresponding price that is used or calculated for the non-fixed quantity part.

Dependencies

Example

  • 1: Floating Price
  • 2: Weighted average of entered fixed prices
  • 3: Price of last fixation

Example for a non-fixed quantity

For a sales order item of 1000 TO of copper ore, you define a price fixation option to allow fixation of the price for the entire quantity. You then exercise the price fixation option and fix the price for 600 TO of the originally ordered quantity. The remainder of 400 TO is considered as the non-fixed quantity.

If the delivery quantity deviates from the ordered quantity, for example if there is an overdelivery of 50 TO (total delivered quantity 1050 TO), the non-fixed quantity is changed in all subsequent documents:

Quantity        Value

Ordered Quantity        1000 TO

First Price Fixation Quantity        600 TO

Non-Fixed Quantity        400 TO

Actual Delivery Quantity    1050 TO

Overdelivery        50 TO

Total Non-Fixed        450 TO

The total non-fixed quantity is priced according to the selected reference price routine.

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