SAP ABAP Data Element SCRFFCOD (Function code for pushbutton)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SCR (Application Component) Screen Painter
     SCRP (Package) Screen Painter
Basic Data
Data Element SCRFFCOD
Short Description Function code for pushbutton  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type GUI_FUNC    
Data Type CHAR   Character String 
Length 20    
Decimal Places 0    
Output Length 20    
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 Fcode 
Medium 10 Fcode 
Long 20 Function code 
Heading FC 
Documentation

Definition

This attribute is only relevant for the following types of screen elements:
Pushbuttons
Tab titles in tabstrip controls
Input/output fields with the "Dropdown box" attribute.

For pushbuttons and tab titles, the field contains the corresponding function code. When you choose the pushbutton or tab title, the function code is placed in the OK_CODE field.

You can assign a function code to an input/output field with the "Dropdown box" attribute, but you do not have to. If you do assign a function code to it, this is placed in the OK_CODE field at the moment when the user chooses an entry from the dropdown list.

The function code, which is no more than four characters long, can end with up to three '%' characters. These percentage characters act as placeholders for pushbuttons used in step loops and table controls. When the user presses a pushbutton in the course of a transaction, the placeholders are replaced by the number of the loop repetition (or the table control line) before the function code is made available.

Example: Suppose the function code of a pushbutton in a step loop
is 'F%%'. If the user presses the pushbutton during the
eighth loop repetition, the system retrieves the function
code 'F08'.

Outside step loops and table controls, the percentage characters '%' are treated like normal valid characters within a function code.

There are no cross-references between the function code of a freely placed pushbutton and the function codes of functions in user interfaces defined with the Menu Painter. The system does not check whether the function codes belong to a particular status.

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