SAP ABAP Class /TDAG/CPCL_ALV_GRID_REP (CP: Repository of ALV grid objects)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
Properties
Class | /TDAG/CPCL_ALV_GRID_REP | |
Short Description | CP: Repository of ALV grid objects | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/CP | Compliance for products |
Created | 20080311 | SAP |
Last change | 20141109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ESP1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /TDAG/CPCL_ALV_GRID_REP has no interface implemented.
Friends
Class /TDAG/CPCL_ALV_GRID_REP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MTH_GRID_CONTROLS | Instance attribute | Protected | Type reference (TYPE) | GRID_CTRL_HTAB_TYPE | Table of grid controls | 20080311 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | FREE | Instance method | Public | Method | Releases all created objects | 20080311 |
2 | GET_GRID_CONTROL | Instance method | Public | Method | Returns an ALV grid control | 20080311 |
3 | SET_VISIBLE | Instance method | Public | Method | Sets the visibility of all grids in the repository | 20080311 |
Events
Class /TDAG/CPCL_ALV_GRID_REP has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | GRID_CTRL_HTAB_TYPE | Protected | See coding | GRID_CTRL_HTAB_TYPE | 20080311 | |
|
2 | GRID_CTRL_WA_TYPE | Protected | See coding | GRID_CTRL_WA_TYPE | 20080311 | |
Method Signatures
Method FREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGES | Call by reference | Type reference (TYPE) | /TDAG/CPY_MESSAGES | Table with (error) messages | 20080311 | ||
2 | Exporting | E_FLG_ERROR | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if errors occurred | 20080311 | ||
3 | Exporting | E_FLG_WARNING | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if warnings occurred | 20080311 | ||
4 | Importing | IO_GRID_USER | Call by reference | Object reference (TYPE REF TO) | /TDAG/CPIF_ALV_GRID_USER | The object that wants to use the grid | 20080311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FREE_FAILED | The objects could not be released | 20080311 |
Method GET_GRID_CONTROL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EO_GRID_CONTROL | Call by reference | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | The determined grid control | 20080311 | ||
2 | Exporting | EO_TOOLBAR_CREATOR | Call by reference | Object reference (TYPE REF TO) | /TDAG/CPCL_TOOLBAR_CREATOR | The object that handles the toolbar | 20080311 | ||
3 | Exporting | ET_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | The field catalog for the gird | 20080311 | ||
4 | Exporting | E_FLG_NEW_GRID | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the grid has just been created | 20080311 | ||
5 | Importing | IO_GRID_USER | Call by reference | Object reference (TYPE REF TO) | /TDAG/CPIF_ALV_GRID_USER | The object that wants to use the grid | 20080311 | ||
6 | Importing | IO_PARENT_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Container for the GUI control | 20080311 | ||
7 | Importing | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Additional data to create the field catalog | 20080311 | ||
8 | Importing | I_FLG_EDIT | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if data can be maintained | 20080311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CREATE_FIELDCAT_FAILED | The field catalog could not be created | 20080311 | |
2 | CREATE_GRID_FAILED | The grid could not be created | 20080311 |
Method SET_VISIBLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FLG_VISIBLE | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the grids should be made visible | 20080311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SET_VISIBLE_FAILED | The visibility could not be set for all grids | 20080311 |
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 100_46C |