SAP ABAP Class CL_SALV_COLUMNS (All Column Objects)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-ALV (Application Component) SAP List Viewer
     SALV_OM_METADATA (Package) ALV: Meta Data
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 20040219
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SALV_COLUMNS_LIST Columns in List-Type Tables 20040422
2 Inheritance (c INHERITING FROM c_ref)  CL_SALV_COLUMNS_TREE Columns in the Tree Structure 20040422
Properties
Class CL_SALV_COLUMNS  
Short Description All Column Objects    
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_METADATA   ALV: Meta Data 
Created 20040123   SAP 
Last change 20040930   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 CL_SALV_DDIC_APPLY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_SALV_C_BOOL_SAP Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_SALV_COLUMNS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SALV_ADAPTER 20040308 ALV: Basis Class Adapter
2 CL_SALV_CONTROLLER 20040221 ALV: Abstract Controller
3 CL_SALV_DATA_DESCR 20040126 ALV: Using Data to Build the Column Object
4 CL_SALV_SERVICE_LAYOUT_DB 20040308 ALV: Database Layout
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_APPLY_DDIC_BY_COLUMNNAME Constant Public Type reference (TYPE) SALV_DE_CONSTANT CL_SALV_DDIC_APPLY=>C_APPLY_DDIC_BY_COLUMNNAME Use DDIC for Columns of Same Name 20040127
2 C_APPLY_DDIC_BY_DOMAIN Constant Public Type reference (TYPE) SALV_DE_CONSTANT CL_SALV_DDIC_APPLY=>C_APPLY_DDIC_BY_DOMAIN Use DDIC for Columns with Same Domain 20040127
3 C_APPLY_DDIC_BY_ROLLNAME Constant Public Type reference (TYPE) SALV_DE_CONSTANT CL_SALV_DDIC_APPLY=>C_APPLY_DDIC_BY_ROLLNAME Use DDIC for Columns with Same Data Element 20040127
4 OPTIMIZE Instance attribute Protected Type reference (TYPE) SAP_BOOL Optimize Columns 20040123
5 R_TABLE_STRUCTURE Instance attribute Protected Object reference (TYPE REF TO) DATA Structure Description of Output Table 20040211
6 T_COLUMNS Instance attribute Protected Type reference (TYPE) SALV_T_COLUMN_REF Columns of ALV List 20040123
Methods
# Method Level Visibility Method type Description Created on
1 ADD_COLUMN Instance method Protected Method Insert Column 20040308
2 APPLY_DDIC_STRUCTURE Instance method Public Method Copy DDIC Structure to Columns 20040126
3 CLEAR Instance method Protected Method Delete Columns 20040123
4 CONSTRUCTOR Instance method Public Constructor Constructor 20040202
5 GET Instance method Public Method Get Columns 20040309
6 GET_COLUMN Instance method Public Method Get Single Column 20040309
7 GET_COLUMNS_COUNT Instance method Protected Method Number of Columns 20040123
8 GET_COLUMN_POSITION Instance method Public Method Get Column Position 20040721
9 GET_SPECIAL_COLUMNS Instance method Protected Method Get Control Columns 20040201
10 IS_OPTIMIZED Instance method Public Method Check Whether Columns Optimized 20040123
11 IS_SPECIAL_COLUMN Instance method Protected Method Column is a Control Column 20040201
12 IS_SPECIAL_COLUMN_ALLOWED Instance method Protected Method Column is a Control Column 20040329
13 RAISE_COLUMN_EXISTS Instance method Protected Method 20040330
14 RAISE_COLUMN_NOT_FOUND Instance method Protected Method 20040310
15 RAISE_COLUMN_NOT_IN_DATA_TABLE Instance method Protected Method 20040330
16 RAISE_COLUMN_USED_FOR_INFO Instance method Protected Method 20040329
17 RAISE_INVALID_INPUT_TYPE Instance method Protected Method 20040310
18 RAISE_METHOD_ONLY_VALID_FOR Instance method Protected Method 20040609
19 REMOVE_COLUMN Instance method Protected Method Remove column 20040308
20 SET_COLUMN_POSITION Instance method Public Method Set Column Position 20040126
21 SET_OPTIMIZE Instance method Public Method Optimize Columns 20040123
Events
Class CL_SALV_COLUMNS has no event.
Types
Class CL_SALV_COLUMNS has no local type.
Method Signatures

Method ADD_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040308
2 Importing POSITION Call by reference Type reference (TYPE) I 20040308
# Exception Resumable Description Created on
1 CX_SALV_EXISTING ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040330

Method APPLY_DDIC_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLY_METHOD Call by reference Type reference (TYPE) I C_APPLY_DDIC_BY_COLUMNNAME 20040127
2 Importing NAME Call by reference Type reference (TYPE) ANY 20040127

Method APPLY_DDIC_STRUCTURE on class CL_SALV_COLUMNS has no exception.

Method CLEAR Signature

Method CLEAR on class CL_SALV_COLUMNS has no parameter.
Method CLEAR on class CL_SALV_COLUMNS has no exception.

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 20040219
2 Importing R_DATA Call by reference Object reference (TYPE REF TO) DATA 20040211

Method CONSTRUCTOR on class CL_SALV_COLUMNS has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_T_COLUMN_REF Spalten einer ALV Liste 20040309

Method GET on class CL_SALV_COLUMNS has no exception.

Method GET_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040309
2 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_COLUMN Beschreibung einer ALV Spalte 20040309
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND 20040330

Method GET_COLUMNS_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) I 20040123

Method GET_COLUMNS_COUNT on class CL_SALV_COLUMNS has no exception.

Method GET_COLUMN_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040721
2 Returning VALUE Value transfer Type reference (TYPE) I Beschreibung einer ALV Spalte 20040721
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND 20040721

Method GET_SPECIAL_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_T_STRING_COLUMN Spalten Werte 20040201

Method GET_SPECIAL_COLUMNS on class CL_SALV_COLUMNS has no exception.

Method IS_OPTIMIZED Signature

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

Method IS_OPTIMIZED on class CL_SALV_COLUMNS has no exception.

Method IS_SPECIAL_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040201
2 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040201

Method IS_SPECIAL_COLUMN on class CL_SALV_COLUMNS has no exception.

Method IS_SPECIAL_COLUMN_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040329
2 Importing ID Call by reference Type reference (TYPE) STRING 20040329
3 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040329

Method IS_SPECIAL_COLUMN_ALLOWED on class CL_SALV_COLUMNS has no exception.

Method RAISE_COLUMN_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) ANY 20040330
2 Importing METHOD Call by reference Type reference (TYPE) ANY 20040330
# Exception Resumable Description Created on
1 CX_SALV_EXISTING ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040330

Method RAISE_COLUMN_NOT_FOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) ANY 20040310
2 Importing METHOD Call by reference Type reference (TYPE) ANY 20040310
# Exception Resumable Description Created on
1 CX_SALV_NOT_FOUND 20040330

Method RAISE_COLUMN_NOT_IN_DATA_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) ANY 20040330
2 Importing METHOD Call by reference Type reference (TYPE) ANY 20040330
# Exception Resumable Description Created on
1 CX_SALV_DATA_ERROR 20040330

Method RAISE_COLUMN_USED_FOR_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) ANY 20040329
2 Importing INFORMATION Call by reference Type reference (TYPE) ANY 20040329
3 Importing METHOD Call by reference Type reference (TYPE) ANY 20040329
# Exception Resumable Description Created on
1 CX_SALV_DATA_ERROR ALV: Allg. Fehlerklasse (wird bei Syntaxprüfung geprüft) 20040330

Method RAISE_INVALID_INPUT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) ANY 20040310
2 Importing METHOD Call by reference Type reference (TYPE) ANY 20040310
3 Importing TYPE Call by reference Type reference (TYPE) ANY 20040310

Method RAISE_INVALID_INPUT_TYPE on class CL_SALV_COLUMNS has no exception.

Method RAISE_METHOD_ONLY_VALID_FOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing METHOD Call by reference Type reference (TYPE) ANY 20040609
2 Importing T_VALID Call by reference Type reference (TYPE) SALV_T_MODEL_OBJECT Inhalt 20040609

Method RAISE_METHOD_ONLY_VALID_FOR on class CL_SALV_COLUMNS has no exception.

Method REMOVE_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040308

Method REMOVE_COLUMN on class CL_SALV_COLUMNS has no exception.

Method SET_COLUMN_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040126
2 Importing POSITION Call by reference Type reference (TYPE) I 20040126

Method SET_COLUMN_POSITION on class CL_SALV_COLUMNS has no exception.

Method SET_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 IF_SALV_C_BOOL_SAP~TRUE boolsche Variable (X=true, space=false) 20040123

Method SET_OPTIMIZE on class CL_SALV_COLUMNS has no exception.
History
Last changed by/on SAP  20040930 
SAP Release Created in 700