LENGTH_SPLIT SAP Method Splits lenght into numeric value and unit
Below is documentation, parameters and attributes of ABAP Method LENGTH_SPLIT 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 LENGTH_SPLIT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method LENGTH_SPLIT
.| Name | Type | Data Type | Description | Default Value |
| IV_CORRECT_MINOR_FLAWS | Importing | TYPE ABAP_BOOL | corrects minor flaws | |
| IV_LENGTH | Importing | TYPE STRING | ||
| EV_NUMERIC_PART | Exporting | TYPE INT4 | Numeric part | |
| EV_UNIT_PART | Exporting | TYPE TEXT2 | Unit part |
Exceptions of Method LENGTH_SPLIT
INT4
TEXT2
Example ABAP coding
DATA: lv_EV_NUMERIC_PART TYPE INT4,
lv_EV_UNIT_PART TYPE TEXT2,
lv_IV_CORRECT_MINOR_FLAWS TYPE ABAP_BOOL,
lv_IV_LENGTH TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_CHTMLB_CONFIG_UTILITY=>LENGTH_SPLIT(
EXPORTING
IV_CORRECT_MINOR_FLAWS = lv_IV_CORRECT_MINOR_FLAWS
IV_LENGTH = lv_IV_LENGTH
IMPORTING
EV_NUMERIC_PART = lv_EV_NUMERIC_PART
EV_UNIT_PART = lv_EV_UNIT_PART ).
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