12-28-2009 9:29 AM
Hi ALL,
I create a report and call GFW_PRES_SHOW , but the report is not display line value.
call function 'GFW_PRES_SHOW'
exporting
container = 'CONTAINER'
presentation_type = gfw_prestype_lines
PRESENTATION_TYPE = GFW_PRESTYPE_PIE_CHART
orientation = gfw_orient_columns
tables
values = values
column_texts = column_texts
exceptions
error_occurred = 1
others = 2.
08-26-2013 6:48 AM
Hi
it works fine for me,
I suppose you don't fill the two tables VALUES and COLUMN_TEXTS correctly,
you also shoud check the exception codes.
Regards
Gabriel
08-26-2013 6:56 AM
Hi james,
See this link it is helpful to solve your problem
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+Easy+Graph+to+use
CALL FUNCTION 'GFW_PRES_SHOW'
EXPORTING
presentation_type = 31 "graph type 31 = pie type, 8 or 1 = bar chart
parent = contc "Custom Container
TABLES
values = values "row data(Maximun 32)
column_texts = column_texts " column definition
EXCEPTIONS
error_occurred = 1
OTHERS = 2.