SAP ABAP Data Element W_MAHIT_BAPI (Margin Loss)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-MD-PCT (Application Component) Product Catalog
     WAKT (Package) Application development R/3 Promotions
Basic Data
Data Element W_MAHIT_BAPI
Short Description Margin Loss  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type BAPICURR    
Data Type DEC   Counter or amount field with comma and sign 
Length 23    
Decimal Places 4    
Output Length 30    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name MARGINLOSS   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 MarginLoss 
Medium 15 Margin loss 
Long 20 Margin loss 
Heading 17 Margin loss 
Documentation

Definition

In the calculation of the margin loss, the margin value is first calculated using all price phases with the margin of the first price phase. This means that the system calculates how how the margin value would have been if the merchansidse had been sold in all price phases at the original price. The actual margin value is then subtracted from this value. The result is known as the margin loss.

Margin loss = (SUM (price phase bus. vol.(sales) * Initial margin)) -
(SUM (price phase bus.vol (sales) * price phase margin))

Example

Phase     SalesPrice    Qty     Value     Margin    MargVal.     Margin loss

1     10     1 000     10 000     0.5     5 000     0
2     8     2 000     16 000     0.4     6 400     1 600
3     5     2 000     10 000     0.3     3 000     2 000
                       

Total         5 000     36 000         14 400     3 600

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