SAP ABAP Class CL_GRID_VIEW_MM (View for ALV Grid Control)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR (Application Component) Purchasing
     MEREQ (Package) Purchasing: Purchase Requisition
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_MODEL_VIEW_MM Model View 19991126
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CONTROL_VIEW_MM Control Interface 19991125
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MULTIPLE_MODEL_HOLDER_MM Container as Model Holder 19991230
Properties
Class CL_GRID_VIEW_MM  
Short Description View for ALV Grid Control    
Super Class CL_MODEL_VIEW_MM Model View 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MEREQ   Purchasing: Purchase Requisition 
Created 19991125   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 MMPUR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_CONTROL_VIEW_MM Control Interface 19991125
2 IF_MULTIPLE_MODEL_HOLDER_MM Container as Model Holder 19991230
Friends
Class CL_GRID_VIEW_MM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GRID_INITIALIZED Instance attribute Protected Type reference (TYPE) MMPUR_BOOL Control Initialized 19991125
2 GS_LAYOUT_GRID Instance attribute Protected Type reference (TYPE) LVC_S_LAYO ALV Control: Layout Structure 20020401
3 GT_FIELDCATALOG Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Field Catalog 19991125
4 GT_FRONTEND_FIELDCATALOG Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Frontend Field Catalog 20001012
5 GT_SORT Instance attribute Protected Type reference (TYPE) LVC_T_SORT Sorting 19991125
6 GT_TABLE Instance attribute Protected Object reference (TYPE REF TO) DATA Reference to Output Table 19991125
7 GT_TABLE_HIDDEN_FIELDS Instance attribute Protected Object reference (TYPE REF TO) DATA Table with Rows that Contain Hidden Fields 20000120
8 MY_ALV_CHANGE_PROT Instance attribute Protected Object reference (TYPE REF TO) CL_ALV_CHANGED_DATA_PROTOCOL Message Log for Data Entry 19991126
9 MY_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 19991125
10 MY_CONTAINER_NAME Instance attribute Protected Type reference (TYPE) STRING40 Name Custom Container 19991125
11 MY_CURRENT_MODEL Instance attribute Protected Object reference (TYPE REF TO) IF_MODEL_MM Current Model 19991230
12 MY_CURR_COL Instance attribute Public Type reference (TYPE) LVC_S_COL ALV Control: Column ID 20000120
13 MY_CURR_COL_FOCUS Instance attribute Public Type reference (TYPE) LVC_S_COL ALV Control: Column ID 20000126
14 MY_CURR_ROW Instance attribute Public Type reference (TYPE) LVC_S_ROW ALV control: Line Description 20000120
15 MY_CURR_ROW_FOCUS Instance attribute Public Type reference (TYPE) LVC_S_ROW ALV control: Line Description 20000126
16 MY_DC_ALREADY_HANDELED Instance attribute Protected Type reference (TYPE) MMPUR_BOOL MMPUR_NO Has data_changed Already Been Handled 19991126
17 MY_DIRTY_FLAG Instance attribute Protected Type reference (TYPE) MMPUR_BOOL Dirty Flag 19991125
18 MY_DISVARIANT Instance attribute Protected Type reference (TYPE) DISVARIANT Layout (External Use) 20000125
19 MY_DRAG_DROP Instance attribute Protected Object reference (TYPE REF TO) CL_DRAGDROP Behavior for Drag&Drop 19991125
20 MY_GRID Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_ALV_GRID List Viewer 19991125
21 MY_GRID_ON Instance attribute Protected Type reference (TYPE) MMPUR_BOOL MMPUR_YES Grid On/Off 19991125
22 MY_GRID_WAS_MODIFIED Instance attribute Private Type reference (TYPE) MMPUR_BOOL Grid e_modified flag 20010727
23 MY_LAST_EVT_WAS_F4 Instance attribute Private Type reference (TYPE) MMPUR_BOOL Last CHANGED_EVT Triggered via F4 20010727
24 MY_LAYOUT_CELL Instance attribute Protected Type reference (TYPE) STRING40 Name of Column That Contains the Cell Layout 20000120
25 MY_MODEL_CELL Instance attribute Protected Type reference (TYPE) STRING40 Name of Column that Holds Object Reference to if_model_mm 20000120
26 MY_REMOVED_COLUMNS Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Columns Suppressed by Field Selection 20000427
27 MY_SET_CURSOR_COL Instance attribute Protected Type reference (TYPE) LVC_S_COL ALV Control: Column ID 20000201
28 MY_SET_CURSOR_ROW Instance attribute Protected Type reference (TYPE) LVC_S_ROW ALV control: Line Description 20000201
29 MY_TOOLBAR_EXCL Instance attribute Protected Type reference (TYPE) UI_FUNCTIONS Exclude Functions 19991125
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_GRID_LAYOUT Instance method Protected Method Build Layout (Field Selection) for Grid 20000120
2 CHECK_GRID_CHANGED Instance method Public Method Check Whether Grid Data Has Changed 19991126
3 CONSTRUCTOR Instance method Public Constructor Constructor 19991125
4 CREATE_CONTAINER Instance method Protected Method Create GUI Container 19991125
5 CREATE_GRID Instance method Protected Method Create Grid Control 19991125
6 DEFINE_SORT_CRITERIA Instance method Protected Method Define Sort Criteria 20001227
7 DETERMINE_CELL_POSITION Instance method Protected Method Update Current Line and Column 20000126
8 DRAG_DROP_INIT Instance method Protected Method Initialize Drag&Drop Behavior 19991125
9 FREE Instance method Public Method Release Grid 19991125
10 GET_EXCLUDING_FUNCTIONS Instance method Protected Method Switch Off Toolbar Functions 20000201
11 GET_FIELDS_FOR_F4 Instance method Protected Method Fields for Which Separate F4 Help is Stored 20000502
12 GET_LINE_BY_MODEL Instance method Protected Method Get Rows for if_model_mm 20000120
13 GET_MODEL_BY_LINE Instance method Protected Method Get the Row if_model_mm 20000120
14 GET_MODEL_OF_CURRENT_CELL Instance method Public Method Model and Metafield of Current Row 20000127
15 GET_SELECTED_COLUMNS Instance method Protected Method Get Selected Columns 20070601
16 GET_SELECTION Instance method Public Method Selected Models 20000126
17 GET_VARIANT Instance method Protected Method Determine Context of Display Variant for Grid 19991125
18 HANDLE_AFTER_REFRESH Instance method Private Event handling method Refresh Handler 20010108
19 HANDLE_CONTEXT_MENU_REQUEST Instance method Protected Event handling method Handler for Context Menus 20000127
20 HANDLE_DOUBLE_CLICK Instance method Protected Event handling method Handler for Double-Click 20000127
21 HANDLE_F4 Instance method Protected Event handling method Handler for F4 Help 20000502
22 HANDLE_HOTSPOT_CLICK Instance method Public Event handling method Hotspot Handler 20000120
23 HANDLE_ON_DATA_CHANGED Instance method Public Event handling method Handler for Data Change in Grid 19991125
24 HANDLE_ON_DATA_CHANGED_FIN Instance method Private Event handling method Data Change Handler Ended 20001013
25 HANDLE_ON_DRAG Instance method Public Event handling method Handle Simple Drag 19991125
26 HANDLE_ON_DROP Instance method Public Event handling method Drop Handler 20000117
27 HANDLE_SUBTOTAL_TEXT Instance method Protected Event handling method Handler Totals Line 20020401
28 HANDLE_TOOLBAR_CREATION Instance method Protected Event handling method Handler for Creating the Toolbar 20000126
29 HANDLE_USER_COMMAND Instance method Protected Event handling method Handler for Toolbar Command Grid 20000126
30 IS_FIELD_CHANGEABLE Instance method Protected Method Can Field be Changed at Frontend? 20000502
31 NOTIFY_ROW_CHANGED Instance method Protected Method Line in Internal Table of Grid (outtab) Changed 20010727
32 REMOVE_GRID Instance method Protected Method Remove Grid 19991125
33 SELECT_DETAIL Instance method Protected Method Select Details 20000126
34 SET_SELECTION Instance method Public Method Selected Models 20011017
35 TOOLBAR_INIT Instance method Protected Method Extend Toolbar 19991125
36 TRANSPORT_FROM_ALV Instance method Protected Method Data in Grid Changed: Transport From 19991126
37 UPDATE_GRID_DISPLAY Instance method Public Method Update/Compile Grid Control 19991125
Events
Class CL_GRID_VIEW_MM has no event.
Types
Class CL_GRID_VIEW_MM has no local type.
Method Signatures

