WAD(BI7)- adding dataprovider (Query)

Hi Experts,
In WAD,
I need to find a solution to add 2 queries as a dataprovider to 1 navigation pane so that when i filter/navigate by a characteristic of this pane, both the underlined queries should change.
Is there a possibility- If Yes-How ?
Regards,

You can only have one dataprovider per navigation pane.  Although, you might try to add a second nav pane for the second dataprovider.  Not sure if it will work, but it's worth a try.
Also, you might want to use the same variable in both queries and change the variable value rather than use a filter.
Brian

Similar Messages

  • Could not load data from database after adding a query

    Dear all,
    I have a working crystal reports 2011 report. This report get its data from a BW 7.01 system provided by three bex queries. Everything works as expected but not I have to add a fourth query to the report then I get the following messages:
    I try to translate it because I user the german version:
    INFORMATION: In this report a stored procedure is used. Ensure that no SQL expression was added and no grouping on server side will be done.
    WARNING: Data could not be load from the database.
    WANING: Invalid argument provided. Details: The key figure structure isn't a valid field for report generation. Use instead the real keyfigures with teir units.
    Has anyone an idea what can be the reason for my issue?
    Thanks and regards!

    hi Gerrit,
    a couple of questions...
    1) are you adding all 3 queries (and then the 4th) in the same data connection or are each of these additional queries in a subreport?
    2) if all 3 queries (and then the 4th) are in the same data connection are you linking them?
    3) most importantly, if you create a brand new report off of the 4th query, is it successful?
    it's been quite a while since I've worked with bex queries but in general adding multiple queries (or stored procs or commands or combinations thereof)  to the same report is probably not a good idea. there ends up being a lot of processing happening in the crystal reports designer itself as a large virtual record set is created by the individual queries.
    -jamie

  • WAD: How-to get query name and pass to URL

    Hi,
    The task: In a BI 7.0 web template - get the technical query name and use that to open a URL in the format http://<MYURL>&DOCUMENTATION=<QUERYNAME>. So:
    1) User clicks an icon
    2) Get technical name of query
    3) Open the documentation for that query using a URL
    How can this be done? Do I have to use the Custom Extension web item and implement a new class using the interface IF_BICS_CONS_WEBITEM_CUST_EXIT? If so, do you have an example of how this can be done? OR even better is there an easier way to accomplish this?
    Thanks in advance,
    Jacob

    Hi Daniel,
    you could get the query name in ABAP code, also. Here is a snippet from the execute method. The Query name should be in l_sx_view at the end.
    best regards
    Arne
    TYPE-POOLS: 
      rrx1.
    DATA:
      l_string TYPE string,
      l_xml TYPE string,
      l_xml_xstring TYPE xstring,
      l_sx_view TYPE rrx1_sx_view,
    * Line Feed, CR
      c_lf TYPE string,
      l_h_lf(2) TYPE x VALUE '0D0A',
      l_r_conv TYPE REF TO cl_abap_conv_in_ce.
    * Get the line feed and carriage return for unicode
      l_r_conv = cl_abap_conv_in_ce=>create( input = l_h_lf ).
      l_r_conv->read( IMPORTING data = c_lf ).
      DATA:
      l_t_data_providers TYPE cl_bics_cons_webitem_util=>tn_t_data_provider,
      l_s_data_providers TYPE cl_bics_cons_webitem_util=>tn_s_data_provider,
      l_r_variable_container TYPE REF TO if_ixml_node.
      CLEAR e_xml.
      TRY.
    *     All data passed to the webitem exit is hold in I_XML using XML.
    *     The XML is UTF-8 encoded. You can convert the UTF-8 xstring
    *     to a simple ABAP string by calling the following method:
    *     ==================================================================
          CALL METHOD cl_bics_cons_webitem_util=>utf8_xstring_2_string
            EXPORTING
              i_utf8_xstring = i_xml
            RECEIVING
              r_string       = l_xml.
    *     The XML includes sections about the used data provider and about the
    *     variable container. The following method parses the XML and
    *     provides the IF_IXML_NODE instances for data providers and for the
    *     variable container.
    *     ==================================================================
          CALL METHOD cl_bics_cons_webitem_util=>parse_xml
            EXPORTING
              i_xml                  = i_xml
            IMPORTING
              e_t_data_providers     = l_t_data_providers
              e_r_variable_container = l_r_variable_container.
    * 01 Get name of first Data Provider
          READ TABLE l_t_data_providers INDEX 1 INTO l_s_data_providers.
          CALL TRANSFORMATION bics_cons_webitem_filter_by_dp
          PARAMETERS dataprovider = l_s_data_providers-name
          SOURCE XML i_xml
          RESULT XML l_xml_xstring.
          CALL METHOD cl_bics_cons_state_converter=>convert_xml
            EXPORTING
              i_xml     = l_xml_xstring
            IMPORTING
              e_sx_view = l_sx_view.

  • Display Header/Footer Information while Printing WAD BI7.0

    Hello all,
    My customer requirement is not to display Header/Footer on the Portal Screen via WAD, but while Printing, they want to display the Header/Footer. Is there any properties within Web Application Designer that this is done?
    Thanks,
    Af

    Hi
    1.Use a Table inside a Container Item.
    2.In the table use Text Box( available in Miscelleaneous tab in the left) in the header and the footer
    3 Drag button group Item and in the properties internal display press the combo button
    4.Press Combo Command-> all commands->Commands for Web Templates-> export web application. Come again to Favourite comands tab -> Place the cursor over Export Web Application -> Press Next Button in the footer
    5. Here in the Item Binding tab, give item which needs to be printed
    In your Portal, you can give the query for display without this settings
    Regards
    N Ganesh

  • Can you control a URL in eloqua from being adding the query string??

    If I am inserting a URL in an email, i cant seem to stop eloqua from adding extra parameters in the form of query string in eloqua.
    I want to make this happen because the URL doesnt seem to work if we add any extra parameter using query string.

    I've tired doing this and it did not work for me. However, I was able to find a solution that helped me a whole lot.
    After running all test runs - I found a solution that helped me take off the extra parameters that Eloqua adds to all URL's.
    I created my urls without placing "http://" or "https://" or http://www." or "https://www." and that helped take off all tracking.
    Re: Use of tinyUrl

  • In WAD getting warning messages "Query was changed"

    Hi All,
           After I changed my query in WAD, Iam getting the warning messages in top of the page in web (used WAD)for all charcaterstics and keyfigures .
    Can anyone please suggest how can I avoid these warning messages?
    Thanks in advance,
    regards,
    Govind

    Govinda:
    In WAD, Open your template. In your template properties(Not web item properties, dont select any web item, just the template) There are 2 check boxes to suppress system messages and system warning. Save and execute, you should be okay.

  • Cfquery results ordered by column added after query run

    I have a function that returns a recordset, adds a column
    using QueryAddColumn then loops through the recordset and reorders
    the items using QuerySetCell.
    Once the function has run, the output shows the items in
    their natural order and lists the new order as a table column.
    How would I then do the equivalent of ORDER BY myNewColumn
    since the query has already run.
    My code is attached.
    Thanks,
    Paul

    Never mind, sussed it!
    Added the following for query of query:

  • How take variable value in WAD 7.0 from query

    Hi experts,
    We have some queries with the same type of data but with different structure. All have the same variables entry and we want to execute through WAD one of them based on the values entered in the variables screen.
    Could you help us saying how we can take that variables values entered in order to use in the Web template code?
    We are using WAD 7.0 and QD 7.0.
    Thanks in advance.

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Adding a query to the approval template

    Hello
    I'm trying to setup an approval template for AR Invoices based on a UDF.
    Basically I want to add a query to the approval template that will trigger an approval request based on the following query
    but i don't know how to set it properly.
    trigger an approval when:
    select * from OINV where u_ordertype = 'sub'
    any help would be appreciated it!
    Mike

    Hi Mike,
    Try this:
    select 'true' from OINV T0 where T0.u_ordertype = 'sub' and T0.DocNum = $[$8.0.0\]
    Thanks,
    Gordon

  • How to create multiple workbooks in BI7 for a query

    Hi all,
    I have created a query and saved it as a workbook.If I want to create second workbook for the same query what is the way for that ? I am unble to trace the path.can anyone help me on this ?
    Regards
      KK

    Hi San/KJ,
    I have saved query as WB,and I am trying to re open the WB,system is giving an exception stating that " A critical problem has occurred This progrm has to close.Please refer to trace for further information " .Shall I have to implement any note for this ?
    regards
      KK

  • Adding a Query to a Role

    Hi gurus
    Can anyone please let me know how to add a query to a role in Bw 3.x.

    Hi Rajat,
           In the Query Designer tool bar, you will see Create, Open, save, save as, delete and Publlish Icon.Next to the publish Icon, you will see downward arrow. If you click that, then it will show Publish in Role, Publish in portal/.If you click 'publish In Portal' then it will show you roles available and choose the role and save it.
          Or else you can even do in PFCG.
    In PFCG, give the role and choose change.
    Goto Menu tab. Choose the folder under which you want to save your query, select insert report option and give your report name.
           Hope it helps you. Assign points if it helps you.
    Regards,
    Yokesh

  • Adding to Query

    We have this query that pulls up info on BP that have Properties #4 selected. 
    SELECT t1.DocDate Date, t1.CardCode Acct#, t1.CardName Company, t3.Name 'Contact Person',t1.DocNum Invoice#, t1.DocTotal '$ Amt', Sum(t0.Quantity) 'Qty Pieces'
    FROM dbo.INV1 t0
    INNER JOIN dbo.OINV t1 on t1.docentry = t0.docentry
    INNER JOIN dbo.OCRD t2 on t2.CardCode = T1.CardCode
    LEFT JOIN dbo.OCPR t3 on t3.CntctCode = t1.CntctCode
    WHERE t2.Qrygroup4 = 'Y'
    GROUP BY t1.DocDate, t1.CardCode, t1.CardName, t3.Name, t1.DocNum, t1.DocTotal
    We would like to add PO#, Inv # and SO # to this query.  Help?! 
    Thanks,
    Mike

    Your INV# is in the query already.  If you Invoice is copied from Sales Order, then the following query will give your Sales Order #.  As for PO #, it depends on how you join the tables.
    SELECT t1.DocDate Date, t1.CardCode Acct#, t1.CardName Company, t3.Name 'Contact Person',t1.DocNum Invoice#, t5.DocNum SO#, t1.DocTotal '$ Amt', Sum(t0.Quantity) 'Qty Pieces'
    FROM dbo.INV1 t0
    INNER JOIN dbo.OINV t1 on t1.docentry = t0.docentry
    INNER JOIN dbo.OCRD t2 on t2.CardCode = T1.CardCode
    LEFT JOIN dbo.OCPR t3 on t3.CntctCode = t1.CntctCode
    LEFT JOIN dbo.RDR1 t4 on t4.TrgetEntry = t0.DocEntry and t4.TargetType = 13
    LEFT JOIN dbo.ORDR t5 on t5.docentry = t4.docentry
    WHERE t2.Qrygroup4 = 'Y'
    GROUP BY t1.DocDate, t1.CardCode, t1.CardName, t3.Name, t1.DocNum, t1.DocTotal, t5.DocNum
    Thanks,
    Gordon

  • Adding multiple query into a role

    hi gurus,
    is there any way that i can use to add multiple query (100+) into a role
    Please advice
    thank you

    Dear Ramasamy,
    Please check SAP note   588144, this explains the complete procedure:
    Regards,
    Arvind

  • WAD - BI7.0

    Hi ,
    I have designed a web template where in i need to have a button called Print.I have designed the button but do not know wt is the right command to assign to the button.
    Any help on this one ?
    Thanks
    Surbhi

    Export Web Application
    Refer this
    http://help.sap.com/saphelp_nw70/helpdata/en/44/85de4943af5919e10000000a1553f7/frameset.htm

Maybe you are looking for