아래는 사용예입니다.
*&---------------------------------------------------------------------*
*& Report Z_TEST_3D_GRAPHIC
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
report z_test_3d_graphic.
data: begin of itab_data occurs 0,
dataname(15),
quantity1 type i,
quantity2 type i,
quantity3 type i,
end of itab_data,
begin of itab_options occurs 0,
option(20),
end of itab_options.
itab_data-dataname = '1월'.
itab_data-quantity1 = 55.
itab_data-quantity2 = 62.
itab_data-quantity3 = 59.
append itab_data.
itab_data-dataname = '2월'.
itab_data-quantity1 = 35.
itab_data-quantity2 = 52.
itab_data-quantity3 = 44.
append itab_data.
itab_data-dataname = '3월'.
itab_data-quantity1 = 18.
itab_data-quantity2 = 22.
itab_data-quantity3 = 19.
append itab_data.
itab_data-dataname = '4월'.
itab_data-quantity1 = 21.
itab_data-quantity2 = 14.
itab_data-quantity3 = 60.
append itab_data.
itab_data-dataname = '5월'.
itab_data-quantity1 = 90.
itab_data-quantity2 = 45.
itab_data-quantity3 = 51.
append itab_data.
itab_data-dataname = '6월'.
itab_data-quantity1 = 14.
itab_data-quantity2 = 18.
itab_data-quantity3 = 1.
append itab_data.
call function 'GRAPH_MATRIX_3D'
exporting
col1 = '전기'
col2 = '석유'
col3 = '급수'
titl = '월별 사용량'
tables
data = itab_data
opts = itab_options
exceptions
others = 1.