Use subquery in webi report

Hello Experts,
I need to develop a webi report in which
I have to use a sub query to accomplish the requirement:
Query 1: list the customers based on material number(s) users entered.
Query 2. Use the result of query 1 as input for customer and list all the products bought by these customers.
Please let me know how can  i achieve this.
Really urgent. Please help.
Thanks in advance.
Regards,
Shweta Goel

you can build the whole SQL you want along with the @prompt for user to enter the material number and use it in a derived table in the UNIVERSE.
sel customer,products
from tab1
where customoers in (selcet customers
from tab2
where materialnumber in @prompt('enter material number',A,.....))
Are you by any chance using SAP OLAP queries as source?
Thanks,
Karthik

Similar Messages

  • Use wildcards in webi report filters?  It seems they're only avail in Query

    Can I use wildcards in webi report filters?  It seems they're only avail in Queries...

    HI,
    Eventhough you have created variable BeX query designer.
    User reponse will work ,
    steps to  achive,
    1.open the universe build on (Bex query with customer variable)
    2.you can find the filter symbol in universe for customer variable that you have created in bexx query
    3. then copy the exact text eg:"select the customer" in universe for that filter
    4.then in webi user reponse of that text. eg :userreponse("select the customer")
    regards,

  • What tool do we use for BW web report ?

    Hi all:
        What tool do we use for BW web report ? Could you please give some development steps
    for an example ?
    Thank you very much!!

    Hi,
    You can use the Report Designer for creating reports and displaying them on the web.
    You can refer to the below links for more information -
    http://help.sap.com/saphelp_nw70/helpdata/EN/c8/2d1442505d5033e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/8a95791b1f22a8e10000000a1553f6/frameset.htm
    Hope this helps!
    Regards,
    Saurabh

  • Objects used in a Webi Report

    Hello Friends,
    I need to identify all the Webi reports in BI 4.1 that use a particular object from the universe. I have never used RESTful Web Services SDK before, Does anyone have a sample code that I could use as a starting point to get this info?
    Regards,
    -CF

    Hi Chris,
    I guess you wont find someone posting a complete sample for your question.
    The task itself is not that complex and can be achieved with the REST webservices.
    Basically you need to use the webservice endpoints for the semantic layer and the web intelligence sdks - usually http://<server_name>:6405/biprws/sl/v1 and http://<server_name>:6405/biprws/raylight/v1
    With the semantic layer you fetch the universes
         - <slURL>/universes
    then the universe details with the outline
         - <slURL>/universes/5808
    There you can identify the object and then use the webi sdk to fetch all documents  
         - <webiURL>/documents?offset={offset}&limit={limit}
    iterate through them and get the list of dataproviders
         - <webiURL>/documents/{documentId}/dataproviders
    then the dp details    
         - <webiURL>/documents/{documentId}/dataproviders/{dataProviderId}
    There you go with all the information you need.
    Hope this helps
    Jan

  • How to use formula in WebI report

    hi guys
    i have done a webI report in which i have company code yearly sales and i want to see it quaterly.Please guide how to do this with formula.
    Thanks

    A lot of this depends on how your universe is set up.  The easiest way would be to have the universe updated to include "Automatic Date Hierarchy" for the sales date.  This would give you Year, Quarter, and Month breakdowns of the dates that you could then use to split up the data for your report.
    To do this in WebI, you would create a formula using the Quarter() function to get the quarter of the sales date field.
    -Dell

  • Can Tivoli (TWS) be used for scheduling WebI reports in BO XI 3.1?

    I am trying to figure out if it is possible to schedule WebI reports to refresh using TWS?
    We are using BO XI 3.1 SP2 deployed on unix and would like to use TWS to refresh WebI reports that are built on SAP BW Bex queries.  Does anyone have any experience scheduling WebI reports using TWS with XI 3.1?  Any information you can provide would be appreciated!
    Thanks,
    Derek

    Hi
    I can think of two options:
    1) You define in BO CMC external events  and schedule your reports to wait for them. In the TWS you can schedule an OS script to create the file that triggers the BO external event. The reports will run only after the file is created.
    2) You write  a java program that uses the BOBJ SDK in order to schedule immediately your reports. In the TWS you create a scedule that starts the java program. (You can find examples how to use the SDK here http://www.sdn.sap.com/irj/boc/samples )
    Regards,
    Stratos

  • How to get the Objects which are used in the webi Report.

    Hi Expert,
    I am trying to get the list of  WebI reports and Objects which are present in the report at  BO 4.0.
    I can able to get details  for only the list of reports and universes.
    Could  any one help me to get those details.
    Regards,
    Murali S

    With 4.0, there is no longer a way to do this using just the .NET SDK because the ReportEngine SDK no longer exists for .NET.  Instead, you'll have to look at using the RESTful Web Services SDK for Webi which runs in the Web Application Container Server on your report server (NOT on the web server!)
    RESTful web services are platform-independent and don't require the installation of any SDK files.  Everything is done through standard HTTP Get, Put, and Post commands and the results are returned in either XML or JSON format.  You don't mention which service pack of 4.0 you're on, but the RESTful web services have evolved over the course of the 4.0 service packs, so more recent is definitely better.
    You can find the documentation for this in the "Development Information" section at help.sap.com/bobip40.  There is also a "space" on SCN for this at http://scn.sap.com/community/restful-sdk and there are some links on this page for various resources and sample code.
    -Dell

  • Using sum on webi report when breaks applied

    Hello All,
    I have a situation here and would like to get your help. I am using BO R2. I am working on a webi report where I have to apply breaks at different levels (to be precise, I applied at 4 columns on this report). I applied breaks and the results are looking good so far as the main table is sliced to many small tables based on the breaks. But, here comes the issue..
    My report contains text as well as numerical columns. I have to do two types of calculations on these numerical columns.
    1) When certain condition meets, like here I am working on when the data is from few particular projects, only their numrical columns should sum up and give the results. For example, after applying breaks, say my 200 rows table is sliced to many small tables and I am looking at one particular table that has 10 rows. As per my requirement, I have to pick the values of only 5 rows from this table (as the 5 projects I want are in this table), sum them up and display the results at the end of that table(Only for this table). The problem I am seeing here is, when I add a new row under the table, it is being added to all other sliced tables (which is because of break applied). But, I have to work on data only from one of the tables and that too on limited columns from that table. I do not want to touch other tables. Is this acheivable? Please let me know.
    2) This issue is almost similar to the above one. I have three conditions like above to be applied on three different tables which pick only few rows of data and should sum them up. At the end, I need a brand new column all the way at the end of the report that totals up the numbers from only the above conditions' results(results from the 3 condition on 3 different tables).
    Not sure if this can be done in webi R2 version. But, if it could be, then please let me know the way to do it. Also, let me know if my question is not clear.
    Appreciate your help in advance.
    Thanks,
    Sandeep.

    There seem to be several issues, one being more complex meaning "conditions" applied in the Block within breaks may be difficult to build in a Grand Total Row.
    You can create an empty row to use with your Block at the bottom (in fact, once that is created you can create as many as you wish).
    1)  Remove all Breaks
    2) Inset a Sum of one of the Metrics in the Block (doesn't have to make sense)
    The inserted sum will create a row at the bottom of the Block. Make sure the new row with the sum does not have any Dimensions you want to Break on in it (it should not).
    You can now create your formulas or variables for your Grand totals in that row and it will remain affixed to the table at the bottom. Apply your Breaks as you wish.
    You can insert rows above or below that Brand Total row any time now. It is outside the breaks but is a part of the table and very flexible as to use.

  • How to Use Backslah() in webi report formula

    Hi
    My client is using web intelligence XI 3.1 SP2. I have a formula in a report as:
    =Sum(If([Level 08 Node] InList ("Correlation & Index";"EM\FX Option JV";"Short Dated Exotic Options";"Long Dated Options";"Short Dated Vanilla Options";"Options");[SR MTD];0))
    Everyime I save the the formula I am loosing the "\" in the "EM\FX Option JV", so the formula becomes:
    =Sum(If([Level 08 Node] InList ("Correlation & Index";"EMFX Option JV";"Short Dated Exotic Options";"Long Dated Options";"Short Dated Vanilla Options";"Options");[SR MTD];0))
    how can I use the backslash in the above formula , I appreciate that it is a special character.
    Many Thanks

    Thanks Amit,
    that solved the problem. I also did the following that worked but for simplicity and ease of reading I will use the double backslah approach.
    =Sum(If([Level 08 Node] InList ("Correlation & Index";"Short Dated Exotic Options";"Long Dated Options";"Short Dated Vanilla Options";"Options") Or ([Level 08 Node]="EM"Char(92)"FX Options JV") ;[CY SR YTD];0))
    thanks
    Edited by: Bal on Jan 19, 2012 2:31 PM

  • Creation of Dynamic Date Variables to be used in WebI reports

    What we are trying to achieve is to create 4 optional filters (Current Day, Current Week, Last Week, Last Month) on 4 different dates which will allow the users to use them in WebI reports.
    When using an optional SAP Customer Exit variable in BEx and creating a Universe on top, the filter becomes mandatory (i.e. the whole Universe is filtered by the SAP Exit, irrespective of whether the filter is used in the WebI report). Even if the filter is flagged as optional at the Universe level, it still behaves as mandatory.
    If each filter becomes mandatory then we'll have to create 16 different Universes (for each optional filter and date combination)! This is not feasible.
    I've seen in other posts that MDX Statements are not currently supported for Universes base on BW and SAP Exit should be utilized.
    So with the existing BO version, is it possible to create optional dynamic date variables or is that a product limitation?
    We are on XI3.1 SP3 FP3.1
    Thanks

    Hi Adam,
    In BEx, I would create this query very easily using the "Amount" key figure twice in my results and restricting each with a different SAP standard out-of-the-box delivered variable. For your reference, the variables in BEx are: 0FPER and 0FYTLFP.
    If I expose these variables in my OLE DB for OLAP query, they are not transfered into the universe, but rather act as filters on the entire universe. I've seen in documentation that only "Ready for Input" variables can be transfered as options into the universe which is not something that I have seen mentioned in this thread.
    >> In the BEx Query you have the option to either make the variable "ready for input" or not. The behavior is the same in Bex or in the Universe / Web Intelligence. "Ready for input" means the user can actually provide an input and without the flag the user can not provide an input. Yes those variables are supported in the Universe.
    Why this is a problem: I can't create separate universes based on potential variable periods that users might want to see. Additionally, many financial reports require concurrent use of these measures in the same report. Also, in reality it's not 2 variables, but dozens.
    >> Which is a decision you make already on the BEx query level. if you decide that the variable is not ready for input then the user can change the timeframe in BEx either.
    Also, I don't have a good way to mimic the standard out-of-the-box functionality given with BEx in BO. If I custom create all my variables in the universe, how do I do a lookup from the system date to the fiscal calendar that is stored on the BW server? In other words, how does BO know which date belongs in which period? (the same would be true with factory calendars for a different functional area).
    >> Variable are created in the BEx query and the Universe will leverage those.
    If you want a dynamic date range then EXIT variable as part of the BEx query - ready for input or not - is the solution.
    regards
    Ingo Hilgefort
    The only work around I can see is to require users to enter the current fiscal period and have the BO reports filter based off that user entered value. This is unfortunate as the entire purpose of SAP Exit variables is to avoid having to require user input at report time.

  • BO3.1 to BO4DeskI to WebI report conversion using RCT (2 database)

    Hello,
    I have to convert reports from BO 3.1 to BO 4.0 version.
    I have a DeskI report which has 2 Freehand SQL and both are pointing to different databases.
    So my questions are:
    1. Is it possible to convert DeskI report which uses multiple databases?
    2. RCT will convert these SQL and generate different universes for both databases?
    Do we have any other suitable approach to convert DeskI reports which uses multiple db?

    Hi
    1. yes, it is.
    2. I think for this you need to follow below steps:
    Refresh the Query in DeskI make sure it is refreshing perfectly.
    Convert the DeskI report using RCT to WebI report
    Refresh the converted WebI report make sure it refreshes prefect.
    Find out which connection has been used for Default FHSQL universe
    Find out any universe has using the same connection.
    Create a derived table using the same query from WebI report
    Export the universe to RCT universe folder.
    Open the WebI report and to point the universe.
    Map the objects to existing WebI report objects
    If you need more help on this kindly revert me back.
    Hope it must help you!
    Cheers,
    Shardendu Pandey

  • How to extract list of object and formula used in variables as Excel for a particular Webi Report

    Hi,
    Is it possible to get the list of variables and objects, and variable formula used in a webi report extracted in excel or PDF in BO XI R3.1?
    Thanks In Advance,
    Shenbu

    Hi Shenbaga,
    You can try to get this information using the report engine sdks of BusinessObjects which is specific to webi reports.
    Please refer to the link to download the dev guide and api referrence for XI 3.1
    SAP BusinessObjects BI 3.x and Lower - Developer SDK Library
    Refer to the Report Engine Java SDK dev guide and api referrence.
    Go through the dev guide in detail and you would be able to use the report engine sdks as per your needs.
    Additional Note: There have been changes in report engine sdks from XI 3.1 to BI 4.0 and you would not be able to get all the features available in XI 3.1 report engine sdks in BI 4.0.
    Hope this helps.
    Regards,
    Chandrahas

  • Retrieving Object Names from a WEBI report

    Hello,
    I have to couple of Webi reports assigned to an universe. Can anyone tell me if there is a option to get the different universe objects, which are used in each Webi report query via JSP. I couldn't find a helpful method in the BusinessObjects Enterprise Web Services API, which would prodive this function.
    Please provide steps to follow how could I get these used objects.
    Thanks in advance,
    David

    I found a solution for my problem:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/e06b823c-cc66-2b10-2f94-8d3151c2b4a4

  • Data of measure is not seen in  webi report when drill is disabled

    Hi
    i have created a hierarchy in universe on which i drill down in webi reports
    the problem is that  i have drilled my report till the last level and saved it
    the object  on which im drilling  is set as a section in the report
    so i have added a measure in the table under that section
    now the measure has different value at different level of drillings
    i.e for the last level of the drill i use one measure and after that as i drill up i use different  measure
    for all other level of drilling
    every thing is working fine but the problem  is
    when i open report in view mode
    the measure data is not seen
    only when i enable drill the measure data is seen
    i have done something like thi
    i have used drillfilters in webi reports for checking which level we are in drill mode so as to display the measure value based on drill level

    Seems like DrillFilters needs the drillmode to work fine..
    why don't save the report with the drill button enabled?

  • Schedule a Webi report to multiple folders in BOXIR2 InfoView

    Hi All Expert,
    I might need your kind advice on what is the alternative way to do the below in BOXIR2 InfoView.
    In my InfoView, i have several sub-folders under one folder. For eg, i have one "Sales" folder which contained multiple sub-folders as "SG", "CHI", "MYS", "JPN" and etc. I have one webi report created which have a country name prompt in the report and exported to each different sub-folders which the report prompt have been selected for each country name before export to the sub-folder. Eg, "SG" sub-folder have a webi report with "Singapore" as country name in the folder. All of the sub-folder's report are using the same webi report design.
    My problem now is i need to open each of the webi report in the sub-folder to everytime when i need to perform a schedule or perform changes on the report design. If i have 12 sub-folders, i need to open 12 times to perform changes one by one or schedule the report to run one by one.
    Are there any other alternative way to schedule one time then BO will copy the relavant report or instance to the multiple folder?
    Appreciated your kind advice.
    Regards,
    Chee Koon

    Hi
    a publication object allows you to schedule X webi reports (which reside in several subfolders in your system) at once.
    If you want to first to create/overwrite copies of your report in X subfolders and then schedule them all at once then you have to go with the SDK (even in BO XI 3.x)
    You can find more information about the SDK here: http://www.sdn.sap.com/irj/boc/sdklibrary
    Regards,
    Stratos

Maybe you are looking for