cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Chart from Pie Chart

Former Member
0 Kudos

Hi,

I have designed a view with a pie chart.The chart showing correctly.The chart divided as per the values.

Now I need to call a view based on the click.In second view i need to show another graph.

How to take to the second view based on the click.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ramya,

Design your second view accordingly.

Your Graphics(PIE Chart ) has an event onAction. In this event write code to fire plug to call 2nd view.

Is you have any otehr requirement?? Please share..

Cheers,

Kris.

Former Member
0 Kudos

Thanks ,

Can you tell how to do the code..Any sample code

Former Member
0 Kudos

Hi Ramya..

Go through this..

http://help.sap.com/saphelp_nw04/helpdata/en/47/52120e27ca7e48a41201a4b08d99df/content.htm

In first view create in and out bound plugs.

Sec view also create in and out plugs.

Go to window and create navigation link from out of view1 to inbound of view2.

and write code in onaction of pie chart.

wd_this->fire_<your outbound plug name>_plg( ).

OR use code wizard.

Follow this..

http://www.saptechnical.com/Tutorials/WebDynproABAP/views/navigation.htm

http://wiki.sdn.sap.com/wiki/display/WDABAP/NavigationBetweenPagesinWeb+Dynpro

Cheers,

Kris.

Former Member
0 Kudos

Thanks Kissnas for your timely help.

Answers (0)