cancel
Showing results for 
Search instead for 
Did you mean: 

How To modify charts in web Application designer

Former Member
0 Kudos
175

I am Specifying a Query as the dataprovider for a chart and a table

I am able to manipulate i.e. hide rows and columns of table by specifying parameter MODIFY_CLASS as my own class that is inherited from CL_RSR_WWW_MODIFY_TABLE

Now i want to manipulate the chart so that it is displayed

only for the reults row(something one can achieve using remove drill down, i cannot remove drill down as there are calculated key figures )

I tried using MODIFY_CLASS but my code is never executed

here is the HTML code that is generated in the web Application Designer

<P><object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="GET_ITEM"/>

<param name="NAME" value="CHART_2"/>

<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>

<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>

This MODIFY_CLASS is never called

<param name="MODIFY_CLASS" value="ZCL_RSR_CHART"/> ITEM: CHART_2

</object><object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="GET_ITEM"/>

<param name="NAME" value="TABLE_1"/>

<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>

<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>

This works alright

<param name="MODIFY_CLASS" value="ZHCOLAPP"/>

ITEM: TABLE_1

</object></P>

Please guide me as to how can i achieve this

Thank You

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The MODIFY_CLASS command is not applicable to CHART ITEMS, it is only applicable to TABLE ITEM and NAVIGATION BLOCK, this is the reason your code is not executed. Only option to modify the chart is using Chart Designer.

Similar issue was discussed in the thread given below:

Former Member
0 Kudos

Thanks

By using chart designer do u mean to say that i need to hide the data series.

I want to hide all the data series except the one for result .

can i manipulate the result of my dataprovider to the chart .(delete the rows other than result, result is calculated on basis of other rows I cannot remove the drill downas well. )