Reg : Customizing Business Graphics.

Hi All,
I am trying to customize Business Graphics, (i.e) changing the font, background and etc.., I modified the design by using "Edit Customizing" option of the Business Graphics UI. But whatever the modification i did in the design time was not replicated in the run time. Is anything more to do...?
Thanks,
Mugu

Hi,
Apart from making cutomizing settings in Chart Designer, you can also write the following code
in domodifyview method to bind the settings at run time.
** Build the XML string to set the GRAPH title*
  *DATA: l_ixml            TYPE REF TO if_ixml,*
         *l_document        TYPE REF TO if_ixml_document.*
  *DATA: l_element_SAPChartCustomizing TYPE REF TO if_ixml_element,*
        *l_element_Elements TYPE REF TO if_ixml_element,*
        *l_element_ChartElements  TYPE REF TO if_ixml_element,*
        *l_element_Title    TYPE REF TO if_ixml_element,*
        *l_element_Caption      TYPE REF TO if_ixml_element,*
        *l_element_ChartAxes   TYPE REF TO if_ixml_element,*
        *l_element_CategoryAxis   TYPE REF TO if_ixml_element,*
        *l_element_ValueAxis   TYPE REF TO if_ixml_element,*
        *l_value           TYPE string.*
**       Creating a ixml factory*
  *l_ixml = cl_ixml=>create( ).*
**       Creating the dom object model*
  *l_document = l_ixml->create_document( ).*
**       Fill root node with value SAPChartCustomizing*
  *l_element_SAPChartCustomizing  = l_document->create_simple_element(*
              *name = 'SAPChartCustomizing'*
              *parent = l_document ).*
**       Create element 'Elements' as child of 'flights'*
  *l_element_Elements  = l_document->create_simple_element(*
              *name = 'Elements'*
              *parent = l_element_SAPChartCustomizing  ).*
**       Create element 'ChartElements' as child of 'flights'*
  *l_element_ChartElements  = l_document->create_simple_element(*
              *name = 'ChartElements'*
              *parent = l_element_Elements  ).*
**       Create element 'Title' as child of 'flights'*
  *l_element_Title  = l_document->create_simple_element(*
              *name = 'Title'*
              *parent = l_element_ChartElements  ).*
**       Create element 'Caption' as child of 'flights'*
  *l_value = WD_ASSIST->IF_WD_COMPONENT_ASSISTANCE~GET_TEXT( '052' ).*
  *l_element_Caption  = l_document->create_simple_element(*
              *name = 'Caption'*
              *value = l_value*
              *parent = l_element_Title  ).*
**       Create element 'ChartAxes' as child of 'flights'*
  *l_element_ChartAxes  = l_document->create_simple_element(*
              *name = 'ChartAxes'*
              *parent = l_element_Elements  ).*
**       Create element 'CategoryAxis' as child of 'flights'*
  *l_element_CategoryAxis  = l_document->create_simple_element(*
              *name = 'CategoryAxis'*
              *parent = l_element_ChartAxes  ).*
**       Create element 'Title' as child of 'flights'*
  *l_element_Title  = l_document->create_simple_element(*
              *name = 'Title'*
              *parent = l_element_CategoryAxis  ).*
**       Create element 'Caption' as child of 'flights'*
  *l_value = WD_ASSIST->IF_WD_COMPONENT_ASSISTANCE~GET_TEXT( '015' ).*
  *l_element_Caption  = l_document->create_simple_element(*
              *name = 'Caption'*
              *value = l_value*
              *parent = l_element_Title  ).*
**       Create element 'ValueAxis' as child of 'flights'*
  *l_element_ValueAxis  = l_document->create_simple_element(*
              *name = 'ValueAxis'*
              *parent = l_element_ChartAxes  ).*
**       Create attribute 'id' for elsement 'ValueAxis'*
  *l_element_ValueAxis->set_attribute( name = 'id' value = 'ValueAxis1' ).*
**       Create element 'Title' as child of 'flights'*
  *l_element_Title  = l_document->create_simple_element(*
              *name = 'Title'*
              *parent = l_element_ValueAxis  ).*
