cancel
Showing results for 
Search instead for 
Did you mean: 

binding values to UI Business Graphics

Former Member
0 Kudos

Hello everyone,

I'm having some trouble binding the values in a correct manner to the UI Business Graphics i created in a view.

My data node is something like this:

Node: Categories Attributes: Cattegory_Text, Evaluation, Company_name

Both "Category_Text" and "Company_name" are strings, and "Evaluation" is a numeric value.

Now, i want the categories to be "Category_Text", and they are the following enumeration values: "Bad", "Medium" and "Good".

In each category, i would like to see a vertical bar with a color assigned to each different attribute of "Company_names". That bar will appear if that company has an evaluation number different than 0. For example:

I receive the following data:

Category Company_name Evaluation

Good SAP 0.56

Bad SAP 0.78

Medium SAP 0.23

Good MicroSelf 0.73

Bad Microself 0.81

In this example i have the 3 categories, then in the "Good" categorie i would have two bars, one for "SAP" with 0.56 y value, other for "Microself" with 0.73.

Then category Bad, also with SAP (0.78) and Microself (0.81).

And finally i would have category 3 only with one bar, corresponding to the color of Company "SAP" with y value of 0.23.

I tried with simple Series, but i need this to be dynamic, ie, i can have as many companies as i want. So i must use a SeriesList? How ?

Can someone help me ?

Thank you in advance,

Nuno

PS - Good Help will be highly rewarded and appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I defined a new context to add to the graphics like this:

MainNode -


> Category

ChildNode----


> Company

AttributeChildNode----


> Evaluation

AttributeChildNode----


> Company_name

AttributeMainNode----


> Category_txt

In the node Category i have all 5 possible categories for the Business Graphics, then all series will be dinamically created on the Child Node.

My graphic should be something like this:

Comp1 Comp2 Comp3--


Comp1Comp2Comp3--


Comp1Comp2Comp3

-


-


Cat1--


Cat2
Cat3
--


Categories Cat1, Cat2, Cat3, then series Comp1, Comp2,Comp3, with vertical bars.

Still, with SeriesList, i'm not being able to map the context nodes correctly to the UI Business Graphics properties. Can someone help ?

regards,

Nuno

Former Member
0 Kudos

Hi Nuno,

Just go thru this

[<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9a/a04d29a6d611d2960500a0c9308b1f/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/9a/a04d29a6d611d2960500a0c9308b1f/frameset.htm</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6</a>

regards

Sumit

Former Member
0 Kudos

I know my problem is probably too long. But can anyone help me with an example on how to use Series with SeriesList type ? that's my major issue.

I have sub-categories in each main category that have a dinamic number of elements. So, in each category, i can have (for example) 2 different color vertical bars, or 5 different color vertical bars, depending on how many Companies are processed.

I've been through all the helps, but i'm not getting this to work.