SAP ABAP Class CL_SALV_FUNCTIONS (Generic and Application-Specific Functions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-ALV (Application Component) SAP List Viewer
     SALV_OM_FUNCTIONS (Package) ALV: Generic Functions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SALV_METADATA_BASE ALV: Basis Class Meta Data 20040223
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SALV_C_FUNCTION_POSITION ALV: Position of Function in Toolbar 20040216
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SALV_FUNCTIONS_LIST Generic and User-Defined Functions in List-Type Tables 20040416
2 Inheritance (c INHERITING FROM c_ref)  CL_SALV_FUNCTIONS_TREE Generic and User-Defined Functions in Tree Structures 20040416
Properties
Class CL_SALV_FUNCTIONS  
Short Description Generic and Application-Specific Functions    
Super Class CL_SALV_METADATA_BASE ALV: Basis Class Meta Data 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_OM_FUNCTIONS   ALV: Generic Functions 
Created 20040202   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_SALV_C_BOOL_SAP Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_SALV_C_FLAVOUR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 T Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SALV_C_FUNCTION_POSITION ALV: Position of Function in Toolbar 20040216
Friends
# Friend Modeled only Created on Description
1 CL_SALV_CONTROLLER 20040223 ALV: Abstract Controller
2 CL_SALV_MODEL_BASE 20040408 Basis Model for All Table Displays
3 CL_SALV_MODEL_LIST 20040224 Basis Model for All List-Type Table Displays
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ADAPTER_FC_HANDLING Instance attribute Protected Type reference (TYPE) SAP_BOOL IF_SALV_C_BOOL_SAP=>TRUE Boolean Variable (X=True, Space=False) 20040210
2 COUNT_LEFT Instance attribute Protected Type reference (TYPE) INT4 Natural Number 20040206
3 COUNT_RIGHT Instance attribute Protected Type reference (TYPE) INT4 Natural Number 20040206
4 FLAVOUR Instance attribute Protected Type reference (TYPE) SALV_DE_CONSTANT IF_SALV_C_FLAVOUR=>NONE Natural Number 20040209
5 T_FUNCTION Instance attribute Protected Type reference (TYPE) SALV_T_FUNCTION 20040204
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FUNCTION Instance method Public Method Add Function 20040202
2 CONSTRUCTOR Instance method Public Constructor 20040202
3 ENABLE_FUNCTION Instance method Public Method Activate/Deactivate Function 20040203
4 GET_FLAVOUR Instance method Public Method Get Flavor: ALL, DEFAULT, GROUP, SINGLE, NONE 20040227
5 GET_FUNCTIONS Instance method Public Method Get All Functions 20040209
6 GET_GROUP Instance method Protected Method Get Group Function 20040311
7 GET_ITEM Instance method Protected Method Get Single Function 20040210
8 IS_ENABLED Instance method Public Method Check Activation Status of Function 20040213
9 IS_ITEM Instance method Public Method Function Exists 20040322
10 IS_SALV_FUNCTION Instance method Public Method Check Generic ALV Function 20040205
11 IS_VISIBLE Instance method Public Method Check Visibility of Function 20040210
12 REMOVE_FUNCTION Instance method Public Method Remove Function 20040203
13 REMOVE_ITEM Instance method Protected Method Remove Single Function 20040210
14 SET_ADAPTER_FC_HANDLING Instance method Public Method Adapter Has Own Fcode Handling (Toolbar, Status) 20040210
15 SET_ALL Instance method Public Method Activate All Generic ALV Functions 20040202
16 SET_CHANGED Instance method Protected Method Update Controller Change List 20040301
17 SET_COLUMNS_FIXED Instance method Protected Method Context Menu: Fix Columns 20040721
18 SET_COLUMNS_UNFIXED Instance method Protected Method Context Menu: Unfix Columns 20040721
19 SET_COLUMN_INVISIBLE Instance method Protected Method Context Menu: Hide Columns 20040721
20 SET_COLUMN_OPTIMIZE Instance method Protected Method Context Menu: Optimize Columns 20040721
21 SET_F1HELP Instance method Protected Method Internal: Set F1 Help 20040810
22 SET_F2CODE Instance method Protected Method Set Internal F2 Code 20040720
23 SET_F4HELP Instance method Protected Method Internal: Set F4 Help 20040810
24 SET_FUNCTION Instance method Public Method Set Application-Defined Function 20040203
25 SET_FUNCTIONS Instance method Protected Method Set All Functions 20040216
26 SET_INFO Instance method Protected Method Activate Info Function 20040303
27 SET_ITEM Instance method Protected Method Set Single Function 20040210
28 SET_MODE_DESELECT Instance method Protected Method Display Deselection Button 20040301
29 SET_MODE_SELECT Instance method Protected Method Display Selection Button 20040301
30 SET_POPUP_CANCEL Instance method Protected Method Activate Cancel Function in Popup Mode 20040301
31 SET_POPUP_CONTINUE Instance method Protected Method Activate Copy Function in Popup Mode 20040301
Events
Class CL_SALV_FUNCTIONS has no event.
Types
Class CL_SALV_FUNCTIONS has no local type.
Method Signatures

Method ADD_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ICON Call by reference Type reference (TYPE) STRING 20040202
2 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040202
3 Importing POSITION Call by reference Type reference (TYPE) SALV_DE_FUNCTION_POS Funktion Positionierung 20040202
4 Importing TEXT Call by reference Type reference (TYPE) STRING 20040202
5 Importing TOOLTIP Call by reference Type reference (TYPE) STRING 20040202
# Exception Resumable Description Created on
1 CX_SALV_EXISTING ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608
2 CX_SALV_WRONG_CALL ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing R_CONTROLLER Call by reference Object reference (TYPE REF TO) IF_SALV_CONTROLLER_METADATA ALV: abstrakter Controller 20040223

Method CONSTRUCTOR on class CL_SALV_FUNCTIONS has no exception.

Method ENABLE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOOLEAN Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040212
2 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040203
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608
2 CX_SALV_WRONG_CALL ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608

Method GET_FLAVOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040227

Method GET_FLAVOUR on class CL_SALV_FUNCTIONS has no exception.

Method GET_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FUNCTION_LIST Value transfer Type reference (TYPE) SALV_T_UI_FUNC Funktionscodestabelle 20040209

Method GET_FUNCTIONS on class CL_SALV_FUNCTIONS has no exception.

Method GET_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting BOOLEAN Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040614
2 Exporting ENABLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040311
3 Exporting FUNCTION Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040311
4 Importing GROUP Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040311
5 Exporting SALV_FUNCTION Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040311
6 Exporting VISIBLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040311

Method GET_GROUP on class CL_SALV_FUNCTIONS has no exception.

Method GET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting BOOLEAN Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040322
2 Exporting ENABLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210
3 Importing FUNCTION Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
4 Exporting GROUP Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
5 Exporting SALV_FUNCTION Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210
6 Exporting VISIBLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210

Method GET_ITEM on class CL_SALV_FUNCTIONS has no exception.

Method IS_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040213
2 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040213

Method IS_ENABLED on class CL_SALV_FUNCTIONS has no exception.

Method IS_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040322
2 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040322

Method IS_ITEM on class CL_SALV_FUNCTIONS has no exception.

Method IS_SALV_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040205
2 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040205

Method IS_SALV_FUNCTION on class CL_SALV_FUNCTIONS has no exception.

Method IS_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
2 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210

Method IS_VISIBLE on class CL_SALV_FUNCTIONS has no exception.

Method REMOVE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040203
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608
2 CX_SALV_WRONG_CALL ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608

Method REMOVE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FUNCTION Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
2 Returning RETURN Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040608

Method REMOVE_ITEM on class CL_SALV_FUNCTIONS has no exception.

Method SET_ADAPTER_FC_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210

Method SET_ADAPTER_FC_HANDLING on class CL_SALV_FUNCTIONS has no exception.

Method SET_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL IF_SALV_C_BOOL_SAP=>TRUE boolsche Variable (X=true, space=false) 20040202

Method SET_ALL on class CL_SALV_FUNCTIONS has no exception.

Method SET_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHANGE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040301
2 Importing FLAVOUR Call by reference Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040301
3 Importing METHOD Call by reference Type reference (TYPE) STRING 20040301
4 Importing NAME Call by reference Type reference (TYPE) STRING 20040301
5 Importing OBJECT Call by reference Type reference (TYPE) STRING 20040301
6 Importing REFRESH_MODE Call by reference Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040301

Method SET_CHANGED on class CL_SALV_FUNCTIONS has no exception.

Method SET_COLUMNS_FIXED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040721

Method SET_COLUMNS_FIXED on class CL_SALV_FUNCTIONS has no exception.

Method SET_COLUMNS_UNFIXED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040721

Method SET_COLUMNS_UNFIXED on class CL_SALV_FUNCTIONS has no exception.

Method SET_COLUMN_INVISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040721

Method SET_COLUMN_INVISIBLE on class CL_SALV_FUNCTIONS has no exception.

Method SET_COLUMN_OPTIMIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040721

Method SET_COLUMN_OPTIMIZE on class CL_SALV_FUNCTIONS has no exception.

Method SET_F1HELP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040810

Method SET_F1HELP on class CL_SALV_FUNCTIONS has no exception.

Method SET_F2CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040720

Method SET_F2CODE on class CL_SALV_FUNCTIONS has no exception.

Method SET_F4HELP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040810

Method SET_F4HELP on class CL_SALV_FUNCTIONS has no exception.

Method SET_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOOLEAN Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040212
2 Importing NAME Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040203
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608
2 CX_SALV_WRONG_CALL ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040608

Method SET_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FUNCTION_LIST Call by reference Type reference (TYPE) SALV_T_UI_FUNC Funktionscodestabelle 20040216

Method SET_FUNCTIONS on class CL_SALV_FUNCTIONS has no exception.

Method SET_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040303

Method SET_INFO on class CL_SALV_FUNCTIONS has no exception.

Method SET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENABLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210
2 Importing FLAVOUR Call by reference Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040211
3 Importing FUNCTION Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
4 Importing GROUP Call by reference Type reference (TYPE) SALV_DE_FUNCTION ALV Funktion 20040210
5 Returning NEW Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040608
6 Importing SALV_FUNCTION Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210
7 Importing VISIBLE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040210

Method SET_ITEM on class CL_SALV_FUNCTIONS has no exception.

Method SET_MODE_DESELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040301

Method SET_MODE_DESELECT on class CL_SALV_FUNCTIONS has no exception.

Method SET_MODE_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040301

Method SET_MODE_SELECT on class CL_SALV_FUNCTIONS has no exception.

Method SET_POPUP_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040301

Method SET_POPUP_CANCEL on class CL_SALV_FUNCTIONS has no exception.

Method SET_POPUP_CONTINUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040301

Method SET_POPUP_CONTINUE on class CL_SALV_FUNCTIONS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700