SAP /SCMB/CL_GIS_JSON_UTIL OO Class - JSON converter









/SCMB/CL_GIS_JSON_UTIL is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCMB/CL_GIS_JSON_UTIL including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of /SCMB/CL_GIS_JSON_UTIL SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD /scmb/cl_gis_json_util=>CLASS_CONSTRUCTOR...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD /scmb/cl_gis_json_util=>CONSTRUCTOR...more details

DESERIALIZEDe-Serializes objectPublic
CALL METHOD /scmb/cl_gis_json_util=>DESERIALIZE...more details

DESERIALIZE_INTDeserializes ABAP object from JSONProtected
CALL METHOD /scmb/cl_gis_json_util=>DESERIALIZE_INT...more details

DUMPRecursive conversionProtected
CALL METHOD /scmb/cl_gis_json_util=>DUMP...more details

DUMP_SYMBOLSDump to JSON symbol tableProtected
CALL METHOD /scmb/cl_gis_json_util=>DUMP_SYMBOLS...more details

DUMP_TYPEDumps elementary type to stringProtected
CALL METHOD /scmb/cl_gis_json_util=>DUMP_TYPE...more details

EDM_DATETIME_TO_TSProtected
CALL METHOD /scmb/cl_gis_json_util=>EDM_DATETIME_TO_TS...more details

ESCAPEEscapes JSON StringProtected
CALL METHOD /scmb/cl_gis_json_util=>ESCAPE...more details

GENERATE_INTGenerates ABAP object from JSONProtected
CALL METHOD /scmb/cl_gis_json_util=>GENERATE_INT...more details

GENERATE_INT_EXGenerates ABAP object from JSONProtected
CALL METHOD /scmb/cl_gis_json_util=>GENERATE_INT_EX...more details

GET_FIELDSPrepares structure fields cacheProtected
CALL METHOD /scmb/cl_gis_json_util=>GET_FIELDS...more details

GET_SYMBOLSAlternative impl. of CL_ABAP_STRUCTDESCR=>GET_SYMBOLS_TABProtected
CALL METHOD /scmb/cl_gis_json_util=>GET_SYMBOLS...more details

IS_COMPRESSABLECheck if initial field shall be compressedProtected
CALL METHOD /scmb/cl_gis_json_util=>IS_COMPRESSABLE...more details

PRETTY_NAMEPrettyPrint namesProtected
CALL METHOD /scmb/cl_gis_json_util=>PRETTY_NAME...more details

PRETTY_NAME_EXPrettyPrint names in extended formProtected
CALL METHOD /scmb/cl_gis_json_util=>PRETTY_NAME_EX...more details

RESTOREDeserialize JSON to ABAPProtected
CALL METHOD /scmb/cl_gis_json_util=>RESTORE...more details

RESTORE_TYPEDeserialize JSON to ABAPProtected
CALL METHOD /scmb/cl_gis_json_util=>RESTORE_TYPE...more details

SERIALIZESerializes objectPublic
CALL METHOD /scmb/cl_gis_json_util=>SERIALIZE...more details

SERIALIZE_INTSerializes ABAP object to JSONProtected
CALL METHOD /scmb/cl_gis_json_util=>SERIALIZE_INT...more details

STRING_TO_XSTRINGConverts XSTRING data to STRINGProtected
CALL METHOD /scmb/cl_gis_json_util=>STRING_TO_XSTRING...more details

XSTRING_TO_STRINGConverts XSTRING data to STRINGProtected
CALL METHOD /scmb/cl_gis_json_util=>XSTRING_TO_STRING...more details



/SCMB/CL_GIS_JSON_UTIL attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
C_BOOLConstantLIKE
Public
C_TRIBOOLConstantLIKE
Public
MC_BOOL_3STATEStatic Attribute` TYPE=BOOLEAN`LIKE
STRING
Public
MC_BOOL_TYPESStatic Attribute` TYPE-POOL=ABAP TYPE=ABAP_BOOL TYPE=BOOLEAN TYPE=BOOLE_D TYPE=XFELD`LIKE
STRING
Public
MC_JSON_TYPEStatic AttributeAbsolute name of JSON string typeLIKE
STRING
Public
MC_KEY_SEPARATORConstantSeparator inserted between parts of compound keys`-`LIKE
STRING
Public
MC_ME_TYPEStatic AttributeThe class nameLIKE
STRING
Private
MV_ASSOC_ARRAYSInstance AttributeSerialize tables with unique keys as associative arrayLIKE
BOOL
Protected
MV_ASSOC_ARRAYS_OPTInstance AttributeOptimize rendering of name value mapsLIKE
BOOL
Protected
MV_EXTENDEDInstance AttributeThe class is used as based classLIKE
BOOL
Private
MV_PRETTY_NAMEInstance AttributeLIKE
PRETTY_NAME_MODE
Protected
PRETTY_MODEConstantLIKE
Public
SV_WHITE_SPACEStatic AttributeWhite space charactersLIKE
STRING
Public




/SCMB/CL_GIS_JSON_UTIL types

BOOL - 2 state boolean type ('X' - true, '' - false), as abap_bool
JSON - JSON string
NAME_MAPPING - ABAP<->JSON Name Mapping
NAME_MAPPINGS - ABAP<->JSON Name Mapping Table
NAME_MAPPINGS_EX -
PRETTY_NAME_MODE - Name conversion mode
TRIBOOL - 3 state boolean type ('X'-true, '-'-false, ''-undefined)
T_S_FIELD_CACHE -
T_S_SYMBOL - Helper type for structure fields iteration
T_T_FIELD_CACHE -
T_T_SYMBOL - Standard table of T_S_SYMBOL

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!