A very simple way to display graph in SAP (2 Dimensions)
Report zgraph.
Types :
Begin of itab,
text type c,
value type i,
end of itab.
Data :
itab type table of itab,
wa_itab type itab.
wa_itab-text='Audry'.
wa_itab-value=30.
append wa_itab to itab.
wa_itab-text="Charlie'.
wa_itab-value=100.
append wa_itab to itab.
call function 'Graph_2D'
exporting
titl = 'Sudents GPA'
tables
data = itab.