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

Graph in a subscreen area

Hi Experts,

How do you create a graph in a subscreen?

I checked out transaction GRAL but all the graph charts popup in a separate screen.

Moreover I do not want the BOXES internal table attached to the chart. How do you suppress this functionality? Because in it's place I need an ALV tree instead.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 03:49 PM

    Use the CL_GUI_CHART_ENGINE or GFW to do this.

    1. Create a container

    2. Create a Config XML (You can use the Chart designer)

    3. Create a data xml

    4. Create an instance of the above class in the container

    5. Render the chart.

    Let me know if you need more details.

    Albert

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      the basic idea is to create the customizing XML interactively using the Chart Designer. Do not try to code this with the iXML classes in ABAP. Instead save the XML in the MIME repository or somewhere on the database and load it at runtime.

      If you need to change some parts of the customizing at runtime it's possible to send an additional (second) customizing XML created using iXML for overwriting some special tags only (e.g. the title).

      And last but not least you have to create the data dynamically but this shouldn't be a problem - compared to the customizing XML 😊

      Regards, Kai

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.