CREATE_UI_ELEMENT_OLD SAP Method Create a UI element accoring to field type
Below is documentation, parameters and attributes of ABAP Method CREATE_UI_ELEMENT_OLD 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 CREATE_UI_ELEMENT_OLD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_UI_ELEMENT_OLD
.| Name | Type | Data Type | Description | Default Value |
| IV_BINDING_STRING | Importing | TYPE STRING | Binding string | |
| IV_DISABLED | Importing | TYPE STRING | DL = design layer decides, SPACE = enabled, X = disabled | |
| IV_DISPLAY_MODE | Importing | TYPE STRING | X = Element for display mode | |
| IV_FIELD_TYPE | Importing | TYPE CHAR1 | Field type (check CL_BSP_DLC_VIEW_DESCRIPTOR constants) | |
| IV_FORCE_DISABLED | Importing | TYPE CHAR1 | X = Element will be disabled | |
| IV_HORIZONTAL_ALIGNMENT | Importing | TYPE STRING | horizontal alignment | |
| IV_MANDATORY | Importing | TYPE STRING | DL = design layer decides, SPACE = enabled, X = disabled | |
| IV_OUTPUT_TYPE | Importing | TYPE STRING | 'ELEMENT' = BSP element, 'STRING' = HTMLB String | |
| IV_PAGE_CONTEXT | Importing | TYPE REF TO IF_BSP_PAGE_CONTEXT | BSP page context | |
| EV_BSP_ELEMENT | Exporting | TYPE REF TO IF_BSP_BEE | BSP element | |
| EV_BSP_STRING | Exporting | TYPE STRING |
Exceptions of Method CREATE_UI_ELEMENT_OLD
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_BSP_ELEMENT TYPE IF_BSP_BEE,
lv_EV_BSP_STRING TYPE STRING,
lv_IV_BINDING_STRING TYPE STRING,
lv_IV_DISABLED TYPE STRING,
lv_IV_DISPLAY_MODE TYPE STRING,
lv_IV_FIELD_TYPE TYPE CHAR1,
lv_IV_FORCE_DISABLED TYPE CHAR1,
lv_IV_HORIZONTAL_ALIGNMENT TYPE STRING,
lv_IV_MANDATORY TYPE STRING,
lv_IV_OUTPUT_TYPE TYPE STRING,
lv_IV_PAGE_CONTEXT TYPE IF_BSP_PAGE_CONTEXT,
lv_other TYPE c.
CALL METHOD CL_CHTMLB_CONFIG_UTILITY=>CREATE_UI_ELEMENT_OLD(
EXPORTING
IV_BINDING_STRING = lv_IV_BINDING_STRING
IV_DISABLED = lv_IV_DISABLED
IV_DISPLAY_MODE = lv_IV_DISPLAY_MODE
IV_FIELD_TYPE = lv_IV_FIELD_TYPE
IV_FORCE_DISABLED = lv_IV_FORCE_DISABLED
IV_HORIZONTAL_ALIGNMENT = lv_IV_HORIZONTAL_ALIGNMENT
IV_MANDATORY = lv_IV_MANDATORY
IV_OUTPUT_TYPE = lv_IV_OUTPUT_TYPE
IV_PAGE_CONTEXT = lv_IV_PAGE_CONTEXT
IMPORTING
EV_BSP_ELEMENT = lv_EV_BSP_ELEMENT
EV_BSP_STRING = lv_EV_BSP_STRING ).
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