Skip to Content
avatar image
Former Member

BGR - Delete simple series


I have an static BGR with one static category (binded to the context node) and three simple series (binded to the context node).

To fill the contex attibutes I use information from two internal tables. One table with category info (weeks records) and one table with series info (z id's).

I need to know if it is possible to delete one static simple series at runtime. How can I do it? Could you give me an example of logic?

I tried to crate the BGR dinamically but I failed.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 17, 2011 at 08:26 AM

    You can fetch the BGR UI element in the wddomodify view or some other method ( by making view instance available through

    attributes ). and then remove the series.;

    here is the sample code for removeing a static sample series.

    data BGR type ref to cl_wd_BUSINESS_GRAPHICS.
    bgr ?= v->get_element( 'BGR' ).          " BGR is the id of my BGR UI element
    BGR->REMOVE_SERIES( ID =  'SR2' ).   "SR2 is the id of the static series.


    sarbjeet singh

    Add comment
    10|10000 characters needed characters exceeded