TYPES: BEGIN OF ty_graphdata,
text TYPE char15,
val1 TYPE f,
val2 TYPE f,
val3 TYPE f,
val4 TYPE f,
END OF ty_graphdata.
TYPES: BEGIN OF ty_options,
option TYPE char20,
END OF ty_options.
DATA: it_main TYPE STANDARD TABLE OF ty_graphdata WITH DEFAULT KEY.
DATA: it_options TYPE STANDARD TABLE OF ty_options WITH DEFAULT KEY.
APPEND VALUE #( text = 'Country1' val1 = '52.0' val2 = '66.0' val3 = '0.9' val4 = '93.0' ) TO it_main.
APPEND VALUE #( text = 'Country2' val1 = '18.0' val2 = '22.0' val3 = '19.0' val4 = '92.0' ) TO it_main.
APPEND VALUE #( text = 'Country3' val1 = '50.0' val2 = '65.0' val3 = '59.0' val4 = '99.0' ) TO it_main.
APPEND VALUE #( option = 'P3TYPE = LI' ) TO it_options.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
col1 = '2013'
col2 = '2014'
col3 = '2015'
col4 = '2016'
titl = '3D-Werteanzeige'
TABLES
data = it_main
opts = it_options.