ESCAPE SAP Method Escapes JSON String
Below is documentation, parameters and attributes of ABAP Method ESCAPE within SAP class /SCMB/CL_GIS_JSON_UTIL. 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 /SCMB/CL_GIS_JSON_UTIL 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 ESCAPE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ESCAPE
.| Name | Type | Data Type | Description | Default Value |
| IN | Importing | TYPE ANY | Text to escape | |
| IN | Importing | TYPE ANY | ||
| OUT | Returning | TYPE STRING | Processed text | |
| OUT | Returning | TYPE STRING |
Exceptions of Method ESCAPE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IN TYPE ANY,
lv_OUT TYPE STRING,
lv_IN TYPE ANY,
lv_OUT TYPE STRING,
lv_other TYPE c.
CALL METHOD /SCMB/CL_GIS_JSON_UTIL=>ESCAPE(
EXPORTING
IN = lv_IN
IN = lv_IN
RECEIVING
OUT = lv_OUT
OUT = lv_OUT )
"Alternate coding for Method Call with returning parameter
lv_OUT = /SCMB/CL_GIS_JSON_UTIL=>ESCAPE(
EXPORTING
IN = lv_IN
IN = lv_IN ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects