SAP ABAP Data Element SCRPCOMP (Switch off screen compression at runtime)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SCR (Application Component) Screen Painter
     SCRP (Package) Screen Painter
Basic Data
Data Element SCRPCOMP
Short Description Switch off screen compression at runtime  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SCRPCHA1    
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 Comp. 
Medium 15 Compression 
Long 25 Runtime Compression 
Heading  
Documentation

Definition

When you set the attribute "Switch off runtime compression", the screen is displayed in compressed form at runtime if it contains

  • at least one invisible field (text field, input/output field, graphical element, subscreen, box, ...) or
  • a subscreen area higher than that of the include screen used

Since it should only be necessary to switch off runtime compression of screens in special cases, the default setting is 'on' (i.e. attribute not set).

Screens are compressed according to the following logic:

  • Lines containing at least one invisible field and no visible fields are "deleted", i.e. the line positions of subsequent lines are reduced. The box size is also reduced, if necessary.
  • Boxes which are empty or contain only invisible fields are deleted.
  • Input fields are treated as invisible only if they cannot accept input (i.e. they are inactive). This means that password fields remain.
  • If the height (no. of lines) of an include screen is smaller than the height of the subscreen area in which it is supposed to run, the remaining lines are not compressed.
  • During compression, an include screen is treated as if its fields are on the screen where it is supposed to run.
  • Compression of a box is "object-oriented". This means that a box and its constituent fields are seen as a separate screen and compressed accordingly. The box size is reduced if necessary and the system then attempts to "delete" the compressed lines for the box environment as well.
    Fields which are not next to a box before compression do not appear next to a box after compression.
    Fields which are next to a box before compression appear next to a box after compression; unless the box was compressed "past" these fields.
  • A variable step loop cannot be extended by compression.

History
Last changed by/on SAP  19950221 
SAP Release Created in 740