Skip to Content
author's profile photo Former Member
Former Member

How To modify charts in web Application designer

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2005 at 01:23 PM

    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:

    web-charts-igs

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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. )

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.