Business Graphics in WebDynpro - bundle chart and  data sheet

Hi experts,
I have a simple chart with stacked columns in a WD4A application.
At the bottom of the chart I'd like to display the values of each column.
I know that it works in ABAP reports (CL_CU_DATA_SHEET).
Does anybody know how to do the same in a WebDynpro?
Thanks in advance!
Frank

> Hi Frank ,
> Yes It is possible in webDynpro ABAP now how
>  ?
> Please see Demo Component<b>
> WDR_TEST_EVENTS</b>.In this see view starting with
> BG*(Business Graphics ) .Run them see which will fit
>  best to your problem and follow it .
> Another thing you can see Business Chart
> assocaited with ALV coloumn values . Please refer to
> Package <b>SALV_WD_DEMO</b>and component
> <b>salv_wd_demo_table_toolbr</b>.In Dropdown in ALV
> you will find option like <b>Table and Graphics</b>.
> See it .It show chart but below ALV .I m not sure do
>  u need something like this only ?
>         
> Hope this will help you .
>
> Cheers
> Parry          
>       <b></b>
Hi Parry,
thank you very much for your answer!
I cheked all examples in WDR_TEST_EVENTS but couldn't find any that fits.
The class <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/70/8fa0375b5dd003e10000009b38f8cf/frameset.htm">cl_cu_data_sheet</a> does exactly what I need, but only with  SAP GUI.
I still hope that it will be possible to do the same in a WebDynpro.
Best regards
Frank