Method BUILD_GRID_LAYOUT Signature

Method BUILD_GRID_LAYOUT on class CL_GRID_VIEW_MM has no parameter.
Method BUILD_GRID_LAYOUT on class CL_GRID_VIEW_MM has no exception.

Method CHECK_GRID_CHANGED Signature

Method CHECK_GRID_CHANGED on class CL_GRID_VIEW_MM has no parameter.
Method CHECK_GRID_CHANGED on class CL_GRID_VIEW_MM has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONTAINER_NAME Call by reference Type reference (TYPE) STRING Name des Customer Container im Dynpro 19991125
2 Importing IM_CONTAINER_REF Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstracter Container fuer GUI Controls 19991125
3 Importing IM_DYNPRO Call by reference Type reference (TYPE) SY-DYNNR ABAP-Programm, Nummer des aktuellen Dynpros 19991125
4 Importing IM_PROG Call by reference Type reference (TYPE) SY-REPID ABAP-Programm, aktuelles Rahmenprogramm 19991125
5 Importing IM_STRUCT_NAME Call by reference Type reference (TYPE) C Struktur 19991126

Method CONSTRUCTOR on class CL_GRID_VIEW_MM has no exception.

Method CREATE_CONTAINER Signature

Method CREATE_CONTAINER on class CL_GRID_VIEW_MM has no parameter.
Method CREATE_CONTAINER on class CL_GRID_VIEW_MM has no exception.

