2015 Feb 27 4:22 AM
I am getting the above error while try to create a graph_matrix_3D
I tried to search goggle but was not been able to find anything useful.
Here the piece of code I am using, can anyone pleas help:
REPORT zmkv_grapgh_test1.
TYPES: BEGIN OF ty_graph,
lgort TYPE char10,
menge TYPE i,
menge1 TYPE i,
END OF ty_graph.
TYPES : BEGIN OF ty_opttable,
options(30) TYPE c,
END OF ty_opttable.
DATA: gs_graph TYPE ty_graph,
gt_graph TYPE TABLE OF ty_graph,
gs_opttable TYPE ty_opttable,
gt_opttable TYPE TABLE OF ty_opttable.
*appending values into the options internal table
gs_opttable-options = 'P3TYPE = TO'.
APPEND gs_opttable TO gt_opttable.
gs_opttable-options = 'P2TYPE = VB'.
APPEND gs_opttable TO gt_opttable.
gs_opttable-options = 'TISIZE = 1'.
APPEND gs_opttable TO gt_opttable.
*appending values into the data internal table
gs_graph-lgort = 'SI01'.
gs_graph-menge = 30.
gs_graph-menge1 = 31.
APPEND gs_graph TO gt_graph.
gs_graph-lgort = 'SI07'.
gs_graph-menge = 20.
gs_graph-menge1 = 21.
APPEND gs_graph TO gt_graph.
gs_graph-lgort = 'WD01'.
gs_graph-menge = 40.
gs_graph-menge1 = 41.
APPEND gs_graph TO gt_graph.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
col1 = 'LGORT'
col2 = 'MENGE'
col3 = 'MENGE1'
titl = 'Inventory Trend'
TABLES
data = gt_graph
opts = gt_opttable
EXCEPTIONS
other = 1.
2015 Nov 01 5:24 AM
Hi Mayank,
I am getting the same error. Were you able to resolve it.
Regards,
Niketa
2015 Nov 02 5:15 AM
Hi,
could you refer to this blog and try to copy the code.
it should be worked, and try to adjust your code
using Graph_matrix_3d function module | SCN
Regards