SAP ABAP Data Element SCRFFFLD (Get table field or program field (generic))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SCR (Application Component) Screen Painter
     SCRP (Package) Screen Painter
Basic Data
Data Element SCRFFFLD
Short Description Get table field or program field (generic)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DYNFNAM    
Data Type CHAR   Character String 
Length 132    
Decimal Places 0    
Output Length 132    
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 Name 
Medium 15 Name 
Long 20 Table/Field Name 
Heading 30 Table/Field Name 
Documentation

Definition

(Generic) field name from a Dictionary table or from the program.

In this field, you can specify any of the following:

  • the name of a table defined in the Dictionary
  • a (generic) name for table fields from the Dictionary (in the form "tabname-fieldname")
  • a (generic) name for fields which are defined in the program (report, module pool)

If you specify a table name and press the pushbutton Get from Dictionary, you see a list showing for each table field

  • an input/output template,
  • a short, medium and long field text
  • a header text
  • the field description

In each case, the list contains either one of the text types or the input/output field.
By preselecting, you can specify what is actually displayed. This process also determines the text type and whether an input/output field is to be copied to the screen.

If you do not want to display all the table fields, you can restrict the selection by making a generic entry.

If the table name is preceded by an asterisk "*", the table fields displayed for transfer have a similar prefix, e.g. *T100-SPRSL.

The pushbutton Get from program allows you to request input/output templates for program fields. From the set of fields globally defined in the program (module pool or report), the system gets all those that fit in the field 'Table/program fields'. To do this, it searches in the generated version of the program rather than the last saved version.

By pressing one of the above pushbuttons, you generate a list from which you can select templates or texts for transfer to the screen.

Examples:

  • Table/field name = LFB1 and pushbutton Get from Dictionary
    • gets all fields from the table LFB1
  • Table/field name = T100-S* and pushbutton Get from Dictionary
    • gets all fields beginning with 'S' from the table T100.
  • Table/field name = * and pushbutton Get from program
    • gets all fields from the program
  • Table/field name = ITAB-* and pushbutton Get from prorgam
    • gets all fields in the internal table ITAB from the program.

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