SAP UI5 Chart using SAP MII Query template

Hi All, I am new to SAP UI5. I am trying to create SAP UI5 chart using SAP MII Query template. could anyone please tell me how to pass the Query Template as input to the SAPUI5 Chart? If possible please share sample code for doing so Regards Praveen Reddy

Hi,
If you want to embed UI5 objects in an IRPT here is a very simple code snippet:
<HTML>
<HEAD>
  <TITLE>TestUI5</TITLE>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
  <SCRIPT>
  var Grid = new com.sap.xmii.grid.init.i5Grid(SpecifyDisplayTemplateHere, SpecifyQueryTemplateHere);
  Grid.setGridWidth("640px");
  Grid.setGridHeight("400px");
  Grid.draw("div1");
  </SCRIPT>
</HEAD>
<BOD
  <DIV id="div1"/>
</BODY>
</HTML>

Similar Messages

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

  • SAP UI5 is useful to create a website ?

    Hi,
    I am planning to learn SAP UI5. I have some doubts in this,
    1. Is SAP UI5 is used to create websites ? If yes, we need to use SAP is the backend support (database) for that ?
              I mean, we can use HTML to create any kind of websites, SAP UI5 is also works like that?
    2. What are the required softwares we need to run SAPUI5 ? Let me know where I can get that softwares?
    3. What is River RDE? How/Where we need to use this in SAPUI5 ?
    Give me any other suggestions to improve my knowledge on this ....
    Thanks in advance.
    Regards,
    Pavan A.
    Message was edited by: Pavan A

    Hello,
    Have a look into this link, it may helps you.
    Get to Know the UI Development Toolkit for HTML5 (aka SAPUI5)
    Regards,
    Murali Krishna.

  • SAP UI5 charts sap.viz OR sap.makit?

    Hi All,
    Just wanted to know which one is preferable / suggested for implementing charts for mobiles using SAP UI5 ? sap.viz or sap.makit?
    I know that the VIZ charting library (sap.viz) relies on the open source component D3 which in turn relies on the availability of Scalable Vector Graphics (SVG). As SVG is not supported by IE8 and not fully supported by FF ESR, the VIZ charting library is also not supported on those browsers.
    With this point can we say that it it better to go with sap.makit?
    Please advice.
    Thanks

    Hi,
    I'd recommend to use sap.viz if possible. It is the one that has development focus and it now also works on touch devices.
    For IE8 there seem to be compatibility libraries, google for them.
    (e.g. javascript - D3 IE8 Compatibility? - Stack Overflow and Home · mbostock/d3 Wiki · GitHub) https://github.com/shawnbot/aight might be the solution for IE8.
    Regards
    Andreas

  • Problem Calling MaxDB stored procedure with output from MII Query template

    Hi,
    I am using Max DB Database studio to write stored procedure, I am calling stored procedure from MII Query using CALL statement.
    Can anyone guide me how to pass output values of stored procedure.
    Examlpe::
    call ProcName('[Param.1]','[Param.2]','[Param.3]','[Param.4]','[Param.5]', :isSuccess, :Trace)
    In the above line of code I am not able to get the output values of stored procedure that is isSuccess and Trace values in Query template when executed. But same thing I get when executed in Database studio.
    How do I call with outputs for any stored procedure in MII.
    Any help would be appriciated.
    Thanks,
    Padma

    My call statement is like this
    call RESULTDATA_INSERT('[Param.1]','[Param.2]','[Param.3]', :isSuccess, :Trace)
    I am able to insert record in DB, But I am not getting output values in Query template.I have done this in Fixed Query, when I execute it throws me "Fatal error as Loaded content empty".
    I tried giving select below call but it dont work.
    Regards,
    Rao

  • How to deliver an order created in SAP R/3 using sap gui.

    Hi all,
       I have created an order in SAP R/3 with two items.Now i want to deliver the order using sap gui.Pls tell me the bapi or steps of doing it.
    Regards,
    Kiran.

    Hi,
    Kindly check the link for creating Outbound delivery for
    customer sales order:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/56078c545a11d1a7020000e829fd11/frameset.htm
    best regards,
    Thangesh

  • Reading of File from legacy system into SAP Application Server using SAP XI

    Hi All,
      I have a file in <b>Legacy System with Exchange rates information data</b> i have to read that file using SAP XI process and put that file in SAP Application Server in SAP Specific Format and latter i have to use program RFTBFF00 to upload the file in the Application Server into SAP Tables.
      Can anybody tell me how can i do this with some example of same scenario.
      It would be better if anybody provides code example as i am new to SAP XI.
    Thanks in advance.
    Warm Regards,
    Rayeez.

    Hi Shaik,
    You need the access to the file system of ur legacy application and then you can follow this link for the required ifnormation
    File & Header
    Regards
    Vishnu

  • How to deliver items in SAP R/3 using sap gui

    Hi all,
        I have created an order.I want to deliver the items contained in it. pls tell me how to do it using sap gui.
    Regards,
    Kiran.

    Hi Anil
    You can create a normal ABAP report to delete or modify records from database table.
    You can use statements such as delete or modify for this purpose.
    First select the records from table bring them into internal table and use that table to delete the records from database.
    Note: If you are trying to delete records from Z tables then this approch can be adopted but if you are dealing with Standard tables it`s not a option to directly delte the reocrds from database table .
    For that purpose you can use BDC or any othe available FM/BAPI.
    Note :When you are deleting records from the database table please use locking function module to lock the database entries.
    Regards
    Neha

  • Connect to SAP R/3  using SAP GUI for HTML through saprouter

    Hello,
    I have my system running on my intranet, but I need to connect some support enginners through an Internet connection. Nowadays some users can connect to QAS and PRO systems using SAP GUI for windows and java with the saprouter string,  but the support enginners are using SAP GUI for HTML, do I need a special string or configuration so html users can connect to my system from the Internet?
    Thanks in advance.

    thanks, I can get the data from SAP R/3 to crystal report.
    but still dont know how to do the second question mentioned in previous message:
    once the table I want to get the data from is a cluster, and have found the mapping data dictionary of this data cluster, which displayed in crystal report connection as well, however, the data is not what I wanted.

  • Problem of using Parameters in Query templates

    Hi,
      how do use parameter values in SQL query in query templates? i have 2 field database no1, no2. i want to filter it by no2 by using param. i gave in filter field of query template as order1.no2 like '[Param.1]' and in parameters as % and clicked set. when i test it, it is showing error..
    help me.
    - senthil

    Hi,
       I tried that mode is query, filter expr is order1.no2 like '[Param.1]'  and  in parameters % . It is showing all the cols.
    -vijaya

  • Testing SAP HCM application using SAP TAO

    I have the following questions regarding SAP HCM testing.
    1)  Do we use any third-party i.e, HP's Quality Center, QTP tools to test SAP HCM applicationa?
    2) Do any one  tested SAP HCM using SAP TAO tool? 
    I am new to SAP HCM testing, appreciate if someone can send some documents related to testing using SAP TAO and other third-party tools.

    Basuvarma:
    I understand that we use Quality Center to maintain the test cases. I want to know if you can provid me any documents related to SAP HCM testing using QC or Rations tools....
    Appreciate your response.

  • XML File to SAP R/3 using SAP XI

    Hello Everyone,
    I'm hoping someone has done this scenario and can provide a step by step example for me.  The scenario I have is as follows:
    -- An XML file is placed manually on a UNIX SAP Server
    -- SAP XI should, once the file is placed on the server, go to a specific directory, pick the file up, and then send it to an RFC of which I've already mapped.
    -- Once the file is placed in the SAP R3 system, then the processing is over and no further processing should take place.
    -- This is an inbound message to SAP XI and also to SAP R/3
    I was thinking of using a File adapter as a "Sender", and poll every 60 seconds on a directory mentioned above.  Once the file is there, then I would call the RFC and then the mapping of the XML would put the data into R/3.
    Any help anyone can provide would be most appreciated.  Thanks in advance for your help!
    Regards,
    John

    John,
    You are looking for File -XI-RFC scenario right, please follow the below weblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    If you need more details, reply!!!!
    Best regards,
    raj.

  • IDOC data transfer SAP to Java using SAP JCo

    Dear Experts,
              The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
                 For this data transferred we are planning to use IDOC process and for interface "SAP Java connector" we are planning to use. In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once  "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    If anybody has detailed steps or explanation please share it with us.
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • Processing a SAP PI job using SAP Redwood

    Hi Anton,
    Can you please provide me a step by step solution of attaching a SAP PI job in Redwood so that i can schedule it using REDWOOD scheduler.

    Hi,
    This seems to be a duplicate request, please follow the original request [here|Can someone Help me to integrate SAP PI with SAP Redwood.;.
    Regards,
    Anton.

  • How to build html page into sap ui5.

    hi. I have a project in html and xsjs.
    Now i want to convert one of the html page to sap ui5.
    i install sap ui5 Application in hana studio.
    and goto sapui application option.
    create project name and select sap.commons libary then i slected view in javascript then i finish wizards.
    then it created index.html, view.js.
    when we right click on index.html.
    a dialog box open and i select team option.
    then when i go to share project option its  disabled.
    so it is th correct way to do it . or i missing something.

    Hi,
    you have created a SAPUI5 Application Development project in the SAP HANA Development Perspective? The connection to the HANA repository is established (on tab Repositories in the SAP HANA Development Perspective)?
    Maybe you can post some further information (e.g. screenshots).
    Thx & Regards,
    Florian

Maybe you are looking for

  • 'Tracking' taken out of RichText tag?

    Morning, I just installed the engrdrop of FB4 (v.4.0.0.239344), and when i imported my FC project, the RichText tags had the method of 'tracking' and a value of -4%. went to compile this and run. and got errors on the complie saying that tracking as

  • How to set max rows in flowed textfield?

    Is there a way to limit the rows allowed to input on a flowed textarea? I now we can limit the length of max chars, but that would not help me.

  • TextContainerManager RTE

    Hi, I am using TLF in a spark list control item renderer. The list data provider items create the TextFlow. However, when I try to create the textFlow only once I sometimes run into the error below: Version:1.0 StartHTML:0000000149 EndHTML:0000001726

  • OSX Lion doesn't send mail but save it in the draft

    I have upgraded OSX Leopard to Lion and I have this strange problem. I have 4 business mail account and all receive mail correctly one of them doesn' send the email. I can edit the message, and when i press send, the message disappear, nothing happen

  • Working on remote projects

    First of all, happy new year everyone. I've been working in oracle HRMS for 6 years now and have picked up a bunch of technical skills (BI publisher, workflow etc) along the way. At the moment I'm becoming slightly fed up with all the travelling I ha