Method CREATE_GRID Signature

Method CREATE_GRID on class CL_GRID_VIEW_MM has no parameter.
Method CREATE_GRID on class CL_GRID_VIEW_MM has no exception.

Method DEFINE_SORT_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SORT Call by reference Type reference (TYPE) LVC_T_SORT ALV-Contol: Tabelle der Sortierkriterien 20001227

Method DEFINE_SORT_CRITERIA on class CL_GRID_VIEW_MM has no exception.

Method DETERMINE_CELL_POSITION Signature

Method DETERMINE_CELL_POSITION on class CL_GRID_VIEW_MM has no parameter.
Method DETERMINE_CELL_POSITION on class CL_GRID_VIEW_MM has no exception.

Method DRAG_DROP_INIT Signature

Method DRAG_DROP_INIT on class CL_GRID_VIEW_MM has no parameter.
Method DRAG_DROP_INIT on class CL_GRID_VIEW_MM has no exception.

Method FREE Signature

Method FREE on class CL_GRID_VIEW_MM has no parameter.
Method FREE on class CL_GRID_VIEW_MM has no exception.

Method GET_EXCLUDING_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_EXCLUDE Value transfer Type reference (TYPE) UI_FUNCTIONS Funktionscodestabelle 20000201

Method GET_EXCLUDING_FUNCTIONS on class CL_GRID_VIEW_MM has no exception.

Method GET_FIELDS_FOR_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_T_F4 Value transfer Type reference (TYPE) LVC_T_F4 ALV-Control: Tabelle für F4-Behandlung registrierte Felder 20000502

Method GET_FIELDS_FOR_F4 on class CL_GRID_VIEW_MM has no exception.

Method GET_LINE_BY_MODEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MODEL Call by reference Object reference (TYPE REF TO) IF_MODEL_MM Model 20000120
2 Returning RE_LINE Value transfer Type reference (TYPE) I Zeile 20000120

Method GET_LINE_BY_MODEL on class CL_GRID_VIEW_MM has no exception.

Method GET_MODEL_BY_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LINE Call by reference Type reference (TYPE) I Zeile 20000120
2 Returning RE_MODEL Value transfer Object reference (TYPE REF TO) IF_MODEL_MM Model 20000120

Method GET_MODEL_BY_LINE on class CL_GRID_VIEW_MM has no exception.

Method GET_MODEL_OF_CURRENT_CELL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_METAFIELD Call by reference Type reference (TYPE) MMPUR_METAFIELD Metafield 20000127
2 Exporting EX_MODEL Call by reference Object reference (TYPE REF TO) IF_MODEL_MM Model 20000127

Method GET_MODEL_OF_CURRENT_CELL on class CL_GRID_VIEW_MM has no exception.

Method GET_SELECTED_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_COLUMNS Value transfer Type reference (TYPE) LVC_T_COL ALV-Control: Tabelle von Zeilen des Typs LVC_S_COL 20070601

Method GET_SELECTED_COLUMNS on class CL_GRID_VIEW_MM has no exception.

Method GET_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MODELS Call by reference Type reference (TYPE) MMPUR_MODELS Modelle 20000126

Method GET_SELECTION on class CL_GRID_VIEW_MM has no exception.

Method GET_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_VARIANT Value transfer Type reference (TYPE) DISVARIANT Abap-Reportname 19991125

Method GET_VARIANT on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_AFTER_REFRESH Signature

Method HANDLE_AFTER_REFRESH on class CL_GRID_VIEW_MM has no parameter.
Method HANDLE_AFTER_REFRESH on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_CONTEXT_MENU_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_OBJECT Value transfer Attribute reference (LIKE) 20000127

Method HANDLE_CONTEXT_MENU_REQUEST on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ES_ROW_NO Value transfer Attribute reference (LIKE) 20000127
2 Importing E_COLUMN Value transfer Attribute reference (LIKE) 20000127
3 Importing E_ROW Value transfer Attribute reference (LIKE) 20000127

Method HANDLE_DOUBLE_CLICK on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ER_EVENT_DATA Value transfer Attribute reference (LIKE) 20000502
2 Importing ES_ROW_NO Value transfer Attribute reference (LIKE) 20000502
3 Importing ET_BAD_CELLS Value transfer Attribute reference (LIKE) 20000502
4 Importing E_FIELDNAME Value transfer Attribute reference (LIKE) 20000502

