SAP ABAP Class /TDAG/CPCL_TOOLBAR_CREATOR (CP: Initialisiert ALV-Grid-Toolsbars und Kontextmenüs)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP (Package) Compliance for products
⤷
⤷
Properties
| Class | /TDAG/CPCL_TOOLBAR_CREATOR | |
| Short Description | CP: Initialisiert ALV-Grid-Toolsbars und Kontextmenüs | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP | Compliance for products |
| Created | 20050125 | SAP |
| Last change | 20141109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /TDAG/CPCL_TOOLBAR_CREATOR has no interface implemented.
Friends
Class /TDAG/CPCL_TOOLBAR_CREATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | 20050125 | ||||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_GUI_TOOLBAR | 20050902 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPY_TOOLBAR | Currently acitve additional toolbar functions | 20070712 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPY_TOOLBAR | Definition of additional toolbar functions | 20050125 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Die Aktivitäten, für die der Benutzer die Berechtigung hat | 20050125 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | ESP1_BOOLEAN | Flag to set the ALV - standard toolbar enabled / disabled | 20061026 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20050125 | ||
| 2 | Instance method | Public | Method | 20050902 | ||
| 3 | Instance method | Public | Method | 20050902 | ||
| 4 | Instance method | Public | Method | Deactivates defined entries in the toolbar | 20061025 | |
| 5 | Instance method | Public | Method | Activates defined entries in the toolbar | 20061025 | |
| 6 | Instance method | Public | Method | Destructor - Löschen der angelegten Objekte | 20050125 | |
| 7 | Instance method | Public | Event handling method | Setzt die Menüs einer ALV-Gid-Toolbar | 20050902 | |
| 8 | Instance method | Public | Event handling method | Setzt die Buttons einer ALV-Gid-Toolbar | 20050902 | |
| 9 | Instance method | Public | Event handling method | Setzt die Menüs eines Toolbar-Controls | 20050902 | |
| 10 | Instance method | Public | Event handling method | Setzt die Buttons eines Toolbar-Controls | 20050902 | |
| 11 | Instance method | Public | Method | Speichert die Aktivitäten für die Buttons und Menüs | 20050125 | |
| 12 | Instance method | Public | Method | Definiert die zusätzlichen Einträge in einer Werkzeugleiste | 20050125 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | MENU_BUTTON | Instance Event (0) |
Public (2) |
20050901 | |
| 2 | TOOLBAR | Instance Event (0) |
Public (2) |
20050901 |
Types
Class /TDAG/CPCL_TOOLBAR_CREATOR has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_GRID | Call by reference | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | das ALV-Grid, dessen Toolbar angelegt werden soll | 20050125 | |||
| 2 | IO_TOOLBAR | Call by reference | Object reference (TYPE REF TO) | /TDAG/CPCL_GUI_TOOLBAR | die Toolbar, deren Buttons angelegt werden sollen | 20050902 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | kein Objekt angegeben, dessen Toolbar gesetzt werden soll | 20050902 |
Method DEFINE_BUTTON_MENU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MENU | Call by reference | Object reference (TYPE REF TO) | CL_CTMENU | Kontextmenüpointer | 20050902 | |||
| 2 | I_UCOMM | Call by reference | Type reference (TYPE) | SY-UCOMM | Funktionscode | 20050902 |
Method DEFINE_BUTTON_MENU on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method DEFINE_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_TOOLBAR | Call by reference | Object reference (TYPE REF TO) | CL_ALV_EVENT_TOOLBAR_SET | Toolbarobjekt | 20050902 | |||
| 2 | I_FLG_INTERACTIVE | Call by reference | Type reference (TYPE) | CHAR01 | interaktiver Aufruf | 20050902 |
Method DEFINE_TOOLBAR on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method DISABLE_TOOLBAR_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_OK_FUNC_DIS | Call by reference | Type reference (TYPE) | UI_FUNCTIONS | Entries of toolbar-buttons | 20061025 | |||
| 2 | I_FLG_STANDARD | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Disable standard toolbar from ALV | 20061026 |
Method DISABLE_TOOLBAR_ENTRIES on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method ENABLE_TOOLBAR_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_OK_FUNC_EN | Call by reference | Type reference (TYPE) | UI_FUNCTIONS | Entries of toolbar-buttons | 20061026 | |||
| 2 | I_FLG_STANDARD | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Enable standard toolbar from ALV | 20061026 |
Method ENABLE_TOOLBAR_ENTRIES on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method FREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | /TDAG/CPY_MESSAGES | Fehler- und andere Meldungen | 20050125 | |||
| 2 | E_FLG_ERROR | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, ob Fehler aufgetreten sind | 20050125 | |||
| 3 | E_FLG_WARNING | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, ob Warnungen aufgetreten sind | 20050125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Objekte konnten nicht vollständig gelöscht werden | 20050125 |
Method ON_ALV_MENU_BUTTON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OBJECT | Call by reference | Attribute reference (LIKE) | 20050902 | |||||
| 2 | E_UCOMM | Call by reference | Attribute reference (LIKE) | 20050902 |
Method ON_ALV_MENU_BUTTON on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method ON_ALV_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INTERACTIVE | Call by reference | Attribute reference (LIKE) | 20050902 | |||||
| 2 | E_OBJECT | Call by reference | Attribute reference (LIKE) | 20050902 |
Method ON_ALV_TOOLBAR on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method ON_TB_MENU_BUTTON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PO_MENU | Call by reference | Attribute reference (LIKE) | 20050902 | |||||
| 2 | P_UCOMM | Call by reference | Attribute reference (LIKE) | 20050902 |
Method ON_TB_MENU_BUTTON on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method ON_TB_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PO_TOOLBAR | Call by reference | Attribute reference (LIKE) | 20050902 | |||||
| 2 | P_FLG_INTERACTIVE | Call by reference | Attribute reference (LIKE) | 20050902 |
Method ON_TB_TOOLBAR on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method SET_ACTIVITIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVITIES | Call by reference | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Aktivitäten, für die der Benutzer berechtigt ist | 20050125 |
Method SET_ACTIVITIES on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Method SET_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TOOLBAR_DEF | Call by reference | Type reference (TYPE) | /TDAG/CPY_TOOLBAR | Definition der Knöpfe und Menüs in einer ALV-Grid-Toolbar | 20050125 | |||
| 2 | I_FLG_REFRESH | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen, ob die Werkzeugl. gleich aktualis. werden soll | 20050125 |
Method SET_TOOLBAR on class /TDAG/CPCL_TOOLBAR_CREATOR has no exception.
Event Signatures
Event MENU_BUTTON Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PO_OBJECT | Exporting | Value transfer | Object reference (TYPE REF TO) | CL_CTMENU | Kontextmenüpointer | 20050901 | ||
| 2 | PO_SENDER | Exporting | Value transfer | Object reference (TYPE REF TO) | OBJECT | Der Sender des Events | 20050901 | ||
| 3 | P_ACTIVITIES | Exporting | Value transfer | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Die Aktivitäten, für die der Benutzer die Berechtigung hat | 20050902 | ||
| 4 | P_UCOMM | Exporting | Value transfer | Type reference (TYPE) | SY-UCOMM | Funktionscode | 20050901 |
Event TOOLBAR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PO_OBJECT | Exporting | Value transfer | Object reference (TYPE REF TO) | CL_ALV_EVENT_TOOLBAR_SET | Toolbarobjekt | 20050901 | ||
| 2 | PO_SENDER | Exporting | Value transfer | Object reference (TYPE REF TO) | OBJECT | Der Sender des Events | 20050901 | ||
| 3 | P_ACTIVITIES | Exporting | Value transfer | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Die Aktivitäten, für die der Benutzer die Berechtigung hat | 20050902 | ||
| 4 | P_FLG_INTERACTIVE | Exporting | Value transfer | Type reference (TYPE) | CHAR01 | interaktiver Aufruf | 20050901 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 0207B0406C |