SAP ABAP Data Element RKE_TR_USEDBAGG (Using Database Aggregation Functions During Callup)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO-PA (Application Component) Profitability Analysis
     KE_DB (Package) Profitability Analysis, database interface
Basic Data
Data Element RKE_TR_USEDBAGG
Short Description Using Database Aggregation Functions During Callup  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FLAG    
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 DB aggreg. 
Medium 15 DB aggregation 
Long 20 DB aggregation 
Heading 10 DB aggreg. 
Documentation

Definition

You use this indicator to specify whether the data should be aggregated (totalled) in the database or not until later on in ABAP.

Having the data aggregated in the database reduces the data volume to be sent to the application server. Generally, it is quicker to aggregate the data while still in the database than it is to aggregate it in the application server.

So why have an indicator?

When the aggregate functions are used, the database requires temporary memory space for building the aggregated data. Depending on the database, the required memory space may be much greater than the basic data. Consequently, the program may have to terminate and produce a short dump with a database error (overloaded disks).

Default

  • Normal build (RKETRERU): Not activated
  • Expert mode (RKETRERV): Activated

Procedure

Proceed as follows:

  1. Leave the use of aggregate functions activated if possible.
  2. If the program terminates due to disk space problems, increase the memory space for temporary data.
  3. If it is not possible to increase the disk space, deactivate the indicator.

History
Last changed by/on SAP  20130529 
SAP Release Created in 46C