Similar Messages

  • Business Graphics: Time Scatter, Line Chart, Column Chart

    Hi all,
      I have a requirement of intermixing of Bar/Column-Chart and Line-Chart. How to do this? I also need to color the columns.. Any Documents or Ideas will be appreciated.
    Thanks,
        Vinod V

    Hi, Rohit & Neha
       I think, my question is not clear..
    My requirements are on Business Graphics (Not in IWDTable), where i need to represent my data in different columns (Levels). Each level will be Represented in different colors.
    Eg: Top level of my Graph will have RED,
          Middle by YELLOW and
          Bottom part would be with GREEN.
    My Second Question is on using Multiple Graph types in same graph...
    Where data will be represented in Column/Bar Chart and in the same graph i need a curve to display the max value pointed by Column Chart..
    How can i achieve this?
    Regards
       Vinod V

  • Report Designer - Chart and data

    Hi,
    I have a query section. In one of the cell, I have a chart. I have the data in other columns on the side of the chart. When I execute the report designer, I get the chart and the then the data below on the side. When I create a pdf, the data moves up to the side of the chart. I want the web view look like the pdf view where the data is on the side of the chart. Is it possible? Why is the web view and the pdf view different?
    Best regards,
    Jai

    Moved to BOE Admin forum

  • Business Graphics:Create multiple Pie charts dynamically

    Hi Experts,
    I have a requirement to create 10 different pie chart in a view in a Grid layout.
    The charts will be created dynamically because the data will be known at runtime.
    Any type of help will be appreciated
    Regards.

    Hi,
    Here is a simple example:
    you must write this code in wdDoModfy() method, in if (firstTime){}
    in the layout there is already created one transperent container with id BG_CONTAINER
    //add a node
    IWDNodeInfo loDynNode = wdContext.getNodeInfo().addChild("DynNode", null, true, false, true, false, false, true, null, null, null);
    //add some attributes to it
              loDynNode.addAttribute("DynAttr1Str", "ddic:com.sap.dictionary.string");
              loDynNode.addAttribute("DynAttr2Int", "ddic:com.sap.dictionary.integer");
    //get the node
              IWDNode node = wdContext.getChildNode("DynNode", 0);
    //fill the node with some values
              for (int i = 0; i < 10; i ++){
                   IWDNodeElement element = node.createElement();
                   element.setAttributeValue("DynAttr1Str", "Str value " + i);
                   element.setAttributeValue("DynAttr2Int", new Integer(i));
                   // Add to the content
                   node.addElement(element);
    //get the attributes, we will use the attrinfo to bind them to the series
              IWDAttributeInfo loDynAttr1StrInfo = loDynNode.getAttribute("DynAttr1Str");
              IWDAttributeInfo loDynAttr2IntInfo = loDynNode.getAttribute("DynAttr2Int");
    //create the graphics
              IWDBusinessGraphics loGraphics = (IWDBusinessGraphics)view.createElement(IWDBusinessGraphics.class,"bg1");
    //set the type to pie
              loGraphics.setChartType(WDBusinessGraphicsType.PIE);
    //create a simple series and bind the integer attribute to it
              IWDSimpleSeries loSSeries = (IWDSimpleSeries)view.createElement(IWDSimpleSeries.class, "Series1");
              loSSeries.bindValue(loDynAttr2IntInfo);
    //create the  category and bind the string attribute to it
              IWDCategory loCategory = (IWDCategory)view.createElement(IWDCategory.class,"Category1");
              loCategory.bindDescription(loDynAttr1StrInfo);
    //add series and category
              loGraphics.addSeries(loSSeries);
              loGraphics.setCategory(loCategory);
    //I assume that there is a transperent container already created design time to put the graphics there
    //container with id BG_CONTAINER
              IWDTransparentContainer loContainer =  (IWDTransparentContainer)view.getElement("BG_CONTAINER");
    //add the graphics
              loContainer.addChild(loGraphics);
    If this is the type of graphics you need then you must simply do a for cycle and supply the graphics with the right node elements and you are ready.
    Best regards,
    Anton

  • SSAS2008 r2 and Excel Line Chart and Date Axis

    Hi
    Excel 2010. SSAS 2008 R2
    I have a excel line chart made out from SSAS pivot table with a date dimension (date) and No of licences.
    Currently, it displays 1/Jun/2014 to 30/Jun/2015 (FY2015) and this looks really ugly. 
    While keeping the details, I'd like to display by Month-Year. 
    However, while I can do this with other normal excel data, I just can not do it with SSAS Pivot table.
    Under Axis options, I ticked 'Date axis' but it won't bring up date options. 
    I think I tried everything but just can not figure it out. I wonder if it is even possible.
    Th date dimension is recognised as date because I can apply date filter.  I want to make it neat. Can anyone help me with this please? 
    It must be 'Date' Level. 
    Kind regards

    Hi SQLMa,
    Could you please elaborate more detail regarding the "Date" dimension structure? In order to display the date format with Month-Year, we should build a hierarchy to organize the granularity of date dimension at SSAS level. Please
    refer to the documents below:
    Create a Date type Dimension:
    http://msdn.microsoft.com/en-us/library/ms174884.aspx
    Modifying the Date Dimension:
    http://msdn.microsoft.com/en-us/library/ms166578.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Exporting charts (chart and data behind it)

    Hi there,
    Im new to Flex and Air but I have come here because Im looking into a way to export a chart from an application we have to excel. At the moment we are able to export the data behind the chart but not the chart itself.
    I have come to two ways of doing this:
    a) keep the existing export options and then use a VBA macro lib to create charts or (and this is where you come in)
    b) export a excel 2007 xmlx file.
    if you are not familiar with this its a new format of excel that is defined by XML script that are in a variaty of folders that are then zipped.
    My idea is to have a standard 'template' that Flex (Air?) can ammend the chart.xml in the xmlx and the sheet1.xmlx and the zip and rename the file.
    So what i need to figure out is if and how to get Flex (Air?) to export a zip file
    any help would be great!
    Thanks
    Michael

    There are various ways to export the chart as an image.

  • Numbers - Query about charts and dates

    I have a simply spreadsheet with 2 columns showing dates and electricity readings.
    Ive added a chart so I can see the electricity usage over time, but its showing each date eqidistant rather than showing them on a timeline.
    Can anyone tell me what Im doing wrong?

    Looks like Numbers cannot plot date data. Please provide Numbers Feedback to Apple.
    Regards,

  • Importing PowerPoint charts and data entry

    Hi
    I am relatively new to captivate 5.5 and need to find out how to bring a PowerPoint web chart(similar to a pie chart) into captivate with the data series entry table. I want users to do in captivate what they can do in PowerPoint to create a chart. Do I have to create a link into PowerPoint. If so, how?
    Jeff

    No Jeff, do not think that will work.
    Why not do an automatic capture (Project Recording) with Captivate while doing the actions in Powerpoint? You can choose for demonstration, training simulation (that is what you will need) or assessment training. It is even possible to have the three files at once.
    Lilybiri

  • Charts and Date Axis

    After looking at the API for JavaFX charts, it looks kind of similar to JFreeChart. Are charts based on JFreeChart code? If so, why isn't the DateAxis class included?

    Hi countfloyd
    countfloyd wrote:
    After looking at the API for JavaFX charts, it looks kind of similar to JFreeChart. Are charts based on JFreeChart code? If so, why isn't the DateAxis class included?It isn't based on JFreeChart, any similarity is incidental as opposed to by design. As for the lack of a DateAxis, I think there is an RFE for it, it just didn't get done.
    Cheers
    Richard

  • Business Graphics, intermixing chart types

    Hi to all,
    Has anyone tried to intermix chart types?  Specifically, i'm trying to display a "column" type chart, but I would like to have a straight horizontal line through the chart indicating a key value or values.  Any help would be greatly appreciated.
    Thanks in advance

    Hi Michael,
    follow the following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro tutorial and sample applications.faq#q-20
    How to use Business Graphics in Web Dynpro applications?
    The following tutorial shows you step-by-step how to create a simple business graphic using Web Dynpro.
    A simple business graphic is a chart consisting of a category and one or more data series. Column charts, bar charts and pie charts are typical examples of simple business graphics.
    Simple business graphics differ from complex business graphics, such as scatter charts and portfolio charts.
    Requirements
    In order to use business graphics in your application, you must install the Internet Graphics Service (IGS) on your server environment. Furthermore, the IGS must be configured on the J2EE engine.
    Code Sample
    The ready-to-use project is available to download from SDN.
    Corresponding Tutorial
    Using Business Graphics
    Hope this helped you
    Regards,
    RK

  • How to Axis labels for Line charts in Business Graphics

    Hi
    I am planning to do the Business Graphic example using Line chart.As part of this
    i didn't clearly understand what is the perpose of Series,Points,categorys?
    if i want to set the Labels at X-axis and y axis ,then how to do that?Baiscally i want to put time related data as X-axis label(20min,30min,60 min etc).Please help.
    is there any good example to understand the concept?
    Thanks
    Prasad

    Hi Bachier
    Thanks for your repsonce.I had seen the example you suggested.but there is no answer for my question.How to set the x-Axis,Y-axis Labels.I had done example for "line chart".But i have same problem:
    Hi
    I am trying to do example on "line chart" using Business graphics in my webdynpro application.
    In the Context i created Node "A" under which i created "B".then it has  value attributes xValue,yValue.Then in View i created BG UI element >Series>point-->NumericValue(for xValue) ,NumericaValue(yValue).Now in view init() method i had initialized values to x and y. some output is coming.but i want to know how to set the X-Axis Label,y-Axis Labels.in X-Aix Label i want to mention time in hrs i.e 8.00,8.30AM,9.00AM,9.30AM etc.as part of y-axis labels i want to mention numeric values( .2,.4,.8,2.0 etc). Please tell me how to set this X-Axis,y-Axis labels.at every 30min(8.00Am,8.30AM etc) user enter quality data(i.e .2 etc) then i want to generate chart.Please help in this regard.i will give very good points
    Thanks
    Prasad

  • Business Graphics and WebEnterprise

    I have a two part question.
    First, what is the best way to create business graphics such as line, bar,
    and point graphs? OLE to Excel, OCX, some third party commercial graphics
    library such as Brahma Software's Beacon?
    Second, once I have a business graphic what is the best way to display these
    graphics on a web page? A number of Forte field widgets such as ellipse,
    polyline, and point do not have a corresponding HTML element and therefore
    the Forte WebEnterprise WindowConverter class cannot convert these windows.
    Is there a way to save Forte images as BMP/JPG images?
    Thanks,
    Douglas Wheeler (mailto:[email protected])
    BORN Information Services, Inc. (http://www.born.com)
    Tel: 612.404.4379 Fax: 621.404.4441
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    exactly!
    many ways to do this
    1.U can use WDCopyService(Source ,Target)  here Source : return node of model data
                                                                               Target : Your temporary value node which bound to BG.
    Note : Each time when ever model data get updated(CRUD) u have to call this node.
    2. Use Mapping type node and bind it to BG ui element  exe : when we create any node It has 4 options one of them is Mapping select this and provide the model node
      (mapping of node with model node is replica of the content there in model node, here u don't have to worry about updated content since its replica and get changed eveytime when model operations is performed)
    Best Regards
    Satish Kumar

  • Regarding Business Graphics : Type Pie Chart

    Hello Experts,
    I am using the business graphics of type Pie Chart. I get the data properly displayed in the form a pie chart pir ture. But only thing missing here is, i dont get to see what percentage or the number of each part of pie.
    Example:
    I have a scenario where i want show the number or percentage on the parts of pie chart. It can be like a mouse over display or a plan static disply on each part of pie.
    Is this possible.. if yes .. kindly suggest.
    Thanks,
    Naresh

    Hi,
    Go through the following link.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81]
    It gives a step by step procedure for creating business graphics in WDA.
    Hope it helps.
    Thanks.

  • Business Graphics: Link between SeriesList and Categories

    Hello everyone,
    I have a Business Graphics with a Category Subelement and a SeriesList with a Value inserted.
    The Series List is linked to a node, so my series are dinamically created during runtime. My problem is that the number of categories i have are allways different from the number of series, and categories is a discret set of values known at design time. How do i link each category to a set of values from the SeriesList ?
                        Thank you in advance,
                                  Nuno Santos

    Hi Nuno,
    Check this link you will get the code.
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/08b6eb35637a44830b9e6df22987aa/frameset.htm
    IPrivateGanttTestView.ICategoryNode catNode = wdContext.nodeCategory();
        for (int catIndex = 0; catIndex < catLabels.length; ++catIndex)
          IPrivateGanttTestView.ICategoryElement
                  catElement = catNode.createCategoryElement();
          catNode.addElement(catElement);
          catElement.setDescription(catLabels[catIndex]);
        // loop over series
        IPrivateGanttTestView.ISeriesNode seriesNode = wdContext.nodeSeries();
        for (int seriesIndex = 0; seriesIndex < timeValues.length; ++seriesIndex)
          IPrivateGanttTestView.ISeriesElement
                  seriesElement = seriesNode.createSeriesElement();
          seriesNode.addElement(seriesElement);
          // set series attributes (...)
          IPrivateGanttTestView.IPointNode pointNode = seriesElement.nodePoint();
          // loop over points
          for (int pointIndex = 0; pointIndex < timeValues[seriesIndex].length;
               ++pointIndex)
            IPrivateGanttTestView.IPointElement
                    pointElement = pointNode.createPointElement();
            pointNode.addElement(pointElement); 
            pointElement.setStartValue(timeValues[seriesIndex][pointIndex][0]);
            pointElement.setEndValue(timeValues[seriesIndex][pointIndex][1]);
            pointElement.setCuId(pointCustomizing[seriesIndex][pointIndex]);
            pointElement.setLabel(pointLabels[seriesIndex][pointIndex]);    
    Regards,
    Mithu

  • Problem with Business Graphic:

    Hi Everybody!
    I am working with a UI control Business Graphic in WebDynpro Java,
    I need to change the text of the legend, and is taking an automatic value, what is the property in the Chart Designer where I can adjust this?
    Thanks in advance for your help.
    Edited by: Briger Palacios on Jul 6, 2011 11:16 PM

    Hi Briger,
    For Changing ur own legend , just write the label property of "SimpleSeries" ,which comes under  your "BusinessGraphics" .
    As many simple series will be there, that much no of legend is require, so just write your label of each simple series.
    if any doubt , plz let me knw.
    Regards
    Brajesh Kumar

Maybe you are looking for

  • I have windows 7 and after installing itunes it wont show up under any software areas

    I have installed itunes and cant find the software after apple says itunes has been successfully installed.  HELP please!!

  • OUTPUT as FAZ

    Hi All, Can anyone tell what is the configuration to be done to send output as fax. Is it possible to send output as fax to corresponding warehouse number. If yes kindly tell me where we maintain FAX # for warehouse Points will be rewarded for suitab

  • Business Partner approval when changing payment term

    Hi Expert, Is it possible to set up approval process when user changing payment term in existing Business Partner? Thank you in advance.

  • Logic pro 8 & windows (.iso) files

    Hi everybody, My name is Franck and I'm a Logic audio user since 1999. I made a lot of backups from 1999 to 2005 of logic songs saved under Windows (98 & XP). I was able to open and convert this files to the Mac Os format with logic express 7, but si

  • Cant get loadmovie to display image

    I have this for loop where I am circling through an array.  I have swf's for each of the numbers like dropTarget_1.swf, etc.  For whatever reason I can't seen to get this loaded into my holder. When I hard code it then it works. Any advice? for (n=1;