GET_CURRENT_CELL SAP Method Current Row
Below is documentation, parameters and attributes of ABAP Method GET_CURRENT_CELL within SAP class CL_GUI_ALV_GRID. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_GUI_ALV_GRID into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method GET_CURRENT_CELL can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_CURRENT_CELL
.| Name | Type | Data Type | Description | Default Value |
| ES_COL_ID | Exporting | TYPE LVC_S_COL | Column ID | |
| ES_ROW_ID | Exporting | TYPE LVC_S_ROW | Row ID | |
| ES_ROW_NO | Exporting | TYPE LVC_S_ROID | Numeric Row ID | |
| E_COL | Exporting | TYPE I | Column on Grid | |
| E_ROW | Exporting | TYPE I | Row on Grid | |
| E_VALUE | Exporting | TYPE C | Value |
Exceptions of Method GET_CURRENT_CELL
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_GUI_ALV_GRID.
DATA: lv_ES_COL_ID TYPE LVC_S_COL,
lv_ES_ROW_ID TYPE LVC_S_ROW,
lv_ES_ROW_NO TYPE LVC_S_ROID,
lv_E_COL TYPE I,
lv_E_ROW TYPE I,
lv_E_VALUE TYPE C,
lv_other TYPE c.
CALL METHOD lo_class=>GET_CURRENT_CELL(
IMPORTING
ES_COL_ID = lv_ES_COL_ID
ES_ROW_ID = lv_ES_ROW_ID
ES_ROW_NO = lv_ES_ROW_NO
E_COL = lv_E_COL
E_ROW = lv_E_ROW
E_VALUE = lv_E_VALUE ).
Links to Related Class(s)
CL_GUI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects