SAP ABAP Data Element RELDHASPROCESSED (Was Subscreen Already Processed?)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX (Application Component) Flexible Real Estate Management
     RE_LD_LD (Package) RE: Logical Databases
Basic Data
Data Element RELDHASPROCESSED
Short Description Was Subscreen Already Processed?  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RECABOOL    
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 Processed? 
Medium 15 Processed? 
Long 20 Processed? 
Heading Prc? 
Documentation

Definition

The logical database REBD provides 5 title elements that can be filled with parameters and selection options in the report used. You must enter the parameters and selection options on subscreens (as per the example program RELDEXAMPLE01). For example, on the first report definition subscreen of the program, if you want to enter your own parameters to appear on subscreen 101, you must set field REPID01 and DYNNR01 in the report as follows:

reldsubscreen-repid01 = sy-repid.

reldsubscreen-dynnr01 = '0101'.

You cannot define the structure RELDSUBSCREEN in the report. You declare it in the selection include of the logical database, which automatically makes it available to the user report.

You can use screen numbers from 100 to 900 in the program.

You can use the RELDSUBSCREEN-HASPROCESSEDnn field to check whether a screen was processed already. The logical database sets this field to ABAP_TRUE as soon as the relevant subscreen is used at least once. This is particularly useful if a subscreen contains required entry fields, because the report must ensure that the screen was processed at least once.

The logical database defines constants, from which the name of the active title element can be extracted. The name of these constants is GC_REBD_LDB_TAB_REPDEFnn. To ensure that required entry fields on subscreen 01 are processed, you can also write the following coding:

AT SELECTION-SCREEN.

*---- Make sure that report parameters are processed

*---- (only if there is at least one obligatory field)

IF reldsubscreen-hasprocessed01 = abap_false AND

( sscrfields-ucomm = 'ONLI' OR sscrfields-ucomm = 'PRIN' ).

rebd_tabs_rep-activetab = gc_rebd_ldb_tab_repdef01.

CLEAR sscrfields-ucomm.

MESSAGE s055(00).

ENDIF.

History
Last changed by/on SAP  20011002 
SAP Release Created in 110