‎2009 Apr 27 6:11 AM
Hi Experts,
I am doing modification on standard T-code MCVE and my requirement is to include ALV graphics in it..
Note : In MCVE there is already graph option ( sap business graphics ) where there is no option of
displaying the values at the top of each bar...so the client is referring T-code COOIS (ALV graphics )where there is this option.
Please advice me how to include this alv graphics in T-code MCVE.
Thanks
Karthik
‎2009 Apr 27 7:12 AM
Hi Experts,
Any one please advice....
else please answer my below question..
1. which one is latest (a) SAP Business graphics or (b) ALV graphics.
2. In ALV graphics there is option like :
a. Right click on the graph
b. Select Chart options
c. select show values.
is the above said option available in SAP Business graphics.. ( Please refer T-code COOIS )
3. FM for ALV graphics or any sample program
Please advice
Karthik
Edited by: Karthik R on Apr 27, 2009 12:00 PM
‎2009 Apr 27 2:04 PM
See the following sample program for ALV graphics
REPORT ZGRAPHS_3D.
TYPES: BEGIN OF ttab_data,
dataname(15),
quantity1 TYPE i,
quantity2 TYPE i,
quantity3 TYPE i,
END OF ttab_data.
TYPES: BEGIN OF ttab_options,
option(20),
END OF ttab_options.
DATA: itab_data TYPE TABLE OF ttab_data,
xtab_data LIKE LINE OF itab_data.
DATA: itab_options TYPE TABLE OF ttab_options,
xtab_options LIKE LINE OF itab_options.
xtab_data-dataname = 'Screws'.
xtab_data-quantity1 = 5500.
xtab_data-quantity2 = 6200.
xtab_data-quantity3 = 5900.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Nails'.
xtab_data-quantity1 = 3500.
xtab_data-quantity2 = 5200.
xtab_data-quantity3 = 4400.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Nuts'.
xtab_data-quantity1 = 1800.
xtab_data-quantity2 = 2200.
xtab_data-quantity3 = 1900.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Fastners'.
xtab_data-quantity1 = 5500.
xtab_data-quantity2 = 6200.
xtab_data-quantity3 = 5900.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Bolts'.
xtab_data-quantity1 = 3500.
xtab_data-quantity2 = 5200.
xtab_data-quantity3 = 4400.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Clamps'.
xtab_data-quantity1 = 1800.
xtab_data-quantity2 = 2200.
xtab_data-quantity3 = 1900.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Hand Tools'.
xtab_data-quantity1 = 5500.
xtab_data-quantity2 = 6200.
xtab_data-quantity3 = 5900.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Saws'.
xtab_data-quantity1 = 3500.
xtab_data-quantity2 = 5200.
xtab_data-quantity3 = 4400.
APPEND xtab_data TO itab_data.
xtab_data-dataname = 'Jigs'.
xtab_data-quantity1 = 1800.
xtab_data-quantity2 = 2200.
xtab_data-quantity3 = 1900.
APPEND xtab_data TO itab_data.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
titl = 'Usage in $'
col1 = 'Materials'
TABLES
data = itab_data
opts = itab_options.
Edited by: krupa jani on Apr 27, 2009 3:04 PM