CALL_P_GETTER SAP Method call of P-Getter
Below is documentation, parameters and attributes of ABAP Method CALL_P_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 directlyThe following technical details of method CALL_P_GETTER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CALL_P_GETTER
.| Name | Type | Data Type | Description | Default Value |
| IV_COMPONENT | Importing | TYPE STRING | ||
| IV_DISPLAY_MODE | Importing | TYPE ABAP_BOOL | Display Mode? | |
| IV_GETTER | Importing | TYPE STRING | name of getter method | |
| IV_INDEX | Importing | TYPE I | Index in Table | |
| IV_MODEL | Importing | TYPE REF TO IF_BSP_MODEL | BSP: Basis Interface for Models | |
| IV_PARAMETER | Importing | TYPE STRING | ||
| EV_RESULT | Returning | TYPE STRING |
Exceptions of Method CALL_P_GETTER
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_RESULT TYPE STRING,
lv_IV_COMPONENT TYPE STRING,
lv_IV_DISPLAY_MODE TYPE ABAP_BOOL,
lv_IV_GETTER TYPE STRING,
lv_IV_INDEX TYPE I,
lv_IV_MODEL TYPE IF_BSP_MODEL,
lv_IV_PARAMETER TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_CHTMLB_CONFIG_UTILITY=>CALL_P_GETTER(
EXPORTING
IV_COMPONENT = lv_IV_COMPONENT
IV_DISPLAY_MODE = lv_IV_DISPLAY_MODE
IV_GETTER = lv_IV_GETTER
IV_INDEX = lv_IV_INDEX
IV_MODEL = lv_IV_MODEL
IV_PARAMETER = lv_IV_PARAMETER
RECEIVING
EV_RESULT = lv_EV_RESULT )
"Alternate coding for Method Call with returning parameter
lv_EV_RESULT = CL_CHTMLB_CONFIG_UTILITY=>CALL_P_GETTER(
EXPORTING
IV_COMPONENT = lv_IV_COMPONENT
IV_DISPLAY_MODE = lv_IV_DISPLAY_MODE
IV_GETTER = lv_IV_GETTER
IV_INDEX = lv_IV_INDEX
IV_MODEL = lv_IV_MODEL
IV_PARAMETER = lv_IV_PARAMETER ).
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