...
"check for errors
loop at mt_return assigning where type ca 'EA'.
raise fetch_values_error.
endloop.
if e_data is requested.
"if we request data then check if the data structure object was passed ...
... some data but I will use dummy one just to show you how to create the chart, you can replace this part with loop on your internal table or even better change it in the way that you'll pass internal ...
In part one for this tutorial I quickly shown you how to create a chart customizing using Chart Designer, in this part I will show how I store and use such customizing. For the beginning I'll tell ...
...
" clear current content of selection fields
loop at ft_params into fs_params.
read table ft_sscr with key name = fs_params-selname binary search transporting no fields. ...
... to set up a summary on that field so subtotal lines are displayed in grid. Our fields are defined so lets set fieldcatalog and sort properties for them (lvc_s_sort): loop at gt_fcat assigning .
case ...
...
loop at ft_eban into fs_eban where banfn is not initial.
refresh: ft_options[].
clear: fs_option, fs_lpor.
fs_lpor-instid = fs_eban-banfn.
fs_lpor-typeid = 'BUS2105'. ...
...
"and shift it's name to var
loop at mt_tokens assigning where str ca '()'.
find '(' in -str.
-str = -str+0(sy-fdpos).
endloop.
"if we do not want to exclude any global data then the range is empty, ...