SAP ABAP Class CL_FDT_JSON_DEPRECATED (OBSOLETE -Json Transformation ( DO NOT USE ))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_DEPRECATED (Package) BRFplus: Deprecated Objects
⤷
⤷
Properties
| Class | CL_FDT_JSON_DEPRECATED | |
| Short Description | OBSOLETE -Json Transformation ( DO NOT USE ) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_DEPRECATED | BRFplus: Deprecated Objects |
| Created | 20130903 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_FDT_JSON_DEPRECATED has no interface implemented.
Friends
Class CL_FDT_JSON_DEPRECATED has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_AMOUNT' | 20130924 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_BOOLEAN' | 20130924 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_NUMBER' | 20130924 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_QUANTITY' | 20130924 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TEXT' | 20130924 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TIMEPOINT' | 20130924 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Serializes the context to Json | 20130924 | |
| 2 | Static method | Private | Method | 20130924 | ||
| 3 | Static method | Private | Method | 20130924 | ||
| 4 | Static method | Public | Method | Transforms a data object to a Json string | 20130924 | |
| 5 | Static method | Private | Method | Returns the element type of a complex value | 20130924 | |
| 6 | Static method | Private | Method | Returns a complex value | 20130924 | |
| 7 | Static method | Private | Method | Parses Json and set context | 20130924 | |
| 8 | Static method | Public | Method | Parses Json and set context | 20130924 | |
| 9 | Static method | Public | Method | Transforms a Json string to a data object | 20130924 | |
| 10 | Static method | Private | Method | 20130924 |
Events
Class CL_FDT_JSON_DEPRECATED has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_TOKEN | Private | See coding | 20130924 | BEGIN OF s_token,
value TYPE string, "value as string
is_complex_value TYPE boole_d, "true if amount/quantity/timepoint
value_amount TYPE if_fdt_types=>element_amount,
value_quantity TYPE if_fdt_types=>element_quantity,
value_timepoint TYPE if_fdt_types=>element_timepoint,
value_type TYPE if_fdt_types=>element_type,
END OF s_token
|
||
| 2 | T_CONTEXT_VALUE | Private | See coding | 20130924 | t_context_value TYPE STANDARD TABLE OF REF TO data
|
Method Signatures
Method CONTEXT_TO_JSON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20130924 | |||
| 2 | RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130924 |
Method CONTEXT_TO_JSON on class CL_FDT_JSON_DEPRECATED has no exception.
Method CONVERT_TO_COMPLEX_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CA_INTERNAL_VALUE | Call by reference | Type reference (TYPE) | ANY | 20130924 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | S_TOKEN | 20130924 | ||||
| 3 | IV_FORCE_COMPATIBILITY | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20130924 | |||
| 4 | IV_TYPE_NAME | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20130924 |
Method CONVERT_TO_COMPLEX_VALUE on class CL_FDT_JSON_DEPRECATED has no exception.
Method CONVERT_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CA_INTERNAL_VALUE | Call by reference | Type reference (TYPE) | ANY | 20130924 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | S_TOKEN | 20130924 |
Method CONVERT_VALUE on class CL_FDT_JSON_DEPRECATED has no exception.
Method DATA_TO_JSON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | ||||
| 2 | RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130924 |
Method DATA_TO_JSON on class CL_FDT_JSON_DEPRECATED has no exception.
Method GET_COMPLEX_ELEMENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TOKEN | Call by reference | Type reference (TYPE) | S_TOKEN | Token | 20130924 | |||
| 2 | CV_OFFSET | Call by reference | Type reference (TYPE) | I | 20130924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Errors related to JSON transformation | 20130924 |
Method GET_COMPLEX_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TOKEN | Call by reference | Type reference (TYPE) | S_TOKEN | 20130924 | ||||
| 2 | CV_OFFSET | Call by reference | Type reference (TYPE) | I | Offset | 20130924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Errors related to JSON transformation | 20130924 |
Method GET_CONTEXT_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20130924 | |||
| 2 | ER_STRUCTURE | Call by reference | Object reference (TYPE REF TO) | DATA | Structure of Context | 20130924 | |||
| 3 | ET_COMPDESCR | Call by reference | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | Component Description Table | 20130924 | |||
| 4 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20130924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130924 |
Method JSON_TO_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20130924 | |||
| 2 | IV_JSON | Call by reference | Type reference (TYPE) | STRING | Json | 20130924 |
Method JSON_TO_CONTEXT on class CL_FDT_JSON_DEPRECATED has no exception.
Method JSON_TO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | ||||
| 2 | IV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Errors related to JSON transformation | 20130924 |
Method JSON_TO_DATA_INTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | S_TOKEN | 20130924 | ||||
| 3 | IV_VALUE_IS_STRING | Call by reference | Type reference (TYPE) | BOOLE_D | True: Value is a string, embedded in ""..only used in interf | 20130924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Errors related to JSON transformation | 20130924 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |