CALL_GETTER SAP Method call of Getter









Below is documentation, parameters and attributes of ABAP Method CALL_GETTER within SAP class CL_CHTMLB_CONFIG_UTILITY. 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_CHTMLB_CONFIG_UTILITY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method CALL_GETTER can also be found below:

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


Parameters of Method CALL_GETTER

.

NameTypeData TypeDescriptionDefault Value
IV_COMPONENTImportingTYPE
STRING
IV_GETTERImportingTYPE
STRING
name of getter method
IV_INDEXImportingTYPE
I
Index in Table
IV_MODELImportingTYPE REF TO
IF_BSP_MODEL
BSP: Basis Interface for Models
EV_RESULTReturningTYPE
STRING



Exceptions of Method CALL_GETTER

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_RESULT TYPE STRING,
lv_IV_COMPONENT TYPE STRING,
lv_IV_GETTER TYPE STRING,
lv_IV_INDEX TYPE I,
lv_IV_MODEL TYPE IF_BSP_MODEL,
lv_other TYPE c.

CALL METHOD CL_CHTMLB_CONFIG_UTILITY=>CALL_GETTER(
EXPORTING
IV_COMPONENT = lv_IV_COMPONENT
IV_GETTER = lv_IV_GETTER
IV_INDEX = lv_IV_INDEX
IV_MODEL = lv_IV_MODEL
RECEIVING
EV_RESULT = lv_EV_RESULT )



"Alternate coding for Method Call with returning parameter
lv_EV_RESULT = CL_CHTMLB_CONFIG_UTILITY=>CALL_GETTER(
EXPORTING
IV_COMPONENT = lv_IV_COMPONENT
IV_GETTER = lv_IV_GETTER
IV_INDEX = lv_IV_INDEX
IV_MODEL = lv_IV_MODEL ).

Links to Related Class(s)

CL_CHTML...
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!