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 Name | Description | Visability |
BRF_STRUC_TO_JSON | Handle special BRF constructions | Private |
CALL METHOD cl_fdt_json=>BRF_STRUC_TO_JSON...more details | ||
CONVERT_TOKEN | Do neccessary conversions on token | Private |
CALL METHOD cl_fdt_json=>CONVERT_TOKEN...more details | ||
DATA_TO_JSON | Convert ABAP data into JSON format | Public |
CALL METHOD cl_fdt_json=>DATA_TO_JSON...more details | ||
DATA_TO_JSON_INTERNAL | Convert ABAP data into JSON format (internal process) | Private |
CALL METHOD cl_fdt_json=>DATA_TO_JSON_INTERNAL...more details | ||
GET_STRING | Retrieve key from JSON | Private |
CALL METHOD cl_fdt_json=>GET_STRING...more details | ||
JSON_TO_BRF_STRUC | Handle special BRF constructions | Private |
CALL METHOD cl_fdt_json=>JSON_TO_BRF_STRUC...more details | ||
| ||
JSON_TO_DATA | Convert JSON format into ABAP data | Public |
CALL METHOD cl_fdt_json=>JSON_TO_DATA...more details | ||
JSON_TO_DATA_INTERNAL | Convert 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.
Name | Level | Description | Initial Value | Type | Visability |
GC_ABAP_BOOL | Static Attribute | ' TYPE-POOL=ABAP TYPE=ABAP_BOOL' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_AMOUNT | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_AMOUNT' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_BOOLEAN | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_BOOLEAN' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_NUMBER | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_NUMBER' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_QUANTITY | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_QUANTITY' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_TEXT | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_TEXT' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_ELEMENT_TIMEPOINT | Static Attribute | ' INTERFACE=IF_FDT_TYPES TYPE=ELEMENT_TIMEPOINT' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_FDT_AMOUNT | Static Attribute | ' TYPE=FDT_S_AMOUNT' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_FDT_BOOLEAN | Static Attribute | ' TYPE=FDT_BOOLEAN' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_FDT_NUMBER | Static Attribute | ' TYPE=FDT_NUMBER_DECFLOAT' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_FDT_QUANTITY | Static Attribute | ' TYPE=FDT_S_QUANTITY' | LIKE ABAP_ABSTYPENAME | Protected | |
GC_FDT_TIMEPOINT | Static Attribute | ' TYPE=FDT_S_TIMEPOINT' | LIKE ABAP_ABSTYPENAME | Protected | |
GT_ADMN_DATA | Instance Attribute | LIKE | Private | ||
GT_DOBJ_DATA | Instance Attribute | LIKE | Private | ||
GT_ELEM_DATA | Instance Attribute | LIKE | Private | ||
GT_EXPR_DATA | Instance Attribute | LIKE | 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