ASSIGN_CELL SAP Method Set Single Cell (After Drop or F4)









Below is documentation, parameters and attributes of ABAP Method ASSIGN_CELL within SAP class CL_GUI_ECATT_XML_TABLE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_ECATT_XML_TABLE 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 ASSIGN_CELL can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ASSIGN_CELL

.

NameTypeData TypeDescriptionDefault Value
IM_COLUMNImportingTYPE
LVC_FNAME
ALV Control: Column ID
IM_ROWImportingTYPE
LVC_S_ROW
ALV control: Line Description
IM_ROWKEYImportingTYPE
ETXML_KEY
Line Key in Which Is to Be Set
IM_ROW_NOImportingTYPE
LVC_S_ROID
Assignment of Line Number to Line ID
CH_REFNAMEChangingTYPE
ETDOM_NAME
Name of a Node in DOM
CH_VALUEChangingTYPE
ETDOM_NAME
Name of a Node in DOM



Exceptions of Method ASSIGN_CELL

CX_ECATT_GUI_XML - eCATT GUI XML Editor Exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_GUI_ECATT_XML_TABLE.
DATA: lv_CH_REFNAME TYPE ETDOM_NAME,
lv_CH_VALUE TYPE ETDOM_NAME,
lv_IM_COLUMN TYPE LVC_FNAME,
lv_IM_ROW TYPE LVC_S_ROW,
lv_IM_ROWKEY TYPE ETXML_KEY,
lv_IM_ROW_NO TYPE LVC_S_ROID,
lv_other TYPE c.

CALL METHOD lo_class=>ASSIGN_CELL(
EXPORTING
IM_COLUMN = lv_IM_COLUMN
IM_ROW = lv_IM_ROW
IM_ROWKEY = lv_IM_ROWKEY
IM_ROW_NO = lv_IM_ROW_NO
CHANGING
CH_REFNAME = lv_CH_REFNAME
CH_VALUE = lv_CH_VALUE ).

Links to Related Class(s)

CL_GUI_E...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!