SAP ABAP Class CL_TABLECONTROL (Wrapper for Table Control Functions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   SV-ASA (Application Component) ASAP (AcceleratedSAP)
     SATT (Package) Attribute Repository for Reference Objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_TABLECONTROL Wrapper for Table Control Functions 20000417
Properties
Class CL_TABLECONTROL  
Short Description Wrapper for Table Control Functions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SATT   Attribute Repository for Reference Objects 
Created 20000417   SAP 
Last change 20000428   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CXTAB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_TABLECONTROL Wrapper for Table Control Functions 20000417
Friends
Class CL_TABLECONTROL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_CHANGED Instance attribute Protected Type reference (TYPE) CHAR1 X = Data Has Been Changed 20000417
2 A_CURSOR_FIELD Instance attribute Private Type reference (TYPE) DYNFNAM Field for SET Cursor 20000417
3 A_CURSOR_LINE Instance attribute Private Type reference (TYPE) I Row for SET Cursor 20000417
4 A_EMPTY_LINES Instance attribute Private Type reference (TYPE) I Number of Empty Rows in Change Mode 20000417
5 A_HIDE Instance attribute Protected Type reference (TYPE) I X = Table Control Not Displayed 20000417
6 A_LOOPC Instance attribute Protected Type reference (TYPE) SYLOOPC Number of Table Control Rows Currently Displayed 20000417
7 A_MODE Instance attribute Protected Type reference (TYPE) C Current Display/Change Mode 20000417
8 A_TC Instance attribute Protected Type reference (TYPE) CXTAB_CONTROL Table Control Structure 20000417
9 A_T_COMMAND Instance attribute Protected Type reference (TYPE) SATT_COMMAND_T Command Chain 20001220
10 A_T_HIDE_FIELDS Instance attribute Protected Type reference (TYPE) TC_FIELD_TAB Hidden Fields of Internal Table 20000417
11 C_LINE_SEL_MODE_MULTI Constant Public Type reference (TYPE) CHAR1 '2' Multiple Row Selection 20001220
12 C_LINE_SEL_MODE_NONE Constant Public Type reference (TYPE) CHAR1 '0' No Row Selection 20001220
13 C_LINE_SEL_MODE_SINGLE Constant Public Type reference (TYPE) CHAR1 '1' Single Row Selection 20001220
14 C_MARK Constant Public Type reference (TYPE) CHAR1 'X' Selection character 20000417
15 C_MODE_CHANGE Constant Public Type reference (TYPE) CHAR1 'C' Change Mode 20000417
16 C_MODE_SHOW Constant Public Type reference (TYPE) CHAR1 'S' Display Mode 20000417
17 OK_DELETE_ROW Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Delete Rows 20000417
18 OK_DESELECT_ALL Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Delete All 20000417
19 OK_FIRST_PAGE Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Goto Start 20000417
20 OK_INSERT_MULTIPLE_LINES Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Insert Several Rows 20000417
21 OK_INSERT_ROW Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Insert Empty Row 20000417
22 OK_LAST_PAGE Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Goto End 20000417
23 OK_NEXT_PAGE Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Page Down 20000417
24 OK_PREVIOUS_PAGE Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Page Up 20000417
25 OK_SELECT_ALL Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Select All 20000417
26 OK_SORT_DOWN Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Sort Descending 20000417
27 OK_SORT_UP Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Sort Ascending 20000417
28 OK_SYSTEM_COPY Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Copy to Buffer 20000417
29 OK_SYSTEM_CUT Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Cut to Buffer 20000417
30 OK_SYSTEM_PASTE Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Insert from Buffer 20000417
31 OK_UNDO Instance attribute Public Type reference (TYPE) SYUCOMM OK Code: Undo 20000417
32 R_TABLE_DATA Instance attribute Protected Object reference (TYPE REF TO) CL_SATT_TC_DATA Data Administration in Table Control 20001220
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20000417
2 GET_CHANGED_FLAG Instance method Private Method Provides Change Indicator 20000417
3 GET_CURSOR_FIELD Instance method Private Method Provides Field and Row for SAT Cursor 20000417
4 GET_CURSOR_INDEX_IN_TC Instance method Private Method Cursor Position in Internal Table 20000417
5 GET_HIDE Instance method Private Method Provides Indicator: Table Control Is Hidden 20000417
6 GET_HIDE_FIELDS Instance method Private Method Provides Hidden Columns 20000417
7 GET_LINE_SELECTION_MODE Instance method Public Method Provides Selection Mode for Table Control Rows 20001220
8 GET_MARKED_COLUMNS Instance method Public Method Returns Selected Columns 20001219
9 GET_MARKED_ROWS Instance method Public Method Provides Selected Entries 20001222
10 GET_MODE Instance method Private Method Provides Processing Mode 20000417
11 GET_VALUES Instance method Public Method Provides Current Table Control Data 20001222
12 GET_VALUE_LINE Instance method Public Method 20000417
13 HIDE_FIELDS Instance method Private Method Hides Specified Fields 20000417
14 PBO Instance method Public Method 20000417
15 SCROLL_FIRST_PAGE Instance method Public Method Goto Start 20001222
16 SCROLL_LAST_PAGE Instance method Public Method Goto Last Page of Table Control 20001222
17 SCROLL_PAGE_DOWN Instance method Public Method Scroll Page Down 20001222
18 SCROLL_PAGE_UP Instance method Public Method Scroll Page Up 20001222
19 SET_CHANGED_FLAG Instance method Public Method Set Changed Indicator 20000417
20 SET_COLUMNS_VISLENGTH Instance method Public Method Set Column Width for Indiviual Fields 20000417
21 SET_CURSOR Instance method Private Method Call SET CURSOR Statement 20000417
22 SET_CURSOR_FIELD Instance method Public Method Set Current Cursor Position 20000417
23 SET_HIDE Instance method Public Method Hide/Show Table Control 20000417
24 SET_INVISIBLE_COLUMNS Instance method Public Method Set View of Columns 20000417
25 SET_MODE Instance method Public Method Set Change/Display Mode 20000417
26 SET_VALUES Instance method Public Method Sets Value for Table Control 20001222
27 SET_VALUE_LINE Instance method Public Method 20000417
28 UPDATE_LINE Instance method Public Method Mix Existing Entries with New Values 20000417
29 USER_COMMAND Instance method Public Method 20000417
Events
Class CL_TABLECONTROL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_MEMENTO_T Private See coding 20001218
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EMPTY_LINES Call by reference Type reference (TYPE) I 15 I_EMPTY_LINES 20000417
2 Importing I_MODE Call by reference Type reference (TYPE) C I_MODE 20000417
3 Importing I_OK_DELETE_ROW Call by reference Type reference (TYPE) SYUCOMM 'SATT14' I_OK_DELETE_ROW 20000417
4 Importing I_OK_DESELECT_ALL Call by reference Type reference (TYPE) SYUCOMM 'SATT02' I_OK_DESELECT_ALL 20000417
5 Importing I_OK_FIRST_PAGE Call by reference Type reference (TYPE) SYUCOMM 'SATT06' I_OK_FIRST_PAGE 20000417
6 Importing I_OK_INSERT_MULTIPLE_LINES Call by reference Type reference (TYPE) SYUCOMM 'SATT12' I_OK_INSERT_MULTIPLE_LINES 20000417
7 Importing I_OK_INSERT_ROW Call by reference Type reference (TYPE) SYUCOMM 'SATT13' I_OK_INSERT_ROW 20000417
8 Importing I_OK_LAST_PAGE Call by reference Type reference (TYPE) SYUCOMM 'SATT09' I_OK_LAST_PAGE 20000417
9 Importing I_OK_NEXT_PAGE Call by reference Type reference (TYPE) SYUCOMM 'SATT08' I_OK_NEXT_PAGE 20000417
10 Importing I_OK_PREVIOUS_PAGE Call by reference Type reference (TYPE) SYUCOMM 'SATT07' I_OK_PREVIOUS_PAGE 20000417
11 Importing I_OK_SELECT_ALL Call by reference Type reference (TYPE) SYUCOMM 'SATT01' I_OK_SELECT_ALL 20000417
12 Importing I_OK_SORT_DOWN Call by reference Type reference (TYPE) SYUCOMM 'SATT10' I_OK_SORT_DOWN 20000417
13 Importing I_OK_SORT_UP Call by reference Type reference (TYPE) SYUCOMM 'SATT11' I_OK_SORT_UP 20000417
14 Importing I_OK_SYSTEM_COPY Call by reference Type reference (TYPE) SYUCOMM 'SATT04' I_OK_SYSTEM_COPY 20000417
15 Importing I_OK_SYSTEM_CUT Call by reference Type reference (TYPE) SYUCOMM 'SATT03' I_OK_SYSTEM_CUT 20000417
16 Importing I_OK_SYSTEM_PASTE Call by reference Type reference (TYPE) SYUCOMM 'SATT05' I_OK_SYSTEM_PASTE 20000417
17 Importing I_OK_UNDO Call by reference Type reference (TYPE) SYUCOMM 'SATT15' I_OK_UNDO 20000417
18 Importing I_TABLE_DATA Call by reference Object reference (TYPE REF TO) CL_SATT_TC_DATA Datenverwaltung im Tablecontrol 20001227
19 Importing I_TC Call by reference Type reference (TYPE) CXTAB_CONTROL Tablecontrol 20000417
# Exception Resumable Description Created on
1 CANCELED CANCELED 20000417
2 ERROR ERROR 20000417

Method GET_CHANGED_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_CHANGED Value transfer Type reference (TYPE) CHAR1 Änderungsflag 20000417

Method GET_CHANGED_FLAG on class CL_TABLECONTROL has no exception.

Method GET_CURSOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FIELD Call by reference Type reference (TYPE) DYNFNAM Feld für SET Cursor 20000417
2 Exporting E_LINE Call by reference Type reference (TYPE) I Zeile für SET Cursor 20000417

Method GET_CURSOR_FIELD on class CL_TABLECONTROL has no exception.

Method GET_CURSOR_INDEX_IN_TC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_INDEX Value transfer Type reference (TYPE) SYTABIX Index der Tabellenzeile, die der Cursorposition entspicht 20000417
# Exception Resumable Description Created on
1 NOT_IN_CONTROL Cursor steht nicht im Control 20000417

Method GET_HIDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_HIDE Value transfer Type reference (TYPE) CHAR1 E_HIDE 20000417

Method GET_HIDE on class CL_TABLECONTROL has no exception.

Method GET_HIDE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_HIDE_FIELDS Call by reference Type reference (TYPE) TC_FIELD_TAB Tabelle mit ausgeblendeten Feldern 20000417

Method GET_HIDE_FIELDS on class CL_TABLECONTROL has no exception.

Method GET_LINE_SELECTION_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_LINE_SEL_MODE Value transfer Type reference (TYPE) CHAR1 Selektionsmodus 20001220

Method GET_LINE_SELECTION_MODE on class CL_TABLECONTROL has no exception.

Method GET_MARKED_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_T_COLUMNS Value transfer Type reference (TYPE) SCRFNAME_T markierte Spalten im Tablecontrol 20001219

Method GET_MARKED_COLUMNS on class CL_TABLECONTROL has no exception.

Method GET_MARKED_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_T_INDEX Value transfer Type reference (TYPE) SATT_TABIX_T markierte Einträge 20001222
# Exception Resumable Description Created on
1 CX_SATT_ERROR allgemeiner Fehler in der Attributablage 20001222

Method GET_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MODE Call by reference Type reference (TYPE) C E_MODE 20000417

Method GET_MODE on class CL_TABLECONTROL has no exception.

Method GET_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VALUES Call by reference Type reference (TYPE) STANDARD TABLE Werte im Tabelcontrol 20001222
2 Exporting E_VALUES_HIDE Call by reference Type reference (TYPE) STANDARD TABLE nicht angezeigte Zeilen Werte 20001222
# Exception Resumable Description Created on
1 CANCELED CANCELED 20001222
2 ERROR ERROR 20001222

Method GET_VALUE_LINE Signature

Method GET_VALUE_LINE on class CL_TABLECONTROL has no parameter.
Method GET_VALUE_LINE on class CL_TABLECONTROL has no exception.

Method HIDE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HIDE Call by reference Type reference (TYPE) C 'X' HIDE 20000417
2 Importing HIDE_FIELD Call by reference Type reference (TYPE) FIELDNAME HIDE_FIELD 20000417
3 Importing I_T_HIDE_FIELDS Call by reference Type reference (TYPE) TC_FIELD_TAB I_T_HIDE_FIELDS 20000417

Method HIDE_FIELDS on class CL_TABLECONTROL has no exception.

Method PBO Signature

Method PBO on class CL_TABLECONTROL has no parameter.
Method PBO on class CL_TABLECONTROL has no exception.

Method SCROLL_FIRST_PAGE Signature

Method SCROLL_FIRST_PAGE on class CL_TABLECONTROL has no parameter.
Method SCROLL_FIRST_PAGE on class CL_TABLECONTROL has no exception.

Method SCROLL_LAST_PAGE Signature

Method SCROLL_LAST_PAGE on class CL_TABLECONTROL has no parameter.
Method SCROLL_LAST_PAGE on class CL_TABLECONTROL has no exception.

Method SCROLL_PAGE_DOWN Signature

Method SCROLL_PAGE_DOWN on class CL_TABLECONTROL has no parameter.
Method SCROLL_PAGE_DOWN on class CL_TABLECONTROL has no exception.

Method SCROLL_PAGE_UP Signature

Method SCROLL_PAGE_UP on class CL_TABLECONTROL has no parameter.
Method SCROLL_PAGE_UP on class CL_TABLECONTROL has no exception.

Method SET_CHANGED_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANGED Call by reference Type reference (TYPE) C Geändert Kennzeichen 20000417

Method SET_CHANGED_FLAG on class CL_TABLECONTROL has no exception.

Method SET_COLUMNS_VISLENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_T_LENGTH Call by reference Type reference (TYPE) SQALEN_T Länge pro Feld 20000417
# Exception Resumable Description Created on
1 ERROR ERROR 20000417

Method SET_CURSOR Signature

Method SET_CURSOR on class CL_TABLECONTROL has no parameter.
Method SET_CURSOR on class CL_TABLECONTROL has no exception.

Method SET_CURSOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELD Call by reference Type reference (TYPE) DYNFNAM Feld auf dem der Cursor steht 20000417
2 Importing I_LINE Call by reference Type reference (TYPE) I Zeile , auf der der Cursor steht 20000417

Method SET_CURSOR_FIELD on class CL_TABLECONTROL has no exception.

Method SET_HIDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIDE Call by reference Type reference (TYPE) C 'X' I_HIDE 20000417

Method SET_HIDE on class CL_TABLECONTROL has no exception.

Method SET_INVISIBLE_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INVISIBLE Value transfer Type reference (TYPE) CHAR1 'X' 'X' = auf unsichtbar schalten; ' '= sichtbar schalten 20000417
2 Importing P_T_GROUPVAL Call by reference Type reference (TYPE) SCRFGRP_T Wert für Screen-Group1..4 20000417
3 Importing P_T_NAME Call by reference Type reference (TYPE) SCRFNAME_T Feldname 20000417
# Exception Resumable Description Created on
1 CANCELED CANCELED 20000417
2 ERROR ERROR 20000417

Method SET_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MODE Call by reference Type reference (TYPE) C 'C' = Änderungsmodus; 'S' = Anzeigemodus 20000417

Method SET_MODE on class CL_TABLECONTROL has no exception.

Method SET_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_VALUES Call by reference Type reference (TYPE) STANDARD TABLE Werte für Tablecontrol 20001222
2 Importing I_T_VALUES_HIDE Call by reference Type reference (TYPE) STANDARD TABLE zusätzliche Werte, die ausgeblendet sind. 20001222

Method SET_VALUES on class CL_TABLECONTROL has no exception.

Method SET_VALUE_LINE Signature

Method SET_VALUE_LINE on class CL_TABLECONTROL has no parameter.
Method SET_VALUE_LINE on class CL_TABLECONTROL has no exception.

Method UPDATE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VALUE_LINE_NEW Call by reference Type reference (TYPE) ANY I_VALUE_LINE_NEW 20000417
2 Changing P_VALUE_LINE Call by reference Type reference (TYPE) ANY P_VALUE_LINE 20000417

Method UPDATE_LINE on class CL_TABLECONTROL has no exception.

Method USER_COMMAND Signature

Method USER_COMMAND on class CL_TABLECONTROL has no parameter.
Method USER_COMMAND on class CL_TABLECONTROL has no exception.
History
Last changed by/on SAP  20000428 
SAP Release Created in 50A