REGISTER_MANDATORY_FIELD SAP Method Register mandatory fields
Below is documentation, parameters and attributes of ABAP Method REGISTER_MANDATORY_FIELD within SAP class CL_CHTMLB_CONTENT. 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_CONTENT 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 REGISTER_MANDATORY_FIELD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method REGISTER_MANDATORY_FIELD
.| Name | Type | Data Type | Description | Default Value |
| IV_ID | Importing | TYPE STRING | ||
| EV_SCRIPT | Returning | TYPE STRING |
Exceptions of Method REGISTER_MANDATORY_FIELD
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_CHTMLB_CONTENT.
DATA: lv_EV_SCRIPT TYPE STRING,
lv_IV_ID TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>REGISTER_MANDATORY_FIELD(
EXPORTING
IV_ID = lv_IV_ID
RECEIVING
EV_SCRIPT = lv_EV_SCRIPT )
"Alternate coding for Method Call with returning parameter
lv_EV_SCRIPT = lo_class=>REGISTER_MANDATORY_FIELD(
EXPORTING
IV_ID = lv_IV_ID ).
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