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 ESP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SX 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 MC_ICON_OR_DELETE Constant Protected Type reference (TYPE) ICONNAME 'ICON_DELETE' Icon: Delete representative 20090204
2 MC_ICON_OR_TOGGLE Constant Protected Type reference (TYPE) ICONNAME 'ICON_WD_RECURSION_NODE' Icon: Toggle material dependent <-> material independent 20090204
3 MC_TNAME_STYLE_TAB Constant Private Type reference (TYPE) LVC_FNAME 'CELLS_STYLE_TAB' Name of style table in output table 20090206
4 MO_GRID_CONTROL Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_ALV_GRID Das ALV-Grid-Objekt 20080807
5 MO_OR_DATA Instance attribute Private Object reference (TYPE REF TO) /TDAG/CPCL_TM_OR_DATA Only representative data 20080807
6 MO_TOOLBAR_CREATOR Instance attribute Protected Object reference (TYPE REF TO) /TDAG/CPCL_TOOLBAR_CREATOR Objekt zum Generieren der Werkzeugleiste für das ALV-Grid 20080807
7 MS_LAYOUT Instance attribute Protected Type reference (TYPE) LVC_S_LAYO ALV control: Layout structure 20080807
8 MS_TASK_HEADER Instance attribute Private Attribute reference (LIKE) 20080808
9 MS_VARIANT Instance attribute Protected Type reference (TYPE) DISVARIANT Display Variant (External Use) 20080807
10 MT_FIELD_CATALOG Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Feldkatalog für das ALV-Grid 20080807
11 MT_FUNCS_TO_EXCL Instance attribute Protected Type reference (TYPE) UI_FUNCTIONS Function Code Table 20080807
12 MT_IOTAB Instance attribute Protected Type reference (TYPE) /TDAG/CPYH_ONLY_REP_DATA Die IO-Tabelle für die Anzeige der Zusammensetzung 20080807
13 MV_F4_FIELDNAME Instance attribute Private Type reference (TYPE) LVC_FNAME Fieldname after opening F4 help 20080814
14 MV_FLG_CHECK_IN_SAVE Instance attribute Protected Type reference (TYPE) ESP1_BOOLEAN esp1_false Flag: The check is executed within save 20100323
15 MV_SUPPLIER Instance attribute Private Attribute reference (LIKE) 20080808
16 MV_SUPPLIER_NAME Instance attribute Private Type reference (TYPE) NAME1_BAS Name 1 20080815
17 MV_TASK_HEADER_NO Instance attribute Private Attribute reference (LIKE) 20080808
18 MV_TASK_ITEM_NO Instance attribute Private Attribute reference (LIKE) 20080808
19 M_ACTIVITIES Instance attribute Protected Type reference (TYPE) /TDAG/CPE_ACTIVITIES Die Aktivitäten, für die der View geöffnet ist 20080807
20 M_ACTIVITIES_AUTH Instance attribute Protected Type reference (TYPE) /TDAG/CPE_ACTIVITIES Die Aktivitäten, für die der Benutzer berechtigt ist 20080807
21 M_CONTACT_IMPORTED Instance attribute Protected Type reference (TYPE) /TDAG/CPS_ONLY_REP_DATA Imported Only Representative Data 20090929
22 M_FLG_FIRST_DISPLAY Instance attribute Protected Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, dass das ALV-Grid zum ersten Mal angezeigt wird 20080807
23 M_FLG_PROCESSING_DATA_CHANGED Instance attribute Protected Type reference (TYPE) ESP1_BOOLEAN Ind. that DATA_CHANGED event is currently being processed 20080812
24 M_MATNR_ALL Static Attribute Public Type reference (TYPE) MATNR '' Material number representing 'material independent' 20090616
25 M_OK_CODE_OR_DELETE Constant Protected Type reference (TYPE) SYUCOMM 'OR_DELETE' Delete representative assignment 20090204
26 M_OK_CODE_OR_TOGGLE Constant Protected Type reference (TYPE) SYUCOMM 'OR_TOGGLE' Toggle material dependent <-> material independent 20090204
27 M_TASK_MATNR Instance attribute Protected Type reference (TYPE) MATNR Material number of task 20090202
28 M_TITLE Instance attribute Protected Type reference (TYPE) TEXT70 Der Titel des ALV-Grids 20080807
Methods
# Method Level Visibility Method type Description Created on
1 ADD_STYLES Instance method Private Method Add cell style for ALV 20080807
2 CHECK_SAVE_DATA Instance method Private Method Check if data is valid to be saved 20090212
3 CHECK_STYLE_NO_DELETE_ROW Instance method Private Method Check if the style table contains the style no_delete_row 20090205
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090616
5 CREATE_FIELD_CATALOG Instance method Protected Method Erstellt den Feldkatalog für das ALV-Grid 20080822
6 CREATE_TOOLBAR Instance method Private Method Create ALV toolbar 20080807
7 DELETE_ROW Instance method Private Method Delete a row 20090205
8 GET_ACTIVITIES Instance method Public Method Get activities 20080812
9 INSERT_ROW Instance method Private Method Insert a new row 20090203
10 MAP_MATNR Static method Public Method Map MATNR between internal and external representation 20090212
11 ON_DATA_CHANGED Instance method Public Event handling method Aktualisiert die Zusammensetzungsdaten der Spezifikation 20080807
12 ON_DATA_CHANGED_FINISHED Instance method Public Event handling method Aktualisiert ggf. die Anzeige 20080807
13 ON_DOUBLE_CLICK Instance method Public Event handling method Verarbeitet einen Doppel-Klick auf eine Grid-Zelle 20080807
14 ON_ONF4 Instance method Public Event handling method Öffnet die F4-Hilfe für ein Feld 20080807
15 ON_USER_COMMAND Instance method Public Event handling method Verarbeitet die OK-Codes, die vom ALV-Grid gesendet werden 20080807
16 REMOVE_SUPPLIER_UECOMP Instance method Private Method Removes the U&E Composition of Supplier Specification 20120523
17 REPLACE_SUPPLIER Instance method Private Method Replace AIF data with existing supplier data 20090514
18 SET_TASK_INFO Instance method Private Method 20080808
19 TOGGLE_MAT Instance method Private Method Toggle material dependency 20090205
20 UPDATE_GRID 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 Importing I_FLG_EDIT Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Daten geändert werden dürfen 20080807
2 Importing I_STYLE_TAB_FIELD Call by reference Type reference (TYPE) LVC_FNAME 'CELLS_STYLE_TAB' Name der Stil-Tabelle 20080807
3 Changing XS_LAYOUT Call by reference Type reference (TYPE) LVC_S_LAYO das Layout 20080807
4 Changing 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Message table 20090212
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Error flag 20090212
# Exception Resumable Description Created on
1 DATA_INVALID 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 Importing IS_IOTAB Call by reference Type reference (TYPE) /TDAG/CPS_ONLY_REP_DATA Only Representative Data 20090205
2 Returning 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 Exporting ET_FIELD_CATALOG Call by reference Type reference (TYPE) LVC_T_FCAT Der Feldkatalog 20080822
2 Importing 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 CREATE_FAILED 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 Exporting ET_FUNCS_TO_EXCL Call by reference Type reference (TYPE) UI_FUNCTIONS The excluded standard entries of the toolbar 20080807
2 Exporting 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Messages 20090205
2 Importing IV_ROW Call by reference Type reference (TYPE) I Number of selected row 20090205
# Exception Resumable Description Created on
1 DELETE_ERROR Deletion error 20090205
2 INTERNAL_ERROR Internal error 20090205

