Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Analytics Chart UIBB

Hi Experts ,         

    Could any one provide me with a good tutorial on how to use Analytics Chart UIBB ?  I basically need to generate a stacked graph on click of data from selected lines .    

Thanks and Regards ,

Sheldon Rodrigues .

Tags:
Former Member
Former Member replied

Hi Not Active Contributor ,

You are missing series allocation. You need to define t-point according to your series.

Place the below code in your get_data method and fill the value of your chart.

Data : ls_data       TYPE         BSANLY_SX_DATA,

         ls_point      TYPE         bsanly_s_point.

ls_data-series = '01'.

ls_data-visible = abap_true.



ls_point-VALUE_1 =<CAT_VAL>.

INSERT ls_point INTO TABLE ls_data-t_point.

clear ls_point.

ls_point-VALUE_1
=<CAT_VAL>.


INSERT ls_point INTO TABLE ls_data-t_point.

INSERT ls_data INTO TABLE lt_data.

** Follow the same steps for the next series then assign it to the ct_data.

ct_data = lt_data.

Definitely it will work..

Thanks & Regards

Praveen Gupta

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question