Charts in WebDynpro Java (BusinessGraphics/Flex Islands)

Hello Experts,
In our project we are to display complex chart on a WebDynpro page. I did investigate the following solution but non of them could help me:
BusinessGraphics element: The element works through a Chart Engine. Chart Engine could draw a chart I need, but unfortunately BusinessGraphics element doesn't allow to change XML request to Chart Engine and supports only a half of functionality(FE I couldn't choose Column&Lines chart type). So, we couldn't use BusinessGraphics element to display needed chart.
AnalyticsChart element: The element use Flex Charting to display a chart and the element provides very small functionality as well and I cannot create needed chart.
Of cause it's possible to create needed chart in Flex, but I didn't find any way to integrate Flex and Java. Search points me to Flash Island technology, but it seems the technology was released only for WebDynpro ABAP.
Environment: NetWeaver Server 7.11 EHP1(from SDN); NetWeaver Development Studio 7.1 SP00 PAT0000 (Build id: 200807300233)
So, let me ask questions:
Is there any way to modify XML request from BusinessGraphics element to chart engine?
How can I embed Flex/Flesh application to the WebDynpro page?
Best Regards,
Dmitry
Edited by: Dmitry Eidzin on Oct 22, 2008 10:54 AM

Hi Dmitry,
1. As far as I know, there is no way...
2. some hints regarding Flash Island:
To integrate flash files into your Web Dynpro application, the Adobe Flash Island UI element can be used. Flash Island is based on Adobe Flex (http://www.adobe.com/flex).
In Web Dynpro a FlashIsland is set as RootElement and spans an entire view.
To specify the flash componentu2019s data source, properties and events and to bind them to the relevant Web Dynpro objects, you can insert one or more of the following View elements into the FlashIsland:
DataSource (GACDataSource)
Property (GACProperty) into the DataSource.
Event (GACEvent).
EventParameter (GACEventParameter) into the Event.
Itu2019s also possible to insert a Property directly into the FlashIsland, if you want to bind to a context attribute directly under the ContextRoot. You can also refer to hierarchical data structures by inserting DataSources into a DataSource.
To specify the screen area, where the FlashIsland is to be displayed, insert a ViewContainerUIElement into a view.
Insert a view, e.g. called FlashView into this ViewContainerUIElement.
Open the FlashView, select the RootElement in the Outline view and choose FlashIsland from the context menu entry Replace With.
Select the RootElement and enter the name of your  component to the property swfFile, for example: myFlash.swf. This file has to be stored in the mime repository. The relevant path is: .
To insert the needed additional elements to the RootElement, select it, open the context menu and choose DataSource.
To insert a Property, select the DataSource and choose Insert Property from the context menu.
Hope this helps
kind regards
Stefanie

Similar Messages

  • Flex with webdynpro for java using Flex Island

    Hi Friends,
    I am on Netweaver/SAP Enterprise Portal 7.0 SPstack12, I am developing UI for BI reports using VC, I am interested in developing UI using flex and want to integrate those apps with EP, I came to know flux Island supports flux with webdynpro java,  basically I am a webdynpro for java developer, I want to develop flux applications with webdynpro for java in NWDS. And i want to know how to use Flex Island with webdynpro for java. So could u please post some useful links.
    Thank in advance
    Regards
    samba

    Hi
    If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.
    The following link may help you in building the WDJ component with Flash Islands..
    The specified item was not found.
    If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
    Thanks.
    Chitrali

  • Gantt Chart in Webdynpro Java

    Hi All,
    I want to display the Gantt Chart in my Application.
    I am using following as a reference:
    [http://help.sap.com/saphelp_nw04/helpdata/en/c6/af11b1423a3c4fb642e357912936e4/frameset.htm]
    But i am unable to get the Bars in my Chart. I am just getting the Points only for start date and End Date.
    So pls help me out.
    Thanks & Regards,
    Dhruv Shah

    Hi Stefanie,
    I already have this project. But when i am importing this project in to my NWDS. Not a single View is opening. Its giving me lot of errors.
    I dont know how i will manage...i am really stucked up.
    Thanks for reply...

  • Integrating flex with webdynpro java

    hi,
    iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.

    Hi
    This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
    Follow the link below for details :
    http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
    http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
    Regards,
    Sayan Ghosh

  • Flash Islands for WebDynpro Java

    Hi,
    I am new to Flash Islands, is there any tutorial kind of thing for Flash Islands for WebDynpro java.
    i found good tutorial by Thomas Jung for Flash Islands for WebDynpro ABAP.
    Please provide me similar kind of  links for WebDynpro java.
    Thanks,
    Dhananjaya R E

    Hi All,
    Thanks for your replay, i am using " NW711 CE SP03 MIN " for the development, i followed the bellow link
    /people/anilkumar.vippagunta2/blog/2008/11/13/adobe-flash-islands-in-web-dynpro-for-java
    i did not get the option FlashIsland under (RootElement ->Replace with->) option. i saw in some posts that NW711 CE supports Flash Islands, do i need to add any plugins for that ?
    please help me regarding this.
    Thanks,
    Dhananjaya R E

  • Xcelsius integration in WebDynpro Java Flash Islands

    Hi,
    We developed a visual composer application with CE 7.20 SPS 03 and we try to integrate a xcelsius gauge in to VC 7.20. It works fine with passing single or multiple parameters to xcelsius with webdynpro java flash islands, but how do we get the value from xcelsius back to webdynpro java.
    How do we have to name the event in webdynpro flash island? Which event is triggered when change a slider or a gauge? Is there any document?
    I need your help.
    Best regards,
    Murat Y.

    Creating Flash Island Events
    To implement the Visual Composer application if data has changed on the Flash island side, we need to define a Flash Island event. In this example, the Web Dynpro application needs to be updated once the user has changed one of the two slider values. The Web Dynpro application will trigger an event that will be handled in Visual Composer. Once you have created a Flash island event entry, you can assign a Web Dynpro action method to be called if the Flash island event is raised.
    1.     Right-click RootElement again and create a SliderCostsEvent and a SliderRevenuesEvent:
    2.     Assign the following attribute values to the Flash island event entries:
    SliderCostsEvent:
    SliderRevenuesEvent:
    Note:
    The Flash island event name must be the same as the name in the corresponding Data Connection Range and Property. For example, in the Xcelsius Data Connection, we defined a Range u201CSliderRevenuesu201D. Once the referring value is changed, the Flash island event SliderRevenues is called (which is bound to a Web Dynpro action method) and also the data is written to the SliderRevenues Flash island property (which is bound to a Web Dynpro context attribute). Once an Action method is called from the Flash island event, the data is transferred to the Web Dynpro context.
    The onAction property points to a method Update(), which you need to create in the FlashIslandView (see implementation following).
    3.     Now we will create the event that will refresh the data in the Visual Composer application. Go to the Events tab of the Component Controller and click New. Enter RefreshData as the event name and click Finish.
    4.     Create the Component Controller method that will be called by the viewu2019s Update method. Go to the Component Controlleru2019s Methods tab and create a new method by clicking New. In the dialog box, select Method and click Next. Enter the name of the method, i.e. updateData and click Finish. Save the application.
    5.     Right-click on this method and select Navigate To  Implementation. This will open the implementation code of this method.
    The method should look like this:
    public void updateData( )  {
        //@@begin updateData()
           wdThis.wdFireEventRefreshData();
        //@@end
    The Update method of the FlashIslandView calls the Update method of the Component Controller; see implementation below:
    public void onActionUpdate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
         //@@begin onActionUpdate(ServerEvent)
           wdThis.wdGetCostRevenueCompController().updateData();
        //@@end
    The Update method of the Component Controller will trigger the event that will refresh the Visual Composer UI with the new data. The reason for the multiple calls is that actions that are defined in the view cannot fire events but they can call a method, so we need to call a Component Controller method that will fire the event.
    6.     Next, you should expose this event in the Interface Controller. Right-click the event and select Copy. Go to the Interface Controller, select the Events tab and paste the event.

  • Interactive chart in Webdynpro ABAP

    Hi Experts,
    I would like to use this thread to discuss on SAP's recommendation to develop Interactive chart in Web dynpro ABAP .
    Correct me if Iam wrong ,
    1) Business graphics can not be made interactive.
    2) With Gantt UI element ( I couldn't find documentation ).
    3) Interactive Chart in FPM ?
    4) Interactive Chart using FLEX Builder ?
    5) HTML Island ? Though not available for Customers with lower version of SAP ?
    What is SAP's Road map w.r.t Interactive chart in Webdynpro ABAP ?
    Regards,
    Karthi M

    Hi Stuart,
    Business graphics can be made interactive only with click action.
    Gantt UI , Iam not finding any proper documentation. Cursing SAP for that.
    If you are lucky enough to have latest version of SAP. Try with SAP UI5 which has got very good interactive capabilities of graph.
    Regards,
    Karthi M

  • PDF Forms embedded in Webdynpro Java - Can eCATT recognize???

    Hi All,
               Will eCATT be able to identify the PDF forms embedded in Webdynpro Java applications.....
    Thanks in Advance
    Puru

    I think it will not. I am almost sure it will not. Any new complex screens are a challenge to eCATT. Flash, Flex and sometimes even trees.
    Says,
    Justin

  • SAP NetWeaver 7.01 - ABAP Trial Version - Adobe Flex Islands are missing

    Hello,
    After installing SAP NetWeaver 7.01 - ABAP Trial Version, Enhancement Package 1, I discovered that the Adobe Flex Islands UI element is missing.
    - How/when can I play around with it and integrate Flex applications with my WebDynpro 4 ABAP applications?
    - Is Adobe Flex Islands for WebDynpro 4 ABAP demonstrated at the teched in Berlin? Which session should I attend?
    Any information on the subject would be nice.
    best regards,
    Roelof Jan Bouwknegt

    >
    Roelof Jan Bouwknegt wrote:
    > Hi Thomas,
    >
    > It's working now. Very promising technology. Is it true that I can build now a full featured high perfomant Flex application with a powerful consistent WD4A backend framework? That's too good. Thx for your quick help.
    >
    > best regards,
    > Roelof Jan
    That is true.  Keep in mind however that the Flash Island isn't meant to take up your entire UI.  It is intended to supplement the existing Web Dynpro UI elements.  There are things that WD does better than Flex - Value Help, Translation, Personalization, Accessibility.  Of course there are advantages to using Flex as well - especially for very visual or highly interactive UI element constructs.  Hopefully the combination of Flex and WD gives you the best of both worlds when used in a powerful combination.

  • Fusion Charts in webdynpro FlashIsland.

    Hi,
          I used fusion charts in flex appliction. When trying to this SWF file using webdynpro FlashIsland , it not showing fusion chart.
    can i use fusion charts in webdynpro  FlashIsland.
    Regards,
    Anand.

    Hi Thomas,
    Can you tell the steps to create FlashIsland application for fusion charts.  I need a help. I need to show simple one bar chart with
    some static data( no need to come from backend).
    These are the my steps:
    1) created  new flex application (chart.mxml).
    2) copied FusionChart.swc file into lib folder.(Downloaded trail version from flex site).
    3) Uploaded WDIslandLibrary30 ,WDIslandLibrary30-debug in to flex application .
    4)Created some chartdata collection array with some values.
    4) drageed the component  into flex appliction and setted attributes.
    5) builded it and uploded into Flashisland appliction.
    6) Running appliction application .
      But it showing blank page.
    Regards,
    Anand.
    Edited by: Anand_vis on Feb 24, 2012 8:35 AM

  • Org Chart  in WebDynpro

    I need to render an org chart using WebDynpro. Data should be retrieved from a recursive tree context node.
    IGS is not providing this chart type and I am not willing to write my own jpg chart renderer....
    Any suggestions for the best approach to realize such a functionality?
    Thanks in advance & Regards
    Vitaliano Trecca

    Thank you Stefanie, unfortunately our landscape is still on NW04.
    By the way I managed to develop a custom WebDynpro component that renders top-down and left- right org charts as a .PNG image by a rework of the open source Javelin OrgChart project.
    In this way I can render charts at server side and I do not have to use java applets on client side. J2EE engine is rendering these images in just few milli seconds.
    If anybody else is interested I can share this component. Maybe we can refine it better.
    Kind regards,
    Vitaliano

  • How to create a calender view in webdynpro java EP 7.0

    Hi ,
    I want to create a calender view in webdynpro,
    Requirments are
    1. it should be current month view
    2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
    ie
    1
    10am | 4pm
    Is this possible in webdynpro java EP 7.0 ?
    Please help me
    Thanks
    Kumar

    Hi Kumar,
    If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
    Regards,
    Ganesh N

  • Problem while deploying a webdynpro java application in NWDS 7.1 version

    HI All,
            I got the below error when i deploying the  webdynpro java application in NWDS 7.1 version..help me out...........................................
    Exception:
    com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:64)
         at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
    Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
    va:136)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
    DeployProcessorFactoryImpl.java:26)
         at
    com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
    Impl.java:46)
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:58)
         ... 1 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
    not found in lookup of tcbldeploy_controller.
         at
    com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at
    com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
    directableImpl.java:80)
         at
    com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
    4_Skel.java:555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
         at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
    cess(ApplicationSessionMessageListener.java:33)
         at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

  • Print button on my webdynpro JAVA page

    Hi Experts,
    Is there any way that I can include a print button on my webdynpro JAVA page. ON click of the Print button I have to print the entire Page. User is able to print the page by using the print option of Browser, but in that case if the page is having a vertical or horizontal scroll, print output will contain only the visible part.
    Thanks and Regards,
    Sarath Satheesan

    Hi Sarath,
    Printing Web Dynpro Java (WDJ) applications is one of the missing functionalities that everyone wants to have in their application. you can use third party open source reporting tool, JasperReports, to solve this issue
    Printing in Web Dynpro using JasperReports
    PART 1 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 2 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 3 - /people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports
    Hope this will fulfil you requiremnt.
    Thanks
    Arun

Maybe you are looking for

  • Runtime error while loading data in BI 7.0

    Hi All, While loading data in BI 7.0, I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table. As per SAP BASIS SUPPORT comments: "This is NOT a space problem but rather a huge memory resource c

  • Can't sync iPhone... Apple Mobile Device support does not install

    Hello @all, I've got a big problem. I've installed the 8.1 Update of Itunes and Apple Mobile Device Service would not be installed. After registering modules the setup reverses all actions. Now I can start Itunes but my IPhone can't sync. Theres a Ge

  • Mac Mini and Ethernet Access

    Recently, my brother passed away, and I am trying to access the drive on his 2008 Mac Mini via ethernet. The computer shows up fine, but when I try to connect, the connection fails. I tried logging in as a guest, as I do not have his password, with t

  • Access to  rsa1 in many clients

    Hello gurus, Can i create in an instance bw, several clients with access to the transaction rsa1. I ask this because in  rsadmina table (table intermandant), the field bwmandt is individual. When I connect to another mandant (exemple 810) and I test

  • I Cannot Select instruments/scroll over them in Magic Garageband

    When I scroll over the instruments on magic garageband they don't light up and i cannot click on them. Why is this?