**       Create element 'Caption' as child of 'flights'*
  *l_value = lv_con_curr.*
  *l_element_Caption  = l_document->create_simple_element(*
              *name = 'Caption'*
              *value = l_value*
              *parent = l_element_Title  ).*
  *DATA : lr_container TYPE REF to cl_wd_uielement_container,*
         *lr_bg TYPE REF to cl_wd_Business_Graphics,*
         *lr_bg_method_handler type ref to IF_WD_BUSIN_GRAPHICS_MTD_HNDL .*
**Get the Valuation type container*
  *lr_bg ?= view->get_element( id = 'BGR_REMINQ' ).*
  *lr_bg_method_handler ?= lr_bg->_method_handler.*
*CALL METHOD LR_BG_METHOD_HANDLER->CLEAR_DIRECT_CUSTOMIZING.*
*CALL METHOD LR_BG_METHOD_HANDLER->ADD_DIRECT_CUSTOMIZING*
    *EXPORTING*
      *I_CUSTOMIZING = l_document.*

Similar Messages

  • Business graphics Customizing chart not found; contact administrator in MSS

    Hi All,
    We are getting error Business graphics Customizing chart not found; contact administrator in MSS-->Home Service only for one user but for remaining users it is working fine. Please find the below screenshot.
    Please provide your inputs......
    Regards,
    Rahul.

    go to t -code st01 and switch on the trace on top and tick the buttons in that and after that ....check for working  manager user id  first and do it  with this user which is not working u can know  any authorisations are missing assign them for this user ..ur issue will be solved

  • Business Graphics Customizing

    Hi,
    i want to set customizing for my business graphics element in Abap WebDynpro.
    If i click with the right mouse button on the BG element, and change something and then click ok, the transport request dialog appears. I select one and click ok.
    But the system does not create the Folder "MIME Objects" in the WebDynpro Component! In another system it creates this folder and includes the created customizing xml file. But not in this system. Why?
    The consequence is that it ignores the customizing if i run the wd component.
    Can anybody help?
    Kind Regards,
    Thomas

    If you use the chart designer tool (by clicking secondary mouse button on the business graphics ui element), it automatically sets an url into "customizing".
    you find this generated xml in mime repository -> sap > bc > webdynpro > <application_name>.
    My question now is:
    How can i use the settings i made dynamically in a method?
    i tried it by setting an id like this:
    lr_series_element->set_attribute( name = 'CUSTOMIZING' value = 'Series2' ).
    In View designer i set "CustomizingID" to the corresponding node in context..
    Thx a lot!

  • Customizing Property of Business Graphics UI Element

    Hello Web DynPro Developers,
    I'm trying to implement a dynamicly created Business Graphic. In order to set the properties for the "Series" (which will normaly be set through the Chart Designer) i try to deliver a XML Customizing File with the customizing properties.
    The API Documentation says that this property requieres a  URL which points to a valid XML file.
    After setting the Customizing property to a URL with an XML Configuration, the J2EE Engine does not try to retrieve the XML document (traffic watch).
    Is this a not implemented feature? How to set the configuration of Business Graphic dynamically?

    Dear Kai,
    Thanks a lot for your response.
    1. According to your suggestion (note 531668), it has been found that XMLCHART is already installed on our Integrated IGS server.
    2. According to note 1028690, it has been found that "IGS 6.40 with patch level 19 or higher" should be available, but in our case we have "IGS 6.40 with patch level 16". Now what I would like to inquire is that does upgradation have any side effects on server?
    For your information I would like to clear you that I want to use Vrinda font (its a standard font), but at present font shown in the chart is Arial.
    Do we need to install some other Interpreter (eg. GFWCHART)? or some thing else is required to show the desired standard font?
    Regards,
    Nittin

  • Customizing XML File in Business Graphics does'nt work for End Users

    Hi Experts,
    I have created an application using business graphic UI element for displaying graphs. I have some Customizing file settings done for it using Edit Customizing for its layout. As per my requirement, it works fine for me and other Developers. But when tested by End Users, that customizing file does'nt work. It shows a default graph's layout and XML file does'nt affect its layout.
    Can anybody help me with this Issue. Please reply soon.
    Thanks,
    Runal

    I resolved this issue by implementing SAP Note 1294871
    Thanks,
    Runal

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

  • Legend not appearing for Chart Type columns/bars in business graphics

    Hi Experts,
    I'm not able to make the legend appear in web dynpro screen.As such graphs is coming but the legends are not appearing at runtime. When i customize the graph using t-code 'BS_ANLY_CD'  or right-click on business graphics, the legends are appearing in customizing preview but not in runtime.
    Could anybody help me out in this issue?
    Below is the screenshot of the same.
    Thanks in advance.
    Regards,
    Bob.

    Its solved .Solution is below.
    You just need to add the label description for both the series then the legend will automatically come as shown below.

  • Dynamic title in Business Graphics

    Hi to all!
    I'm working with a Business Graphics and I'd like a title in the final rendered graphic. The problem is that the text I want to show is not static, it's the name of the person who is using the application.
    The question is: Can I bind the title of the graphic to a context attribute? or is it possible to pass parameters to the graphic?
    Thanks a lot.

    Hi,
    We have achieved this thru....
    1. If you navigate to src folder of your project... src\<package structure>...
    in that there will be a file <viewname>.wdview file. Where <viewname> referes to the name of the view in which business graphics UI element is used.
    2. Open that file with notepad, and you can see the structure of BusinessGrpahics UI element specified in xml format. In that copy what ever between <BusinessGraphics.CustomizingXML>...</BusinessGraphics.CustomizingXML> including these tags also.
    3. In the wdModifyView method of view name obtain the Business Graphics UI element and set the Direct Customizing to the above copied xml(as a string)
    String customXML = "<BusinessGraphics.CustomizingXML>....</BusinessGraphics.CustomizingXML>";
    IWDBusinessGraphics bg = (IWDBusinessGraphics)view.getElement("<business graphics UI element ID>");
    bg.setDirectCustomizing(customXML);
    4. In that xml string, the value under <Elements> .. <ChartElements> .. <Title> .. <caption> points to the title. you can replace that with your dynamic value.
    -Aarthi

  • 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

  • Business Graphics Tool - Series

    Hello All,
    I have developed a Graph using the Business Graphics charting tool. The application is a Web Dynpro application.
    My graph has to display two lines (or range of values). In order to do that, I have created two Data Series, to which I pass values at run time. The Graph is appearing correctly.
    How ever some of the values in both the series are the same. Hence the two lines criss-cross each other. At this point the values displayed on the graph becomes jumbled up.
    I also saw an option for creating 'Series' objects. Here we can set whether the labels should appear on the left side of the line, its format etc. etc. But I am not finding a way to interlink the Series object, with the Data Series object. The setting would be like:-
    Data Series 1 would be using Series Object 1 (in which the value labels would appear on the left side of the line)
    Data Series 2 would be using Series Object 2 (in which the value labels would appear on the right side of the line)
    Any help is appreciated. TIA
    PKS.

    Hi,
    the connection between your customizing settings and the data is done using a customizing ID, i.e. tell WD the ID of each series and use exactly the same ID in the chart designer when creating the customizing settings (please note that you can easily rename the default names as desired).
    Regards, Kai

  • Business Graphics -- IGS URL

    Hi Experts,
    I have a query related to Business Graphics UI setting for IGS URL. currently we have developed an application which uses a Business Graphics UI element.
    This application is developed in our organization and hence we have made the necessary settings for the UI. i.e the IGS URL.
    During development, we have set the URL of our development server for the IGS URL property of the Business Graphics UI.
    But my question is, tomorrow if we deploy our application on any of the customer's location which is outside our organization's infrastructure (Server), will the application render the graph properly if we just open the IGS port or will it still try to connect to the URL which we have assigned for the IGS URL property of the UI element?
    Any suggestions on this would be helpful to avoid further problems.
    Regards,
    Poojith MV
    Edited by: Poojith M V on Apr 20, 2010 7:31 AM

    http://help.sap.com/saphelp_nw70/helpdata/en/46/8cb295e6390e9ce10000000a155369/frameset.htm
    Armin

  • Business Graphics Problem

    I am working with business graphics in WebDynpro.  I have created an application step by step with a tutorial I found in NWDS.  When I run it,  it gives a page with a colorful image saying "Graphics Rendering Problem".  I also ran a sample WebDynpro application which has been loaded to our engine called  "SimpleGraphics" which does the same thing.  Do I have to set something up in order to use Business graphics.  I have looked over the IGS, and it looks to be running.  Any help would be appreciated.  Thanks.
    Regards,
    Rich Heilman

    Hi Rich
    If that is your igs server URL then you need to use the same.
    In the tree on the left select Server -> Services -> Configuration Adapter
    On the right, expand Configurations -> webdynpro -> sap.com -> tcwddispwda
    Click the view/edit button
    In the tree double-click Propertysheet default
    Click IGSUrl in the popup window
    In the field Custom: enter <your IGSUrl>
    Restart the J2EE engine
    Regards
    NagaKishore V

  • Business Graphics - Stacked Column - Stack with different colours

    Hello Experts,
    In the Webdynpro application, I'm using a business graphics UI element and displaying data in stacked columns. The color of the stacks are by default assigned by the framework. But I would like to change the color of the stacks and want to assign my own colors to each stacks. Is this possible in SAP Netweaver 7.1?
    Thanks and Regards,
    Saravanan

    Hi saraa,
    Go to EDIT CUSTOMIZING to change colors etc..
    Please go through this..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81?quicklink=index&overridelayout=true
    also read this...http://help.sap.com/saphelp_nw04s/helpdata/en/ed/258841a79f1609e10000000a155106/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Apr 12, 2011 11:06 AM

  • 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

  • Business Graphics and Adobe Interactive Form

    Hi Friends,
    I generated charts in webdynpro using business graphics.
    Now, I need put this charts into a Adobe Form using Interactive Form Component. Is that possible? How can I do this?
    Thanks,
    Cristian

    Hi Cristian Teles,
    YOu can use the Business graphics even in Adobe forms. In the Adobe Designer you can find the various graphical UI elements. Please go through them.
    Structure of the Chart Designer
    The Chart Designer is divided into three areas:
    ·        The graphics preview
    The area on the left-hand side in which the business graphic is displayed. This area is used to display a preview of the Customizing settings. Changes to these settings are displayed immediately in the graphics preview, which lets you implement necessary changes in the business graphic display instantly.
    ·        Overview of graphical elements
    The area in the upper-right side that contains the list of graphical elements. For a detailed description and list of all graphical elements, see SAP NetWeaver ® Application Platform (SAP Web Application Server) ® ABAP Technology ® UI Technology ® Frontend Services.
    Each graphical element, in turn, has one or more properties. To change a property, select a chart element either from the chart window or by name in the chart element window. The properties of the chart element are then displayed, and you can edit and change the values of the properties.  
    ·        The property list
    The properties are listed in the area below the graphical elements. To change a property, select a graphical element either with the mouse in the graphics preview or from the overview of graphical elements. The properties of the graphical element are then displayed. You can change the values of these properties.
    http://help.sap.com/saphelp_nw70/helpdata/EN/0a/2f77b0cbb8914eb071b411991f6019/frameset.htm
    Thanks
    Suresh

