CREATE_WITH_FLAGS SAP Method Creates an Instance with Special Flags for the Converter
Below is documentation, parameters and attributes of ABAP Method CREATE_WITH_FLAGS within SAP class CL_ABAP_CONV_IN_CE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_ABAP_CONV_IN_CE 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_WITH_FLAGS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_WITH_FLAGS
.| Name | Type | Data Type | Description | Default Value |
| ENCODING | Importing | TYPE ABAP_ENCODING | Input Character Format | |
| ENDIAN | Importing | TYPE ABAP_ENDIAN | Input Byte Sequence | |
| FILTER | Importing | TYPE RSCPDROP | Filtering of Characters | |
| IGNORE_CERR | Importing | TYPE ABAP_BOOL | Flag: Ignore Errors When Converting Character Set | |
| INPUT | Importing | TYPE XSEQUENCE | Input Buffer (X, XSTRING) | |
| REPLACEMENT | Importing | TYPE ABAP_REPL | Replacement Character for Character Set Conversion | |
| ENDIAN | Importing | TYPE ABAP_ENDIAN | Input byte order | |
| CONV | Returning | TYPE REF TO CL_ABAP_CONV_IN_CE | New Converter Instance |
Exceptions of Method CREATE_WITH_FLAGS
CX_PARAMETER_INVALID_RANGE - Parameter with invalid value rangeExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_CONV TYPE CL_ABAP_CONV_IN_CE,
lv_ENCODING TYPE ABAP_ENCODING,
lv_ENDIAN TYPE ABAP_ENDIAN,
lv_FILTER TYPE RSCPDROP,
lv_IGNORE_CERR TYPE ABAP_BOOL,
lv_INPUT TYPE XSEQUENCE,
lv_REPLACEMENT TYPE ABAP_REPL,
lv_ENDIAN TYPE ABAP_ENDIAN,
lv_other TYPE c.
CALL METHOD CL_ABAP_CONV_IN_CE=>CREATE_WITH_FLAGS(
EXPORTING
ENCODING = lv_ENCODING
ENDIAN = lv_ENDIAN
FILTER = lv_FILTER
IGNORE_CERR = lv_IGNORE_CERR
INPUT = lv_INPUT
REPLACEMENT = lv_REPLACEMENT
ENDIAN = lv_ENDIAN
RECEIVING
CONV = lv_CONV )
"Alternate coding for Method Call with returning parameter
lv_CONV = CL_ABAP_CONV_IN_CE=>CREATE_WITH_FLAGS(
EXPORTING
ENCODING = lv_ENCODING
ENDIAN = lv_ENDIAN
FILTER = lv_FILTER
IGNORE_CERR = lv_IGNORE_CERR
INPUT = lv_INPUT
REPLACEMENT = lv_REPLACEMENT
ENDIAN = lv_ENDIAN ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects