SAP ABAP Class /TDAG/CPCL_TM_OR_VIEW_CTRL (CP: View controller for REACH only repr. data)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP (Package) Compliance for products
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /TDAG/CPCL_MGR_VIEW_CTRL | CP: Basisklasse für Manager View Controller | 20080807 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /TDAG/CPIF_TM_DATA_VIEW | CP: Interface between Task Management and data views | 20080807 |
Properties
| Class | /TDAG/CPCL_TM_OR_VIEW_CTRL | |
| Short Description | CP: View controller for REACH only repr. data | |
| Super Class | /TDAG/CPCL_MGR_VIEW_CTRL | CP: Basisklasse für Manager View Controller |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP | Compliance for products |
| Created | 20080806 | SAP |
| Last change | 20141109 | |
| 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /TDAG/CPIF_TM_DATA_VIEW | CP: Interface between Task Management and data views | 20080807 |
Friends
Class /TDAG/CPCL_TM_OR_VIEW_CTRL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | ICONNAME | 'ICON_DELETE' | Icon: Delete representative | 20090204 | ||
| 2 | Constant | Protected | Type reference (TYPE) | ICONNAME | 'ICON_WD_RECURSION_NODE' | Icon: Toggle material dependent <-> material independent | 20090204 | ||
| 3 | Constant | Private | Type reference (TYPE) | LVC_FNAME | 'CELLS_STYLE_TAB' | Name of style table in output table | 20090206 | ||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | Das ALV-Grid-Objekt | 20080807 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | /TDAG/CPCL_TM_OR_DATA | Only representative data | 20080807 | |||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_TOOLBAR_CREATOR | Objekt zum Generieren der Werkzeugleiste für das ALV-Grid | 20080807 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | LVC_S_LAYO | ALV control: Layout structure | 20080807 | |||
| 8 | Instance attribute | Private | Attribute reference (LIKE) | 20080808 | |||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | DISVARIANT | Display Variant (External Use) | 20080807 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | LVC_T_FCAT | Feldkatalog für das ALV-Grid | 20080807 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | UI_FUNCTIONS | Function Code Table | 20080807 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPYH_ONLY_REP_DATA | Die IO-Tabelle für die Anzeige der Zusammensetzung | 20080807 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | LVC_FNAME | Fieldname after opening F4 help | 20080814 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | ESP1_BOOLEAN | esp1_false | Flag: The check is executed within save | 20100323 | ||
| 15 | Instance attribute | Private | Attribute reference (LIKE) | 20080808 | |||||
| 16 | Instance attribute | Private | Type reference (TYPE) | NAME1_BAS | Name 1 | 20080815 | |||
| 17 | Instance attribute | Private | Attribute reference (LIKE) | 20080808 | |||||
| 18 | Instance attribute | Private | Attribute reference (LIKE) | 20080808 | |||||
| 19 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Die Aktivitäten, für die der View geöffnet ist | 20080807 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Die Aktivitäten, für die der Benutzer berechtigt ist | 20080807 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPS_ONLY_REP_DATA | Imported Only Representative Data | 20090929 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, dass das ALV-Grid zum ersten Mal angezeigt wird | 20080807 | |||
| 23 | Instance attribute | Protected | Type reference (TYPE) | ESP1_BOOLEAN | Ind. that DATA_CHANGED event is currently being processed | 20080812 | |||
| 24 | Static Attribute | Public | Type reference (TYPE) | MATNR | ' |
Material number representing 'material independent' | 20090616 | ||
| 25 | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'OR_DELETE' | Delete representative assignment | 20090204 | ||
| 26 | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'OR_TOGGLE' | Toggle material dependent <-> material independent | 20090204 | ||
| 27 | Instance attribute | Protected | Type reference (TYPE) | MATNR | Material number of task | 20090202 | |||
| 28 | Instance attribute | Protected | Type reference (TYPE) | TEXT70 | Der Titel des ALV-Grids | 20080807 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add cell style for ALV | 20080807 | |
| 2 | Instance method | Private | Method | Check if data is valid to be saved | 20090212 | |
| 3 | Instance method | Private | Method | Check if the style table contains the style no_delete_row | 20090205 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20090616 | |
| 5 | Instance method | Protected | Method | Erstellt den Feldkatalog für das ALV-Grid | 20080822 | |
| 6 | Instance method | Private | Method | Create ALV toolbar | 20080807 | |
| 7 | Instance method | Private | Method | Delete a row | 20090205 | |
| 8 | Instance method | Public | Method | Get activities | 20080812 | |
| 9 | Instance method | Private | Method | Insert a new row | 20090203 | |
| 10 | Static method | Public | Method | Map MATNR between internal and external representation | 20090212 | |
| 11 | Instance method | Public | Event handling method | Aktualisiert die Zusammensetzungsdaten der Spezifikation | 20080807 | |
| 12 | Instance method | Public | Event handling method | Aktualisiert ggf. die Anzeige | 20080807 | |
| 13 | Instance method | Public | Event handling method | Verarbeitet einen Doppel-Klick auf eine Grid-Zelle | 20080807 | |
| 14 | Instance method | Public | Event handling method | Öffnet die F4-Hilfe für ein Feld | 20080807 | |
| 15 | Instance method | Public | Event handling method | Verarbeitet die OK-Codes, die vom ALV-Grid gesendet werden | 20080807 | |
| 16 | Instance method | Private | Method | Removes the U&E Composition of Supplier Specification | 20120523 | |
| 17 | Instance method | Private | Method | Replace AIF data with existing supplier data | 20090514 | |
| 18 | Instance method | Private | Method | 20080808 | ||
| 19 | Instance method | Private | Method | Toggle material dependency | 20090205 | |
| 20 | Instance method | Private | Method | Update ALV grid | 20080812 |
Events
Class /TDAG/CPCL_TM_OR_VIEW_CTRL has no event.
Types
Class /TDAG/CPCL_TM_OR_VIEW_CTRL has no local type.
Method Signatures
Method ADD_STYLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FLG_EDIT | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, ob Daten geändert werden dürfen | 20080807 | |||
| 2 | I_STYLE_TAB_FIELD | Call by reference | Type reference (TYPE) | LVC_FNAME | 'CELLS_STYLE_TAB' | Name der Stil-Tabelle | 20080807 | ||
| 3 | XS_LAYOUT | Call by reference | Type reference (TYPE) | LVC_S_LAYO | das Layout | 20080807 | |||
| 4 | XT_IOTAB | Call by reference | Type reference (TYPE) | /TDAG/CPYH_ONLY_REP_DATA | die Tabelle der darzustellenden Daten | 20080807 |
Method ADD_STYLES on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method CHECK_SAVE_DATA 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 | Message table | 20090212 | |||
| 2 | E_FLG_ERROR | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Error flag | 20090212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data is invalid | 20090212 |
Method CHECK_STYLE_NO_DELETE_ROW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_IOTAB | Call by reference | Type reference (TYPE) | /TDAG/CPS_ONLY_REP_DATA | Only Representative Data | 20090205 | |||
| 2 | RV_FLG_STYLE_NO_DELETE_ROW | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | Indicatior, if the style no deletion of row is set | 20090205 |
Method CHECK_STYLE_NO_DELETE_ROW on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no parameter.
Method CONSTRUCTOR on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method CREATE_FIELD_CATALOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Der Feldkatalog | 20080822 | |||
| 2 | I_FLG_EDIT | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, ob Daten geändert werden dürfen | 20080822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Feldkatalog konnte nicht erzeugt werden | 20080822 |
Method CREATE_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FUNCS_TO_EXCL | Call by reference | Type reference (TYPE) | UI_FUNCTIONS | The excluded standard entries of the toolbar | 20080807 | |||
| 2 | ET_TOOLBAR_DEF | Call by reference | Type reference (TYPE) | /TDAG/CPY_TOOLBAR | The application specific entries of the toolbar | 20080807 |
Method CREATE_TOOLBAR on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method DELETE_ROW 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 | Messages | 20090205 | |||
| 2 | IV_ROW | Call by reference | Type reference (TYPE) | I | Number of selected row | 20090205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Deletion error | 20090205 | ||
| 2 | Internal error | 20090205 |
Method GET_ACTIVITIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ACTIVITIES | Value transfer | Type reference (TYPE) | /TDAG/CPE_ACTIVITIES | Activities | 20080812 |
Method GET_ACTIVITIES on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method INSERT_ROW 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 | Messages | 20090203 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material number of new entry | 20090203 | |||
| 3 | IV_ROW | Call by reference | Type reference (TYPE) | I | Number of selected row | 20090203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error inserting new row | 20090203 | ||
| 2 | Internal error | 20090203 |
Method MAP_MATNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MATNR | Value transfer | Type reference (TYPE) | MATNR | Mapped Material Number | 20090212 | |||
| 2 | I_MATNR | Value transfer | Type reference (TYPE) | MATNR | Material Number to map | 20090212 |
Method MAP_MATNR on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method ON_DATA_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA_CHANGED | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 2 | E_ONF4 | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 3 | E_ONF4_AFTER | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 4 | E_ONF4_BEFORE | Call by reference | Attribute reference (LIKE) | 20080807 |
Method ON_DATA_CHANGED on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method ON_DATA_CHANGED_FINISHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MODIFIED | Call by reference | Attribute reference (LIKE) | 20080807 |
Method ON_DATA_CHANGED_FINISHED on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method ON_DOUBLE_CLICK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ROW_NO | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 2 | E_COLUMN | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 3 | E_ROW | Call by reference | Attribute reference (LIKE) | 20080807 |
Method ON_DOUBLE_CLICK on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method ON_ONF4 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_EVENT_DATA | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 2 | ES_ROW_NO | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 3 | ET_BAD_CELLS | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 4 | E_DISPLAY | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 5 | E_FIELDNAME | Call by reference | Attribute reference (LIKE) | 20080807 | |||||
| 6 | E_FIELDVALUE | Call by reference | Attribute reference (LIKE) | 20080807 |
Method ON_ONF4 on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method ON_USER_COMMAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_UCOMM | Call by reference | Attribute reference (LIKE) | 20080807 |
Method ON_USER_COMMAND on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method REMOVE_SUPPLIER_UECOMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_ERROR | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | An Error Occured | 20120523 | |||
| 2 | XT_MESSAGE | Call by reference | Type reference (TYPE) | /TDAG/CPY_MESSAGES | Message Table | 20120523 |
Method REMOVE_SUPPLIER_UECOMP on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method REPLACE_SUPPLIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_SUPPLIER_REPLACED | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | Flag if supplier is replaced with existing one | 20090514 | |||
| 2 | I_FLG_ASK_CONTACT | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_TRUE | Ask to replace with AIF contact data? | 20090514 | ||
| 3 | I_FLG_ASK_SUPPLIER | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Ask to replace with existing supplier? | 20090514 | ||
| 4 | XS_ONLY_REP_DATA | Call by reference | Type reference (TYPE) | /TDAG/CPS_ONLY_REP_DATA | Existing Only Representative Data | 20090514 |
Method REPLACE_SUPPLIER on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method SET_TASK_INFO Signature
Method SET_TASK_INFO on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no parameter.
Method SET_TASK_INFO on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
Method TOGGLE_MAT 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 | Messages | 20090205 | |||
| 2 | IV_ROW | Call by reference | Type reference (TYPE) | I | Number of selected row | 20090205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Internal error | 20090205 | ||
| 2 | Error toggling material dependency | 20090205 |
Method UPDATE_GRID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DATA_CHANGED | Call by reference | Object reference (TYPE REF TO) | CL_ALV_CHANGED_DATA_PROTOCOL | Objekt, das die geänderten Daten im ALV Grid enthält | 20080812 | |||
| 2 | IT_IOTAB | Call by reference | Type reference (TYPE) | /TDAG/CPYH_ONLY_REP_DATA | Die geänderten Datensätze | 20080812 | |||
| 3 | IT_ROWS_IDX | Call by reference | Type reference (TYPE) | /TDAG/CPY_TABINDEX | Tabelle mit Zeilennummern in mp_mod_rows | 20080812 | |||
| 4 | X_FLG_DATA_CHANGED | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Kennzeichen, ob Daten geändert wurden | 20080812 |
Method UPDATE_GRID on class /TDAG/CPCL_TM_OR_VIEW_CTRL has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 110_600 |