SAP ABAP Class /UI2/CL_ABAP2JSON (/UI2/CL_ABAP2JSON)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/BASIS_SERVICES_START_UP (Package) UI BE: Start-Up of Frontend Shell

⤷

⤷

Properties
Class | /UI2/CL_ABAP2JSON | |
Short Description | ||
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /UI2/BASIS_SERVICES_START_UP | UI BE: Start-Up of Frontend Shell |
Created | 20120920 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /UI2/CL_ABAP2JSON has no interface implemented.
Friends
Class /UI2/CL_ABAP2JSON has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | /UI2/IF_SERIALIZE | Serializing Data | 20121205 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Constructor | 20121205 | |
2 | ![]() |
Static method | Public | Method | 20121204 | |
3 | ![]() |
Static method | Public | Method | Convert XSTRING to STRING | 20120920 |
4 | ![]() |
Instance method | Private | Method | 20120920 | |
5 | ![]() |
Instance method | Public | Method | Uses spezialized JSON serializer (for CR Viewer integration) | 20120920 |
6 | ![]() |
Instance method | Public | Method | 20121022 | |
7 | ![]() |
Instance method | Public | Method | 20120920 | |
8 | ![]() |
Instance method | Public | Method | 20120920 |
Events
Class /UI2/CL_ABAP2JSON has no event.
Types
Class /UI2/CL_ABAP2JSON has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CASE_TYPE | Call by reference | Type reference (TYPE) | I | /UI2/IF_SERIALIZE=>C_CASE_TYPE-CAMEL_CASE | 20121205 |
Method CONSTRUCTOR on class /UI2/CL_ABAP2JSON has no exception.
Method CONVERT_TO_CAMEL_CASE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ABAP_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | 20121204 | |||
2 | ![]() |
R_CAMEL_CASED | Value transfer | Type reference (TYPE) | STRING | 20121204 |
Method CONVERT_TO_CAMEL_CASE on class /UI2/CL_ABAP2JSON has no exception.
Method CONV_XSTRING_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20120920 | |||
2 | ![]() |
RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20120920 |
Method CONV_XSTRING_TO_STRING on class /UI2/CL_ABAP2JSON has no exception.
Method ROW2JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_JSON | Value transfer | Type reference (TYPE) | STRING | 20120920 | |||
2 | ![]() |
IT_FIELD_CAT | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120920 | ||
3 | ![]() |
IV_S_ROW | Call by reference | Type reference (TYPE) | ANY | 20120920 |
Method ROW2JSON on class /UI2/CL_ABAP2JSON has no exception.
Method SERIALIZE2JSON_STR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_JSON | Value transfer | Type reference (TYPE) | STRING | 20120920 | |||
2 | ![]() |
IT_CUSTOM_FIELDS | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120920 | |||
3 | ![]() |
IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120920 | |||
4 | ![]() |
IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20120920 | |||
5 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20120920 |
Method SERIALIZE2JSON_STR on class /UI2/CL_ABAP2JSON has no exception.
Method STRUC2JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_STRUC | Call by reference | Type reference (TYPE) | ANY | 20121022 | |||
2 | ![]() |
IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20121022 | |||
3 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20121022 | |||
4 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20121022 |
Method STRUC2JSON on class /UI2/CL_ABAP2JSON has no exception.
Method TABLE2JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_CUSTOM_FIELDS | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120920 | |||
2 | ![]() |
IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120920 | |||
3 | ![]() |
IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20120920 | |||
4 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20120920 | |||
5 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20120920 |
Method TABLE2JSON on class /UI2/CL_ABAP2JSON has no exception.
Method TABLES2JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_TABLES | Call by reference | Type reference (TYPE) | /UI2/T_TABLE_DESC | Description of tabels | 20120920 | ||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20120920 | |||
3 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20120920 |
Method TABLES2JSON on class /UI2/CL_ABAP2JSON has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 100 |