Method GET_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Messages 20090203
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material number of new entry 20090203
3 Importing IV_ROW Call by reference Type reference (TYPE) I Number of selected row 20090203
# Exception Resumable Description Created on
1 INSERT_ERROR Error inserting new row 20090203
2 INTERNAL_ERROR Internal error 20090203

Method MAP_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_MATNR Value transfer Type reference (TYPE) MATNR Mapped Material Number 20090212
2 Importing 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 Importing ER_DATA_CHANGED Call by reference Attribute reference (LIKE) 20080807
2 Importing E_ONF4 Call by reference Attribute reference (LIKE) 20080807
3 Importing E_ONF4_AFTER Call by reference Attribute reference (LIKE) 20080807
4 Importing 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 Importing 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 Importing ES_ROW_NO Call by reference Attribute reference (LIKE) 20080807
2 Importing E_COLUMN Call by reference Attribute reference (LIKE) 20080807
3 Importing 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 Importing ER_EVENT_DATA Call by reference Attribute reference (LIKE) 20080807
2 Importing ES_ROW_NO Call by reference Attribute reference (LIKE) 20080807
3 Importing ET_BAD_CELLS Call by reference Attribute reference (LIKE) 20080807
4 Importing E_DISPLAY Call by reference Attribute reference (LIKE) 20080807
5 Importing E_FIELDNAME Call by reference Attribute reference (LIKE) 20080807
6 Importing 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 Importing 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 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN An Error Occured 20120523
2 Changing 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 Exporting E_FLG_SUPPLIER_REPLACED Value transfer Type reference (TYPE) ESP1_BOOLEAN Flag if supplier is replaced with existing one 20090514
2 Importing I_FLG_ASK_CONTACT Value transfer Type reference (TYPE) ESP1_BOOLEAN ESP1_TRUE Ask to replace with AIF contact data? 20090514
3 Importing I_FLG_ASK_SUPPLIER Value transfer Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Ask to replace with existing supplier? 20090514
4 Changing 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Messages 20090205
2 Importing IV_ROW Call by reference Type reference (TYPE) I Number of selected row 20090205
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090205
2 TOGGLE_ERROR Error toggling material dependency 20090205

Method UPDATE_GRID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing IT_IOTAB Call by reference Type reference (TYPE) /TDAG/CPYH_ONLY_REP_DATA Die geänderten Datensätze 20080812
3 Importing IT_ROWS_IDX Call by reference Type reference (TYPE) /TDAG/CPY_TABINDEX Tabelle mit Zeilennummern in mp_mod_rows 20080812
4 Changing 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