SAP CL_FDT_JSON OO Class - Optimized Json Transformation for BRFplus









CL_FDT_JSON 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 CL_FDT_JSON 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 CL_FDT_JSON 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
BRF_STRUC_TO_JSONHandle special BRF constructionsPrivate
CALL METHOD cl_fdt_json=>BRF_STRUC_TO_JSON...more details

CONVERT_TOKENDo neccessary conversions on tokenPrivate
CALL METHOD cl_fdt_json=>CONVERT_TOKEN...more details

DATA_TO_JSONConvert ABAP data into JSON formatPublic
CALL METHOD cl_fdt_json=>DATA_TO_JSON...more details

DATA_TO_JSON_INTERNALConvert ABAP data into JSON format (internal process)Private
CALL METHOD cl_fdt_json=>DATA_TO_JSON_INTERNAL...more details

GET_STRINGRetrieve key from JSONPrivate
CALL METHOD cl_fdt_json=>GET_STRING...more details

JSON_TO_BRF_STRUCHandle special BRF constructionsPrivate
CALL METHOD cl_fdt_json=>JSON_TO_BRF_STRUC...more details

JSON_TO_DATAConvert JSON format into ABAP dataPublic
CALL METHOD cl_fdt_json=>JSON_TO_DATA...more details

JSON_TO_DATA_INTERNALConvert JSON format into ABAP data (internal process)Private
CALL METHOD cl_fdt_json=>JSON_TO_DATA_INTERNAL...more details



CL_FDT_JSON 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
GC_ABAP_BOOLStatic Attribute' TYPE-POOL=ABAP TYPE=ABAP_BOOL'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_AMOUNTStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_AMOUNT'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_BOOLEANStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_BOOLEAN'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_NUMBERStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_NUMBER'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_QUANTITYStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_QUANTITY'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_TEXTStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_TEXT'LIKE
ABAP_ABSTYPENAME
Protected
GC_ELEMENT_TIMEPOINTStatic Attribute' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_TIMEPOINT'LIKE
ABAP_ABSTYPENAME
Protected
GC_FDT_AMOUNTStatic Attribute' TYPE=FDT_S_AMOUNT'LIKE
ABAP_ABSTYPENAME
Protected
GC_FDT_BOOLEANStatic Attribute' TYPE=FDT_BOOLEAN'LIKE
ABAP_ABSTYPENAME
Protected
GC_FDT_NUMBERStatic Attribute' TYPE=FDT_NUMBER_DECFLOAT'LIKE
ABAP_ABSTYPENAME
Protected
GC_FDT_QUANTITYStatic Attribute' TYPE=FDT_S_QUANTITY'LIKE
ABAP_ABSTYPENAME
Protected
GC_FDT_TIMEPOINTStatic Attribute' TYPE=FDT_S_TIMEPOINT'LIKE
ABAP_ABSTYPENAME
Protected
GT_ADMN_DATAInstance AttributeLIKE
Private
GT_DOBJ_DATAInstance AttributeLIKE
Private
GT_ELEM_DATAInstance AttributeLIKE
Private
GT_EXPR_DATAInstance AttributeLIKE
Private




CL_FDT_JSON types

S_ADMN_DATA -
S_DOBJ_DATA -
S_ELEM_DATA -
S_EXPR_DATA -
T_ADMN_DATA -
T_DOBJ_DATA -
T_ELEM_DATA -
T_EXPR_DATA -

Links to Related Class(s)

CL_FDT_J...
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!