SAP ABAP Data Element PTRV_OPTIMIZE (Runtime optimization)
Hierarchy
SAP_HRGXX (Software Component) Sub component SAP_HRGXX of SAP_HR
   FI-TV-COS (Application Component) Travel Expenses
     PTRA (Package) Travel Expenses Application Dev. (R/3 Enterprise Core)
Basic Data
Data Element PTRV_OPTIMIZE
Short Description Runtime optimization  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type PTRV_OPTIMIZE    
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 Optimize 
Medium 15 Optimize 
Long 20 Optimize runtime 
Heading 10 Optimize 
Documentation

Definition

List output of trip statistics is subdivided into two areas:

  1. Visible list area

    This part contains all fields that are shown on the screen immediately

    after data selection.

  2. Invisible list area

    This part contains a list of all fields that are not shown on the screen immediately after data selection, but that can be transferred to the visible area at any time by the user (using function: 'Current display variant' in the output list).

During run time of a report, the amount of selected data plays an immense role. If the user never displays the data in the invisible list area, this data is selected from the database unnecessarily and prolongs the total run time of the report. To prevent this unnecessary data selection, run time optimization can be executed:

a) Run time optimization active
If run time optimization is active, only the data in the visible
list area is selected from the database. The fields of the invisible
area are not filled. In this case, the invisible area fields can be
activated in the list, but no data is displayed.

b)Run time optimization not active
If run time optimization is switched off, all data in both the
visible and the invisible areas is selected from the database.
Total run time of the report is longer than with option 'a'.
The fields in the invisible area can be activated in the list and
the relevant data is displayed.

Recommendation:

Execute the report a few times with optimization switched off.
In the list, branch to the function 'Current display variant' and
activate or deactivate the fields that you normally would or would
not want to see.

As soon as you have set up your 'personal' display list, save it
with the function 'Save display variant'.

The next time you start the report, you can enter your personal
variant in the selection screen in the 'Display variant' field.
Now run time optimization should be turned off, so that only the
data that interests you is selected from the database.

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