BI Java SDK: Bex query in Webdynpro java

Hi,
I want to know is it possible to view a Bex query output
in a webdynpro java application. There is a Bex query defined i just want to get the report of this query or atleast the output of this query. Also how will be the output structure? i am not familier to BI plz help. I did go though BI SDK documentation but did not help
Vinay

Hi Vinay,
The BEx query output in webdynpro is with help connectors. the connector SAP query which you were speaking about is one of the four options. I hope this is the link what u were refering to link:[http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm]
SAP Query is a component of SAP's Web Application Server that allows you to create custom reports without any ABAP programming knowledge. The BI SAP Query Connector uses SAP Query to allow applications created with the BI Java SDK to access data from these SAP operational applications.SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
It would be a better option if  with JDBC connector because that worked for me in extarcting data from a different source system.BI JDBC Connector is aslo used to make these data sources available in BW, via BW's UD Connect.
For the WD code i need to check.
Please tell me if its helpful.
Regards,
Shaila.

Similar Messages

  • Bex query in WebDynpro

    Hi All,
    Is it possible to call Bex query from WebDynpro?

    please refer this thread
    Re: Access BW data (query) iinto WebDynpro

  • BI SDK BEx Query Member Visibility

    Hi,
    We are executing queries which were defined in BEx in a Java application using the BI JSDK.
    Now, we have some row members that have been hidden in the BEx Query. However, on the BI SDK query this has no effect.
    Do you know how to find out that a member in a dimension is hidden in the original query?
    Is this information transfered at all?
    Thanks for any advice.
    Regards Kilian

    Hi Vinay,
    The BEx query output in webdynpro is with help connectors. the connector SAP query which you were speaking about is one of the four options. I hope this is the link what u were refering to link:[http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm]
    SAP Query is a component of SAP's Web Application Server that allows you to create custom reports without any ABAP programming knowledge. The BI SAP Query Connector uses SAP Query to allow applications created with the BI Java SDK to access data from these SAP operational applications.SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
    It would be a better option if  with JDBC connector because that worked for me in extarcting data from a different source system.BI JDBC Connector is aslo used to make these data sources available in BW, via BW's UD Connect.
    For the WD code i need to check.
    Please tell me if its helpful.
    Regards,
    Shaila.

  • Running the BEX query from webdynpro ABAP

    Hi Gurus,
    Can someone provide the code for running the BEX query from WDA.
    Thanks,
    David.

    Hi! Do you want to get query results in ABAP or to open excel from browser?

  • How to integerate BEx query with Portal (Java)

    Hi folks,
    I installed SAP Netweaver 2004s Sneak Preview ABAP+JAVA , Stack 9 for Linux with VMWare test drive. I have configured and enabled BW/BI  in Netweaver. I have also configured SLD and its Status is "running" in J2EE engine.
    I designed one simple BI application through Tcode: RSA1, and then created Query for data analysis thruogh Query Designer. How can I establish the link between AS ABAP with AS JAVA to publish the query on portal. I want to use BEx Report designer and Web Application Designer, but I can't execute the result on the portal from these designer tools.
    Do I need to create RFC destination on both sides ABAP and JAVA, but how , anyone can give an example for the required procudure.
    thanks.
    Obaid

    Hi,
    Thanks all of you, Venkatramani Hariharan  , with the help of your given link I am able to to apply the part of the configuration from the document as described by the writer.
    But on Step No. 6 : Step 6: Import BW Certificate to the Portal
    Under Step 6:
    I succeeded to complete first 6 steps but from step 7 , author guided me to continue in Visual Administrator and choose <SID>/Server<#>/Services/Security Provider
    - Under Component, choose Ticket.
    - Choose the Authentication tab page.
    - Change the options for com.sap.security.core.server.jaas.EvaluateTicketLoginModule and enter the following values:
    like
    trustedsys<Number>=<BW_SID>, <BW_CLIENT> (for example, BWP, 000)
    u2022
    trustediss<Number>=<ISSUER_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    u2022
    trusteddn<Number>=<SUBJECT_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    But in the window all the modification button(s) are disbale like "Modify", "Remove", "Add New".
    So, Is there any way to make those enable to apply the changes. Please help me in this context.
    thanks
    Obaid.

  • Execution of BEx Query Designer Querys in BI Java SDK

    Hello experts,
    i am actually occupying with the possibilities of the BI Java SDK. I checked the documentation but could not find an answer to my question, so i address this issue now to the community in the hope, that someone out there can give me a hint:
    Is it possible to execute a BI query, which was designed in the BEx query designer, within the BI Java SDK OLAP query api?
    Is  there somewhere a method, which could be simply passed the technical names of the infocube and  the query and then returns the query result as a IBIResultSet or IBIDataSet?
    Thanks in advance for your help,
    best regards,
    Thilo

    Hello Mohan,
    thanks for this impression - thats a way i didn't think about at all before. I even think, that it is not necessary to publish the query as iview - it would suffice to invoke the BEx-AdHoc-Analysis Service via a HttpConnection-Object within a servlet and then parse the result delivered by the BEx service. You won't even need BI Java SDK for this, since this is plain Java functionality.
    But as i see there seems to exist no BI Java SDK-"generic" possibility to invoke an existing query as i see....
    If anybody has got another idea, it is very welcome. But i think i will investigate on the approach with the native HTTP call to AdHoc Service.
    Thanks anyway & best regards,
    Thilo

  • BI Java SDK - query parameters

    Hello.
    I`m using BI Java SDK to develop a custom Java Swing Application to integrate with the SAP BW 3.5
    I need to replicate the BW query in Java Application and execute this in the Java Side.
    My question is: ...can i replicate the initial screen of the BW query in Java Application  ?
    The initial screen of bw query with the filters and parameters to execute the query in Java side.
    How i capture the filters and paramenters of BW query in BI Java SDK ?
    Best Regards.
    Taylor

    We have a problem with the API BI Java SDK.
    In my application, i using the swing and BI Java SDK to list al cubes and execute the queries.
    The tutorials in "BI Java SDK Examples page" are in "Hard Coded" for all itens, parameters, cubes, mdx Queries ...etc !!!
    When i try to execute the query i need add all dimensions in rows to set in moveDimensionToRows in IBICommandProcessor Class
    This the sample code and the problem:
    //Create olap Query and Commandprocessor
    IBIQuery query = olap.createQuery(cube);
    IBICommandProcessor commandProcessor = query.getCommandProcessor();
    //Here i set the dimension in "hard Coded", but my application captures this automatically to set the dimensions.
    Dimension dimension1 = olap.getObjectFinder().findDimensionFirst(cube, "0CALMONTH");
    Dimension dimension2 = olap.getObjectFinder().findDimensionFirst(cube, "EPINSTALA__0UCRATE_CAT");
    // Here i move the (dimension1 and dimension2 to rows. <-- THE PROBLEM IS HERE - How to capture only dimensions in rows to set in moveDimensionRows ???
    commandProcessor.moveDimensionToRows(dimension2);
    commandProcessor.moveDimensionToRows(dimension1);
    // Execute the query and retrieve the result set.
    IBIDataSet dataset = query.execute();
    Problem --> When i try to execute the query without set moveDimensionToRows, this return only the global result of query (1 row only).
    To return all data in my Grid (JTable), i need to set moveDimensionToRows.
    How i can capture only the rows dimensions to set in moveDimensionToRows and collum dimension ???
    How to separate row dimension and collum dimension???
    thanks...

  • SAP BO Report Scheduling and Save as report using Java SDK

    Hi All,
    We have a java product which is integrated with SAP BO using Java SDK and we have certain java screen through which we select report prompt values and webi report gets run.
    Now we want to give a functionality to save report to BO repository.
    When user select certain check box from java screen a separate copy of the webi report should get saved under default folder on BO repository.
    Also, we want user to choose the scheduling option from java screen only (and not the one which we use from BI Launchpad) due to certain access restriction. User does not have access to BI Launchpad. Only he can run report by selecting values through Java screen.
    If i need to create a separate screen for scheduling as well as saving webi report then also i am ok with it.
    P.S. i guess we need to work on Java SDK level. But could somebody please help me with the right direction?
    Let me know in case requirement is not clear.

    Hi Ketan,
    As you are on version BI 4.0 SP5 and would be migrating to BI 4.1, the best SDKs to use would be the Restful Webservices SDKs.
    You have the options to schedule a webi report with prompts as well as the save feature which you require.
    Please refer to the webi restful guides avialble at
    For BI 4.0 SP5
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_webi_restful_ws_en.pdf
    For BI 4.1 SP4
    http://help.sap.com/saphelpiis_sbo41sp4wi-sdk/frameset.htm
    Refer to the below blog to understand the Restfull Webservices SDKs.
    http://scn.sap.com/community/restful-sdk/blog/2013/09/07/scripting-web-intelligence-the-restful-raylight-web-services--learing-it
    More blogs on Rest are available at
    http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bblogpost%5D
    You can find the samples from the below link
    http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bdocument%5D
    You would need to refer to the community below in case you have concerns about Rest SDKs.
    http://scn.sap.com/community/restful-sdk
    Thanks,
    Prithvi

  • Connection between webdynpro java and ECC.

    Hi experts,
    I am very new to webdynpro java, I want to learn webdynpro java since I know little bit of java.
    So here is my question,
    I want to connect my webdynpro java to ECC  to get data from ECC and display it on front end and as well i want to send data to ECC, can anyone help me to resolve this one.
    Thanks and Regards,
    Santoshkumar.

    Hi Santosh,
    This is pretty basic stuff in the world of Web Dynpro Java - I'd suggest you search SCN, read content on help.sap.com and then come back here with more specific questions.  All anyone can do to answer your current question is search for you and post links to documents that you could find for yourself.
    Cheers,
    G.

  • If we are migrating from JRC to CR Java SDK, do we need RAS or any server

    Current situation
    e already have lots of clients running our product. We are using JRC to show the reports. Reports are designed in Crystal Reports Designer and hosted in the J2EE application servers. No modification/updating of these reports are needed from the client side. No need to create either full or part of the reports on the fly.
    Only thing we do on the report other than just calling the viewerSDK to view, is: we read the parameters from the (designed/hosted) report to do parameter prompting in our own custom JSP. We went to create our own JSP to prompt for report parameters, because, using JRC SDK, for some reason we were unable to get dynamic (drop-down) parameter showing the list of values. These dynamic parameters are list of values, user choose one. So these parameters are linked to a command with simple SQL like (select col1, col2 from table1).
    Current API ???
    I think we have this free JRC SDK. We have a directory called crystalreportviewers115 in our product deployment plus some JARS like (CrystalReportEngine.jar, CrystalCommon.jar, CrystalCharting.jar, CrystalExporters.jar, CrystalExportingBase.jar, CrystalDatabaseConnectors.jar, CrystalFormulas.jar, CrystalQueryEngine.jar, CrystalReportingCommon.jar, rasapp.jar, rascore.jar, ReportViewer.jar, etc) in our appserver j2ee classpath.
    Now there are two choices:
    1. Let crystal report viewer handle itself the parameter prompting; Then, I do not know if it is possible with this free JRC SDK or anything else that is open source. If it is possible with some upgrading can you please let me know some tips to goahead.
    2. Finding a way to read the parameter details like the SQL command, etc, so that we can show it in our JSP. I do not know if we still need to upgrade to a different version of SDK.
    I tried looking for a different or newer SDKs... It is confusing with  things CR for Eclipse, CR Java SDK, etc. Do not know which direction to go!!!
    Can someone guide me please.

    CR Java SDK consists of JRC + Veiwers Java SDK.
    CR Eclipse 2.0 is latest IDE in which CR 2008 features are integrated.
    There are different set of JRCs for different versions of Crystal Reports. But for CR 2008 there is no separate JRC has been launched yet, instead CR4E 2.0 Java SDK has been launched which is free.
    For more details about CR4E 2.0 please check out this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f635e1-d0c4-2b10-559d-802a95c0d456
    Thanks,
    Tej

  • Sql Query in WebDynpro

    Hi Experts,
         Can any one tell me how to use SQL Query in WebDynpro Java to access the Database? Please mention the code where to use and the configuration to be done.
    Thanks in Advance
    Naveen

    Hi,
    Following is the code for max db change this driver to SQL server/Oracle
           Connection conn = null;
              try {
                   //sapdbc.jar is the MySQL Driver it should be part ot the java/lib or ext
                   Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
                   String urlConn = "jdbc:sapdb://localhost/maxdb1"; //replace localhost and the maxdb1 with your server name and database.
                   String username = "userID";
                   String password = "password";
                   conn = DriverManager.getConnection(urlConn, username, password);
                   System.out.println("connected to DB...");
                   //Here the table name is table one which contains 1 field of data type string, change the following as per yours.
                   PreparedStatement stmt = conn.prepareStatement("insert into table1 values(?)");
                   //get the value entered in the inputfield which is mapped to an attribute called ID, change ths according to your req.
                   String value = wdContext.currentContextElement().getID();
                   conn.setAutoCommit(false);
                   stmt.setString(1, value);
                   stmt.execute();
                   conn.commit();
              } catch (Exception e) {
                   e.printStackTrace();
              } // catch
    Regards
    Ayyapparaj

  • Getting Java error while connect BEx query to WebI report (SAP BI4.0 )

    Not able to connect BEx query to WebI report (SAP BI4.0 ) . Below is the error I get while creating a new BEx connection to BOBJ WebI report .
    Please find the below error and help me ,
    "Select a BW Bex query window box "  displayed "Nothing to display " and server error as mentioned below
    Java.uti.concurrent.executionException: Com.sap.sl.sdk.repository.service.repositor******
    at Java.uti.concurrent.futuretask (Unknown source )
    at java.swing.swing.timer.fireactionperformed(Unknown source )
    at java.awt.event.invocationEvent.dispatch(Unknown Source)
    Thanks ,
    Pradeep Gorpadu

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • Retrieve underlying SQL query for deski report via java SDK in BOXIR2

    Hi all,
    I am trying to retrieve underlying SQL queries of a deski report in BOXIR2. However I find the error as
    oDataProvider = oDocumentInstance.getDataProviders().getItem(i1);               
    System.out.print(oDataProvider.getName());
    oSQLDataProvider = (SQLDataProvider) oDataProvider;
    oSQLContainer_root = oSQLDataProvider.getSQLContainer();
    But "This feature is not supported for desktop Intelligence " exception has occured.
    I am running the same query for Webi, and I did not find any issue . After several time spending in google, it appears to me that this code is supported by webi only. But "This feature is not supported for desktop Intelligence " exception has occured.
    Please help me to find out the solution in java SDK. If its not supported by Java SDK, then could you please provide me any workaround , e.g. any macro . Any help !!
    Regards,
    Nita
    Edited by: Nita Prasad on Aug 11, 2009 11:20 AM
    Edited by: Nita Prasad on Aug 11, 2009 11:25 AM

    Hi Fritz,
    I am not getting the way.. how to open the deski report programmatically. I am writing the code in this way:
    Dim oInfoObjects1 As CrystalInfoStoreLib.InfoObjects
            Set oInfoObjects1 = oInfoStore.Query("SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='" & oInfoObject.Title & "' AND SI_ID='" & oInfoObject.Id & "' order by SI_NAME")
        Dim oInfoObject1 As CrystalInfoStoreLib.InfoObject
        Dim UserCount1 As Integer
            UserCount1 = oInfoObjects1.ResultCount
            MsgBox "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME=' " & oInfoObject.Title & " ' AND SI_ID=' " & oInfoObject.Id & " ' order by SI_NAME"
            MsgBox " Total number of Deski reports are : [" & UserCount1 & "]", vbOKOnly
        Dim j As Integer
         For j = 1 To UserCount1
          Set oInfoObject1 = oInfoObjects1.Item(i)
                sFile_ReportList = StrConv(oInfoObject1.Title, vbLowerCase) & ".rep"
                sFile_Output = "D:\TraceWrite1\ " & StrConv(oInfoObject1.Id & "_" & oInfoObject1.Title, vbLowerCase) & ".txt"
                sFile_ReportListTemp = StrConv(oInfoObject1.Files.Item(j), vbLowerCase)
                MsgBox "[" & sFile_ReportList & "]", vbOKOnly
                        If Dir(sFile_ReportList) = "" Then
                MsgBox "The text file [" & sFile_ReportList & "] for the DeskI documents does not exist!" & vbCrLf & "Aborting process."
                Exit Sub
                End If
    I am getting the error on line ...  If Dir(sFile_ReportList) = "" Then...  The code is not able to locate the deski report path.
    Is this the correct way to get a deski report information? Please let me know, If I am going in the right direction.
    Edited by: Nita Prasad on Aug 18, 2009 3:47 PM

  • BEx Query from Java

    Hi
    Can I call a BEx Query from Java . If yes, in what format data will be returned? We just need data, we want to structure it in Java for display in a Flex UI.
    Please note that I have very limited knowledge of both Java and BI.
    Thanks in advance for your help.
    Best Regards
    Saurabh

    Hi,
    Yes you can. It will be contained in a web template.
    Please read through the link below and the related links contained within.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    Thanks,
    Michael
    Edited by: Michael Devine on May 25, 2010 3:40 PM

  • SAP BEx Query as a Web Service - JAVA Stack needed?

    Dear all,
    I want to use the Web Service for calling a BEx Query in SAP BW 7.02.
    Do anybody know if a JAVA Stack is needed to get that Web Servcie working?
    Thank you very much for your help!
    Dieter

    Hi,
    i use Query As Werservice in xcelsuis so, wthen i click on  prview button, a prompt is displayed and i can choose either Entreprise or SAP connxion .
    i choosed SAP connexion and used SAP formated login like BI7~001/USERNAME
    And i also tested the webservice with soapUI. The result is the same... i can't see data with SAP connexion.
    thanks.

Maybe you are looking for

  • Short dump in reading selection values in Report

    Hi all, I have created a Navegational Attributte and added this Info Object in the existing Query and for this object we have created Charactistics Value Variable with Uesr Entry. But, When we use input selection option to select a vlaue for this Var

  • HI. I am new to Apple, so please try to understand.

    I just purchased the IMAC 26". I am very impressed with it after using Windows for many years. I am looking for an AOL browser that I can install on my IMAC. Does anyone have any suggestions or have you had any luck with with a version of AOL that yo

  • Video behaving badly on macs and windows7

    I have an interactive PDF I'm working on, which I've uploaded here http://dl.dropbox.com/u/5075782/Interactive%20PDF/Sample%20ebook%20new.pdf The mp4 video was made in Premier pro at a size of 1920x1080, (I wanted to use the built-in media player in

  • Unable to open a Webi document : 'alertDlg' is undefined

    Hi, Since few days, I have the following warning "alertDlg is undefined" when I try to open a Webi document. The only way to see my document is to see him in modification mode. My environnement : Bo Xi 3.1 SP3 + IIS 6.0 Somebody has already had this

  • Is it posssible to lunch one application from the client system using JSP

    Is it possible to Lunch one application from the client system using JSP or Servlet .If it is possible then how can we do that ? Thanks in advance Sil