SAP ABAP Data Element BUSTVALU (Calculate Value Date)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       FREP (Package) RF reporting
Basic Data
Data Element BUSTVALU
Short Description Calculate Value Date  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
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 Value date 
Medium 19 Calculate value dte 
Long 21 Calculate value date 
Heading  
Documentation

Definition

If you activate the parameter "Calculate value date" the following method is used to calculate the average value date:
Using a time interval from day A to day B entered in the program, the value date is calculated by taking the:

  • Difference betweeen B and X (in days) for all documents and their line items per tax code and multiplying this difference by the corresponding tax amount. The resulting amounts are totalled and then divided by the total tax amounts for all documents;
  • The resulting figure represents the weighted number of days relative to day B;
  • The absolute value date is then calculated from day B minus the weighted number of days;

Note the following special cases:

  • If program selections are limited using posting periods, the upper and lower level of the time interval is automatically calculated by the program;
  • If X is smaller than A, X is replaced by (A - 1) (A minus one day)
  • If X is greater than or equal to B, X is replaced by B.
History
Last changed by/on SAP  19971020 
SAP Release Created in