Method HANDLE_F4 on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_HOTSPOT_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) 20000120
2 Importing E_COLUMN_ID Call by reference Attribute reference (LIKE) 20000120
3 Importing E_ROW_ID Call by reference Attribute reference (LIKE) 20000120

Method HANDLE_HOTSPOT_CLICK on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_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) 19991125
2 Importing E_ONF4 Call by reference Attribute reference (LIKE) 20010727
3 Importing E_ONF4_AFTER Call by reference Attribute reference (LIKE) 20010727
4 Importing E_ONF4_BEFORE Call by reference Attribute reference (LIKE) 20010727

Method HANDLE_ON_DATA_CHANGED on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_ON_DATA_CHANGED_FIN 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) 20001013

Method HANDLE_ON_DATA_CHANGED_FIN on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_ON_DRAG 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) 19991125
2 Importing E_COLUMN Call by reference Attribute reference (LIKE) 19991125
3 Importing E_DRAGDROPOBJ Call by reference Attribute reference (LIKE) 19991125
4 Importing E_ROW Call by reference Attribute reference (LIKE) 19991125

Method HANDLE_ON_DRAG on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_ON_DROP 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) 20000117
2 Importing E_COLUMN Call by reference Attribute reference (LIKE) 20000117
3 Importing E_DRAGDROPOBJ Call by reference Attribute reference (LIKE) 20000117
4 Importing E_ROW Call by reference Attribute reference (LIKE) 20000117

Method HANDLE_ON_DROP on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_SUBTOTAL_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EP_SUBTOT_LINE Value transfer Attribute reference (LIKE) 20020401
2 Importing ES_SUBTOTTXT_INFO Value transfer Attribute reference (LIKE) 20020401
3 Importing E_EVENT_DATA Value transfer Attribute reference (LIKE) 20020401

Method HANDLE_SUBTOTAL_TEXT on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_TOOLBAR_CREATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INTERACTIVE Value transfer Attribute reference (LIKE) 20000126
2 Importing E_OBJECT Value transfer Attribute reference (LIKE) 20000126

Method HANDLE_TOOLBAR_CREATION on class CL_GRID_VIEW_MM has no exception.

Method HANDLE_USER_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_UCOMM Value transfer Attribute reference (LIKE) 20000126

Method HANDLE_USER_COMMAND on class CL_GRID_VIEW_MM has no exception.

Method IS_FIELD_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELDNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20000502
2 Importing IM_ROW_NO Call by reference Type reference (TYPE) LVC_S_ROID Zuordnung Zeilennummer zu Zeilen-ID 20000502
3 Returning RE_CHANGEABLE Value transfer Type reference (TYPE) MMPUR_BOOL Feld änderbar 20000502

Method IS_FIELD_CHANGEABLE on class CL_GRID_VIEW_MM has no exception.

Method NOTIFY_ROW_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ROW_ID Call by reference Type reference (TYPE) INT4 Zeilennummer 20010727

Method NOTIFY_ROW_CHANGED on class CL_GRID_VIEW_MM has no exception.

Method REMOVE_GRID Signature

Method REMOVE_GRID on class CL_GRID_VIEW_MM has no parameter.
Method REMOVE_GRID on class CL_GRID_VIEW_MM has no exception.

Method SELECT_DETAIL Signature

Method SELECT_DETAIL on class CL_GRID_VIEW_MM has no parameter.
Method SELECT_DETAIL on class CL_GRID_VIEW_MM has no exception.

Method SET_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DESELECT Call by reference Type reference (TYPE) MMPUR_BOOL Boolscher Typ 20071227
2 Importing IM_MODELS Call by reference Type reference (TYPE) MMPUR_MODELS Models 20011017

Method SET_SELECTION on class CL_GRID_VIEW_MM has no exception.

Method TOOLBAR_INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_BUTTONS Call by reference Type reference (TYPE) TTB_BUTTON Toolbarbuttons 20000126
2 Changing CH_MENUES Call by reference Type reference (TYPE) TTB_BTNMNU Zuordnung Toolbar-Button zu Kontextmenü 20000126

Method TOOLBAR_INIT on class CL_GRID_VIEW_MM has no exception.

Method TRANSPORT_FROM_ALV Signature

Method TRANSPORT_FROM_ALV on class CL_GRID_VIEW_MM has no parameter.
Method TRANSPORT_FROM_ALV on class CL_GRID_VIEW_MM has no exception.

Method UPDATE_GRID_DISPLAY Signature

Method UPDATE_GRID_DISPLAY on class CL_GRID_VIEW_MM has no parameter.
Method UPDATE_GRID_DISPLAY on class CL_GRID_VIEW_MM has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in