Download Business Graphic

Hi,
any hint how to download the generated pictures on a WDA page from IGS?
Wasn't a problem with BSP, but WDA blocks left klick by it's own context -.-
thanks in advance,
SE

You have to program the download of the image yourself into the application because of the reason you describe.  It is even a little more complicated than that right now since there is no export of the image content back into the WDA application.  You have make another call to the IGS using the lower level API classes and re-render the same image in order to have the content to download.  In 7.02 we will fix that problem by allowing a new UI element property with the image content in binary format.  you can just data bind to that property and download the value in the bound context attribute.

Similar Messages

  • Download Business Graphics to PDF

    Hi All,
    Iam using Business Graphics in Web dynpro ABAP, the output business graphics image to be export in PDF file. I have Customizing XML file in MIME object and CL_IGS_CHART_ENGINE class is there. But I dont know how to use that class in Web dynpro using Customizing XML as input or any other solution is there to get PDF file.
    Please help me to get PDF File.
    Regards,
    Balakrishnan K

    Hello,
    I assume you can: get the data, pass data somewhere where the picture is generated, get the picture back in some useful/ common picture format. Now you need to create a PDF with the graphics.
    1) go to transaction SFP - create an interface (just like DDIC structure, create a node/ element for every data element that will be passed to the form, if only picture, create a XSTRING element called PICTURE or something)
    2) create a form in SFP based on the interface from 1)
    3) drag interface data (left) and drop to right (form context)
    4) open form layout
    5) put image field on the layout (not image, it MUST be the image field)
    6) goto tab Object - Binding of the image field, set the binding source to your XSTRING node from interface/context
    7) save, activate
    8) write a generator program for adobe form
    9) run program
    Note: I don´t know if you have any experience with adobe forms, I don´t know if you have ADS for adobe forms installed or even if you can have this service installed.
    Otto

  • Creating Gantt charts using Business Graphics that can be downloaded

    The short version is I need the format for XML data to create a Gantt chart in a Business Graphics UI Element in order to be able to automatically email it.  The long version is...
    I currently have a Web Dynpro ABAP component that displays a Gantt chart using a Business Graphics UI Element based off data in various other UI elements in the view.
    This works fine and the graph displays nicely, but I cannot find a way to download that straight from the Business Graphics UI Element.  Having read around the forum there appears to be two options:
    - Code it up myself by calling methods on the IGS API directly
    - Bind the image data attribute on the element and get the data that way
    Unfortunatly, we are not currently running a recent enough version (702/720) to be able to do the latter and so, unless there is another way, I need to code up the API calls myself.
    So far I have got a business graphic in to an Adobe PDF form, loaded in my config data so it appears as a Gantt chart but I cannot figure out the format for the actual data that needs to be sent through in XML.  Does anyone have example XML data or code to generate it that can be sent in to the call:
    l_igs_ce->set_data( EXPORTING data_doc = p_ixml_doc ).
    I have used the example in GRAPHICS_IGS_CE_TEST and the page http://liualex.com/archives/185 to generate the image and load the config data in but this only explains the XML format of the chart data for bar graphs.
    Many thanks

    Found my answer,
    This download: http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/e0a9ba90-0201-0010-d3a2-9cb376b5e181
    This is the SAP Chart Designer, it contains a PDF which explains the XML format used, you can use it to manually create your own XML streams.

  • Business Graphics - Download/Email

    Hello,
    I would like to download the graph generated using the Graphics FM to presentation server/send the graph as an email attachment. Is there any standard FM to do this. Any input is highly appreciated.
    Thank you.

    Uma,
      I have changed my program to use the IGS Graphs instead of the SAP Business Graphics.  The program will now run in the background and you can save the file to the app server, local PC or email the file.
      A sample program for the IGS graphics is GRAPHICS_IGS_CE_TEST.
      Sample charts can be produced using the SAP Chart Designer.  The XML commands generated can be included into the program to produce the desired result.  The SAP Chart Designer can be downloaded from the SDN Downloads section.
    https://www.sdn.sap.com/irj/sdn/nw-appserver-tools
    Regards
    Darryl

  • 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

  • Business Graphics: Speedometer chart: Change Maximum value on runtime

    Hi Skilled,
    We faced a little problem in our project. We use Business Graphics component and Speedometer chart on the View and we should change maximum value of the graphics on runtime.
    I could easily change the maximum on design time in Chart Designer -> Axis -> Maximum Value, but I haven't found a way to change it on runtime.
    Are there any known ways to change the value on runtime?
    Best Regards, Dmitry

    Hi,
    by calling setDirectCustomizing you can provide customizing XML at runtime.
    Create your own customizing XML where you define the maximum value and call this method.
    You can also use the SAP Chart Designer from SDNs download area for creating the XML (just to get an idea how the XML has look like in your application).
    Regards, Kai

  • Webinar: Introduction to Web Dynpro Business Graphics

    <b>SAP NetWeaver Know-How Network Webinar: 
    Introduction to Web Dynpro Business Graphics
    Wednesday 15 September 2004
    11 a.m. EDT</b>
    On Wednesday 15 September, Jeff Gebo hosts the webinar titled <b>Introduction to Web Dynpro Business Graphics</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Jeff describes his webinar presentation:
    “Learn how to bring your Web Dynpro Applications to life with business graphics. Business graphics can be generated by Internet Graphics Services (IGS) which is included in the 6.40 SAP Web AS. Get an overview of the IGS architecture, the Web Dynpro Business Graphics API, and the features of the IGS. Join this webinar and then go and impress your boss with the incredible business graphics that you will be able to create!"
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 15 September 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 15 September 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code 720158.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hi,
    Go thru..
    What is Webdynpro?
    What is Web Dynpro?
    Webdynpro Sample Applications and Tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    SAP WebAs Samples And tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143 [original link is broken]
    Basis Webdynpro tutorials....
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
    Web Dynpro Sample Applications and Tutorials:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
    http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
    Check the following thread u can get lot of materials,
    WeB Dynpro Documents
    Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
    Why WebDynpro ?
    Why WebDynpro ?
    Why  webdynpro and not BSP or JSP?
    Why webdynpro and not BSP or JSP?BSP to WEB Dynpro
    BSP to WEB Dynpro
    Benifits of using Webdynpro Benifits of using
    Webdynpro
    Java vs. ABAP WEbDynpro Java vs.
    WebDynpro ABAP
    regarding Java related webdynpro
    Regarding Java related Web Dynpro vs. Struts - a few questions
    Web Dynpro vs. Struts - a few What kind of applications are being developed with Web Dynpro?
    What kind of applications are being developed with Web Dynpro?
    http://www.sappro.com/downloads/OptionComparison.pdf
    Hop this will helpful for u..
    Urs GS

  • Business Graphics export

    I want to export a generated business graphic to Excel. Is this possible?
    Regards
    Sebastian

    Hi Sebastian,
    The general answer is NO. But you can use data from series node (if you are using WD) to generate excel download and after build graphic there.
    best regards, Maksim Rashchynski.

  • Business Graphic in a pdf file.

    I have to create a downloadable pdf file containing a dynamic business graphic.
    Can you suggest the best technique to achive that?
    Thank you in advance.
    Livio.

    Hi Sukalyan,
    I finally succeeded.
    I made a Web Dynpro View containing a BG UI element, where I drew my graphic. Then I got a .gif image of the graphic with the following code:
    public void wdDoModifyView(IWDView view, boolean firstTime) {
       IWDBusinessGraphics bg = (IWDBusinessGraphics) view.getElement("myBusinessGraphicsUIElem");
       byte[] img = bg.getImageAsByteArray(null, null);
       String img64 = Base64.encode(img);
    As shown in the code, the image is encoded in a base64 string and (not shown) is inserted in a node context, in an attribute of type String. The node is shared with an Interactive Form, where there is an Image Field.
    Just bind the base64 string to the Image Field, and that's all.
    Regards,
    Livio.

  • Saving business graphics into XL

    Hi,
    Is there a possibility to save the Business graphics , images , Business Charts into an XL file from a WebDynPro ABAP Application?
    Thanks,
    Prasath N

    Hi Prasath,
    as this class is totally independent from Web Dynpro it belongs to you where to use it in your application. Create an instance of this class, provide data and customizing and let the IGS render the chart. Finally you ask the instance for the image and e.g. save it.
    A good starting point is the SAP Chart Designer that you can download from the SDN downloads page. As part of the package you will find documenation about the data XML. Create the customizing XML by interactively designing your chart and save the settings as XML.
    Regards, Kai

  • Refresh the Business Graphics Data on click of next page event of a table

    Hi Experts,
    We are using Business Graphics UI element in Web dynpro Java to display a table data.
    We are limiting the graphics data to 12 table entries at a time.
    Now, I just want to know how can we refresh the Business Graphics data when the user clicks on the Next Page option at the bottom of the table.
    This is applicable if we have more than 12 table entries and we've restricted the visible row count to 12.
    So, for more than 12 entries; when the user selects the next page, I want the next set of data to be displayed in the Business Graphics UI element.
    But I am not able to get the action for the Next Page event.
    Please note that we are on Netweaver 7.01.
    Kindly suggest as how can we achieve this functionality.
    Kind Regards,
    Anurag

    check this
    Web Dynpro Java Table Paging Unleashed: Optimizing Heavy Table Performance

  • Business Graphics - Bar Chart - How to make the height extendable

    Hi Experts,
    I have created Business Graphics UI element for my WD application which fetches data from R/3. I am displaying
    1) Cost Element in Y-axis and Cost in X-axis.
    2) I have set ChartType = Bar, height = 300, width = 830
    When the no of cost elements is upto 7-8, the graph is getting displayed correctly.
    However when the no of cost elements increases to more than 12, the graph becomes un readable. The system displays lot of texts in Y-axis.
    I want to make sure that if no of cost elements increases, the Y-axis of graph should extend.
    How we can do so?
    Regards,
    Gary

    I could not got any solution of this issue. Finally I convinced the customer to display only top 10 records. Any way higher level managers won't have time to see the graphs of all data.
    One way of resolving the issue is like this - create say 3 Business Graphic UI element. The height of Business Graphic UI element can be set as 300, 600, 900 etc.
    For 10 records use Business Graphic UI element  of height 300.
    For 20 records use Business Graphic UI element  of height 600.
    For 30 records use Business Graphic UI element  of height 900.
    Use the 'Visibility' data type to hide / unhide the Business Graphic UI of different height.

  • Edit customisation in Business graphics is not working

    Hi Experts,
    I created business graphic UI element of chart type "Speedo meter" . I am trying to chnage the colors of the chart by using
    'EDIT CUSTOMISATION' .When i change the clors in preview colors are chnaging but when i test my application it is nit showing the whatever i did in edit customisation ( ni color change ) . Please tell me do i need to configure anything ?
    Thanks in advance,
    Setu

    Hi,
    please refer below link .
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81&overridelayout=true]
    Regards,
    Priya

  • How to use series in business graphic ui element

    Hi All,
    How to use the series in business graphic ui element? my requirement is i have to display the sales in selected months in graph(these values dont know at design time).
    Regards
    Srikanth

    Hi,
    Use the dynamic node  and bind this node to the BG source node and series nodes.
    Create a node and bind this node to the BG source and the value that you want to shown in series has to be bound to that attribute of the node and similarly with the category.
    Check out for the dynamic node creation and bind this node to the BG.
    Regards,
    Lekha.

  • Business Graphics API in WEBAS J2EE

    Hi,
    i have a business graphic integrated into my webdynpro application. I checked the api documentation for business graphics and found out, how to change the type of the business graphic and the number of dimensions programmatically.
    On the API, i cannot find out any further possibilities of modifing the chart programmatically. I wonder about this, because the business graphic UI - element in NetWeaver Developer studio provides much more configuration possibilities on charts.
    For example, i would like to use the averagre functions or adapt the number of labels on the chart axis. But all dynamically.
    Has anyone experience, with such advanced business graphics features and nows if it is somehow possible to get to theses features by using the NetWeaver API?
    Thank you very much in advance.
    Regards
    Christoph

    As I understand, your user management is through database, so when a user is created in your application, the parameters pass through the Action Handler -> service class-> DAO. So a better way would be write an additional class with the user management implementation of BO with a constructor or a method which would take the required user creation parameters and call it in the service class just under the user creation method of your DAO.
    As the user in your system passes some information from the front end, the same can be used to create user in BO.

Maybe you are looking for