SAP ABAP Class CL_FPM_CHART_JSON_GENERATOR (JSON generation for CHART UIBB)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
⤷
APB_FPM_GUIBB (Package) Generic UI building blocks

⤷

⤷

Properties
Class | CL_FPM_CHART_JSON_GENERATOR | |
Short Description | JSON generation for CHART UIBB | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | APB_FPM_GUIBB | Generic UI building blocks |
Created | 20130128 | SAP |
Last change | 20141120 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_FPM_CHART_JSON_GENERATOR has no interface implemented.
Friends
Class CL_FPM_CHART_JSON_GENERATOR 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) | I | 10000 | maximum of data points (including 0) | 20130920 | |
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | 100000 | Maximal length of JSON string | 20130920 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Creates a reduced table containing only needed columns | 20130129 |
2 | ![]() |
Static method | Private | Method | 20130128 | |
3 | ![]() |
Static method | Private | Method | 20130207 | |
4 | ![]() |
Static method | Private | Method | 20130128 | |
5 | ![]() |
Static method | Public | Method | 20130128 | |
6 | ![]() |
Static method | Public | Method | Creates a reduced table containing only needed columns | 20130424 |
7 | ![]() |
Static method | Public | Method | 20130128 | |
8 | ![]() |
Static method | Public | Method | 20140120 | |
9 | ![]() |
Static method | Public | Method | 20130206 | |
10 | ![]() |
Static method | Public | Method | 20140129 | |
11 | ![]() |
Static method | Public | Method | 20140206 | |
12 | ![]() |
Static method | Public | Method | 20140206 | |
13 | ![]() |
Static method | Public | Method | 20140207 |
Events
Class CL_FPM_CHART_JSON_GENERATOR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | YS_ARRAY_BUFFER | Private | See coding | 20130128 | begin of ys_array_buffer,
key type string,
array type ref to cl_fpm_json_array,
end of ys_array_buffer
|
||
2 | YS_CHART_ELEMENT | Public | Type reference (TYPE) | CL_FPM_CHART_UIBB_ASSIST=>YS_ELEMENT | 20130128 | |
|
3 | YS_DIMENSION_VALUES | Public | See coding | 20130205 | begin of YS_DIMENSION_VALUES,
axis_index type i,
lr_values type ref to data,
end of ys_dimension_values
|
||
4 | YS_FILTER | Public | See coding | 20130319 | begin of YS_FILTER,
name type name_komp,
value type ref to data,
end of ys_filter
|
||
5 | YS_FILTERED_VALUES | Public | See coding | 20130319 | begin of ys_filtered_values,
name type name_komp,
values type ref to data,
end of ys_filtered_values
|
||
6 | YS_KEY | Private | See coding | 20130129 | begin of ys_key,
name type name_komp,
keys type ref to data,
count type i,
div type i,
displayed_keys type ref to data,
end of ys_key
|
||
7 | YS_SELECTED_INDICES | Public | See coding | 20140206 | begin of ys_selected_indices,
measure type name_komp,
indices type standard table of sytabix with default key,
end of ys_selected_indices
|
||
8 | YS_SELECTION | Public | See coding | 20130206 | begin of ys_selection,
measure_grp_index type i,
measure_index type i,
dimension_index_axis1 type i,
dimension_index_axis2 type i,
value type string,
end of ys_selection
|
||
9 | YT_CHART_ELEMENT | Public | See coding | 20130128 | yt_chart_element type standard table of ys_chart_element WITH KEY data_type axis_index index
|
||
10 | YT_DIMENSION_VALUES | Public | See coding | 20130205 | yt_dimension_values type standard table of ys_dimension_values with DEFAULT KEY
|
||
11 | YT_FILTER | Public | See coding | 20130319 | yt_filter type standard table of ys_filter with KEY name
|
||
12 | YT_FILTERED_VALUES | Public | See coding | 20130319 | yt_filtered_values type sorted table of ys_filtered_values with UNIQUE key name
|
||
13 | YT_KEY | Private | See coding | 20130130 | yt_key type standard table of ys_key with key name
|
||
14 | YT_SELECTED_INDICES | Public | See coding | 20140206 | yt_selected_indices type standard table of ys_selected_indices with key measure
|
||
15 | YT_SELECTION | Public | See coding | 20130206 | yt_selection type standard table of ys_selection with DEFAULT KEY
|
Method Signatures
Method CREATE_DATA_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_DATA_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | Normalized data table to be used in JSON generation | 20130130 | ||
2 | ![]() |
ET_FILTERED_VALUES | Call by reference | Type reference (TYPE) | YT_FILTERED_VALUES | List of available values for fields with filter | 20130319 | ||
3 | ![]() |
ET_KEY_TAB | Call by reference | Type reference (TYPE) | YT_KEY | List of key fields with their values | 20130130 | ||
4 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Data table as passed from the application | 20130129 | ||
5 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | Data/Axis Configuration | 20130129 | ||
6 | ![]() |
IT_FIELD_DESCRIPTION | Call by reference | Type reference (TYPE) | FPMGB_T_CHARTFIELD_DESCR | Chart Field Description | 20130207 | ||
7 | ![]() |
IT_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | Filter values (only one value per field) | 20130319 | ||
8 | ![]() |
IV_CHART_TYPE | Call by reference | Type reference (TYPE) | FPMGB_CHART_TYPE | Chart Type | 20130130 |
Method CREATE_DATA_TABLE on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method CREATE_DIMENSION_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20130128 | |||
2 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | 20130128 | |||
3 | ![]() |
IT_FIELD_DESCRIPTION | Call by reference | Type reference (TYPE) | FPMGB_T_CHARTFIELD_DESCR | Chart Field Description | 20130207 | ||
4 | ![]() |
IV_AXIS_INDEX | Call by reference | Type reference (TYPE) | FPMGB_AXIS_INDEX | Axis Index for Chart | 20130128 | ||
5 | ![]() |
IV_CHART_TYPE | Call by reference | Type reference (TYPE) | FPMGB_CHART_TYPE | Chart Type | 20130131 | ||
6 | ![]() |
RR_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | 20130128 |
Method CREATE_DIMENSION_TABLE on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method CREATE_TEXT_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20130207 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | NAME_KOMP | Component name | 20130207 | ||
3 | ![]() |
RT_TEXT | Value transfer | Type reference (TYPE) | WDR_CONTEXT_ATTR_VALUE_LIST | All Fixed Values of an Attribute with Texts | 20130207 |
Method CREATE_TEXT_TABLE on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method CREATE_VALUE_ARRAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20130128 | |||
2 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | 20130128 | |||
3 | ![]() |
IV_MEASURE | Call by reference | Type reference (TYPE) | NAME_KOMP | Component name | 20130128 | ||
4 | ![]() |
RO_JSON_ARRAY | Value transfer | Object reference (TYPE REF TO) | CL_FPM_JSON_ARRAY | JSON Array (backed by an internal one column table) | 20130128 |
Method CREATE_VALUE_ARRAY on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method GET_DATA_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_CROSSTABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Crosstable in external representation | 20140205 | ||
2 | ![]() |
ER_CROSSTABLE_INT | Call by reference | Object reference (TYPE REF TO) | DATA | Crosstable in internal representation | 20140206 | ||
3 | ![]() |
ET_DIMENSION_VALUES | Call by reference | Type reference (TYPE) | YT_DIMENSION_VALUES | 20130205 | |||
4 | ![]() |
ET_FILTERED_VALUES | Call by reference | Type reference (TYPE) | YT_FILTERED_VALUES | List of values for filtered columns | 20130319 | ||
5 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | FPMGB_T_MESSAGES | FPMGB Messages (T100 & Plaintext) | 20130920 | ||
6 | ![]() |
EV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130205 | |||
7 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20130128 | |||
8 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | 20130128 | |||
9 | ![]() |
IT_FIELD_DESCRIPTION | Call by reference | Type reference (TYPE) | FPMGB_T_CHARTFIELD_DESCR | Chart Field Description | 20130207 | ||
10 | ![]() |
IT_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | 20130319 | |||
11 | ![]() |
IV_CHART_TYPE | Call by reference | Type reference (TYPE) | FPMGB_CHART_TYPE | Chart Type | 20130130 |
Method GET_DATA_JSON on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method GET_DATA_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_DATA_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | Normalized data table to be used in JSON generation | 20130424 | ||
2 | ![]() |
ET_FILTERED_VALUES | Call by reference | Type reference (TYPE) | YT_FILTERED_VALUES | 20130704 | |||
3 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Data table as passed from the application | 20130424 | ||
4 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | Data/Axis Configuration | 20130424 | ||
5 | ![]() |
IT_FIELD_DESCRIPTION | Call by reference | Type reference (TYPE) | FPMGB_T_CHARTFIELD_DESCR | Chart Field Description | 20130424 | ||
6 | ![]() |
IT_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | Filter values (only one value per field) | 20130424 | ||
7 | ![]() |
IV_CHART_TYPE | Call by reference | Type reference (TYPE) | FPMGB_CHART_TYPE | Chart Type | 20130424 |
Method GET_DATA_TABLE on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method GET_OPTIONS_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_SETTINGS | Call by reference | Type reference (TYPE) | CL_FPM_CHART_UIBB_ASSIST=>YS_SETTINGS | 20130128 | |||
2 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130128 |
Method GET_OPTIONS_JSON on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method GET_SELECTION_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_CROSSTABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Crosstable in external representation | 20140211 | ||
2 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | YT_CHART_ELEMENT | 20140211 | |||
3 | ![]() |
IT_SELECTED_INDICES | Call by reference | Type reference (TYPE) | YT_SELECTED_INDICES | Selected Crosstable Indices | 20140211 | ||
4 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20140120 |
Method GET_SELECTION_JSON on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method IS_XY_PLOT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CHART_TYPE | Call by reference | Type reference (TYPE) | FPMGB_CHART_TYPE | Chart Type | 20130206 | ||
2 | ![]() |
RV_IS_XY_PLOT | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20130206 |
Method IS_XY_PLOT on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method JSON_TO_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_JSON | Call by reference | Type reference (TYPE) | STRING | 20140129 | |||
2 | ![]() |
RO_XML | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20140129 |
Method JSON_TO_XML on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method PARSE_CURRENT_SELECTION_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_JSON | Call by reference | Type reference (TYPE) | STRING | 20140206 | |||
2 | ![]() |
RT_SELECTION | Value transfer | Type reference (TYPE) | YT_SELECTION | 20140206 |
Method PARSE_CURRENT_SELECTION_DATA on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method PARSE_SELECTION_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_CROSSTABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20140206 | |||
2 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | CL_FPM_CHART_UIBB_ASSIST=>YT_ELEMENT | 20140206 | |||
3 | ![]() |
IV_SELECTION_JSON | Call by reference | Type reference (TYPE) | STRING | 20140206 | |||
4 | ![]() |
RT_SELECTION | Value transfer | Type reference (TYPE) | YT_SELECTED_INDICES | Selected Indices in the crosstable | 20140206 |
Method PARSE_SELECTION_JSON on class CL_FPM_CHART_JSON_GENERATOR has no exception.
Method PARSE_SELECTION_JSON_XY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_CROSSTABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20140207 | |||
2 | ![]() |
IT_ELEMENT | Call by reference | Type reference (TYPE) | CL_FPM_CHART_UIBB_ASSIST=>YT_ELEMENT | 20140207 | |||
3 | ![]() |
IV_SELECTION_JSON | Call by reference | Type reference (TYPE) | STRING | 20140207 | |||
4 | ![]() |
RT_SELECTION | Value transfer | Type reference (TYPE) | YT_SELECTED_INDICES | Selected Indices in the crosstable | 20140207 |
Method PARSE_SELECTION_JSON_XY on class CL_FPM_CHART_JSON_GENERATOR has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 740 |