Maybe you are looking for

  • Airport disk not visible in windows (XP)

    I have 3 computes 2x imac + one PC under Windows XP I use time capsule (7.4.2) for the network + file sharing. Almost everything works ok. Only issue is that I do not have airport disk access from the PC/Windows. On the PC I have Airport Utility 5.4.

  • In linux install ECC6 + MAXDB error, please look at the help, thank you

    This is the log file sapinst.log the last few lines INFO 2008-12-03 07:22:54.106 Disconnect from message server (SAPSH/3900) succeeded. INFO 2008-12-03 07:22:54.295 State of instance QD1/DVEBMGS00 changed from ABAP: UNKNOWN to ABAP: UNKNOWN. INFO 200

  • SMB File Sharing only works for Admin Accounts???

    I'm using a mac mini as a small file server. It will share files to WindowsPCs using SMB but there is a problem. On the Option dialog where you select accounts to share files and folders using SMB only Admin accounts show up. This is far from ideal a

  • Can't sign in to convert pdf to word

    I just purchased Adobe Export PDF and I'm getting really frustrated I try to sign in and it keeps taking me to the download section

  • SQL 2000 linked server to MSDAORA returns "provider did not ...

    Hi, I have a linked server setup in SQL 2000 using "MS OLE DB Provider for Oracle" to connect to a Oracle 9.2 DB on another server. This works fine apart from when the Oracle database is being backed-up, in which case any query against it returns: -