BW Query based Report - Design issue

Hi,
I have two BW queries.  One fetching the details for sales of all the states over a period of time and another one fetching the sales forecast of all the states over a period of time.  The users wishes to see both the sales and forecast in the same report.  Can I have both the queries in my crystal report as we do in traditional dbs.
Thanks and Regards,
Subbu S

You may need to have 2 different Add-command and join those 2 and handle
have query1 in command1
have query2 in command2
link the 2 commands with common key (this applies for both universe driven and query driven)
This may help
Thanks,
Ganesh

Similar Messages

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

  • A query based report

    hi experts,
    i want to generate a query based report t for following
    PoNo     Item No     Qty     Vendor Chal No     Challan Date     Assesable Value     BED Value     SED Value     AED Val     ECS value     NCCD VAL     NCCD Rate     ECS Rate %     BED %     AED %     SED %     Sales Tax     Inv amt     VAT amt     Currency     Form-Series No     Form 31 No     Inv.No.     Inv.Date     Veh No     Packages     PackUnit
    these are the columns & fields in diff tables how can i join these tables & get data  pls help me for that how can i achieve this give me query for this.
    warm regards
    ketan
    SAP-B1.
    Edited by: ketan pande on Aug 17, 2009 9:41 AM

    Hi
    If you need the Purchase Order and A/P Invoice Header & Row(Item) Level (Purchase Register)Query Report.
    Try this,
    SELECT  T0.DocNum as 'PO. No.',
    T0.DocDate as 'PO. Date',
    M.DocNum as 'A/P Invoice No.',
    M.DocDate as 'Inv. Date',
    M.CardName as 'Vendor Name',
    M.NumAtCard as 'Bill No. & Date',
    ISNULL(L.ItemCode,'Service Item') as 'Item Code',
    L.Dscription,
    L.Quantity,
    (Select Sum(LineTotal) FROM PCH1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=7 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=8 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From PCH3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocEntry = T1.TrgetEntry
    INNER JOIN PDN1 T3 on T3.DocEntry = T2.Docentry
    INNER JOIN OPCH M ON M.DocEntry = T3.TrgetEntry
    LEFT OUTER JOIN PCH1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN PCH4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN PCH5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN PCH3 Q ON M.DocEntry = Q.DocEntry
    WHERE M.DocDate >= '[%0]' AND M.DocDate <= '[%1]'
    GROUP BY
    T0.DocNum,T0.DocDate,M.DocNum,M.DocDate,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    ORDER BY
    T0.DocNum,T0.DocDate,M.DocNum,M.DocDate,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    Regards,
    Madhan.

  • Report Designer - Issue in inserting the query

    Hi
    I'm facing problem when inserting the query in the Report Designer. Following is the steps I take to create new report in report designer.
    1. Developed the query in Bex Analyzer.
    2. Click on new in Report Desginer.
    3. Click on 'Insert Data Provider'.
    4. And at this point it self system throw a message saying that "Do you really want to delete this section? Query will be removed if it is not used in any other section.'
    Has anybody come across thos type of issue.
    Please advice if I'm going wrong any where.
    Regards
    Rohini

    Hi,
    You mean you have created query in query designer right....
    because a query/workbook.query view created bt Bex abalyzer can't be a data taregt for report designer
    Cheers,
    Swapna.G

  • Report designer issue:data not coming

    Hi Folks,
    I have an issue with bex report designer.
    The thing is i have created a query in query designer and that is my data provider for report designer.
    I am applying some formatting rules and executing it.
    The problem is i am not geting any records except the fields.
    Could anyone help in this regard.
    Regards

    HI,
    There are different sections in a Report Designer. G0Header, G1 Header, Det, G1Footer, G0Footer
    G0 Header: Contains only the labels of the feilds that is displayed on the top of every page.
    G1 Header: is a level 1 header which is displayed Beneth the Group0 Header
    Detail: will display the values of Query Elements(Key/Text) placed in this section.
    G1 Footer: Will be displayed once for each G1 Header that is displayed. This Can have the totals.
    G0 Header: Will be displayed at the end of the page. The footer can have page nuber or totals.
    For Example:
    To design a simple report having Distribution Channel and Sales Amount. The report can be designed as
    G0 Header: [Distribution Channel].Key [Distribution Channel].Text [Sales Amount]
    Detail: [Distribution Channel].Key [Distribution Channel].Text [Sales Amount].Val
    G0 Header: [Result]                                                                [Sales Amount].Sum
    Thanks,
    Saranya

  • BI7 report designer issue

    Hi, Folks,
    The Report designer is not functioning, received this message when attempting to insert a data provider:
    Error while loading query metadata , Check the query and portal setting.
    RSBOLAP  018  Java system error: call FM BICS_CONS_GET_VIEW_DEF_J_PROXY to ProgId NWPORTAL_PORTAL_NWP on host NWPORTAL with SSO not authorized: Authentication failed.
    Pls give me a hand.
    If it is basis issue, can you tell me which note do I need to check?
    Thanks in advance,
    Sam

    Hi,
    Check this OSS note  1061091and 916090
    Hope This helps,
    With Regards,
    PCR

  • Report Designer Issue

    Hi,
    I'm executing my query in report desiner but as per the requirement i need to delete some of the columns in the report designer of the selected query.
    when i'm selecting the column and click on delete colum it is not deleting the column.
    Please advice me to use this funcitonality.

    Hi,
    on which frontend SPS you are? Maybe there is an OSS note for it.
    Regards,
    Juergen

  • APEX 4.1, SQL Query(Updateable report), Validation issue.

    Hi,
    I am using APEX 4.1.
    I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    Thanks in advance.
    Thanks & regards,
    Ravi.

    Hi Ravi,
    Welcome to Oracle Forums!
    Please acquaint yourself with the FAQ and forum etiquette if you haven't already done so.
    Always state
    <ul>
    <li>Apex Version</li>
    <li>DB Version and edition</li>
    <li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
    <li>When asking about forms always state tabular form if it is a tabular form</li>
    <li>When asking about reports always state Classic / IR</li>
    <li>Always post code snippets enclosed in a pair of &#123;code&#125; tags as explained in FAQ</li>
    </ul>
    I am using APEX 4.1.I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    >
    Post your validation code with some explanations of what the g_fnn are.
    Cheers,

  • Query Manager/Report Design

    Is there some documentation on how to create reports from the query manager.
    I have tried looking at the Print layout designer in the elearning section but it does not cover the query manager (and does not cover the whole product anyway), so I am looking for information on how to do this
    I have a query but I want it put in a page break after each category.
    so.. any doco help files ,DETAILED webexes would be very useful. as the resources that should be available are too well hidden!!

    Hi george,
    There is many documents but i don't think there is one that is specificaly on reprts based on a query. Can try e-learning.
    But what you want to do is simple. Open the queries manager. highlight your query. then click create report. Save it. Then go to the top to tools->queries->query print layout.... once you're then you can edit it. You must then right click RIGHT ON THE EDGE OF THE REPETITIVE AREA. Then a window comes up with repetitive area that then leads to sort. there you can say what to summarise by and when to break the page.
    Hope this helps.

  • Setting current values in Multiple Select List in SQL Query based Report

    Hi,
    I have a report based on a sql query that contains a multiple select list. Unfortunately I cannot get the multiple select list to display the current values (p_value) correctly. I have created a page item, :p311_current_versions, that is set using a pre-header process and it returns a value with a colon delimited format e.g. '10.1.2.1.0:10.1.2.2.0'. Then this item is used in the sql query to set the current value (p_value) of the apex_item.select_list_from_query function. However when the table is displayed, instead of having two entries, 10.1.2.1.0 and 10.1.2.2.0 selected, it has an extra entry '10.1.2.1.0:10.1.2.2.0' selected.
    Here is my code:
    select distinct a.product, a.version from (
    select distinct
    apex_item.display_and_save(2,product)||apex_item.hidden(1,env_product_id) PRODUCT,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(3,decode(product, 'HTTP Server' , :p311_current_versions, version), 'SELECT distinct version d, version r FROM ebs_tech_stack where
    product ='''||PRODUCT||'''',
    decode(PRODUCT, 'HTTP Server' ,'multiple="multiple" style="width:170px"','style="width:170px"'),
    'NO') as version
    from ebs_environment_tech_stack
    where environment_id = :p311_umgebung_id) a order by a.product
    If anyone can help me figure out how to set the current values correctly I'd be really grateful!!
    Thanks in advance,
    Jean

    Jean,
    I don't think this is possible using the apex_item package. The select_list_from_query function accepts only a single value for the second parameter.
    Scott

  • Query Based Report

    HI All,
    I have tried to make query to get the result of quotations against customer and sales order against but inorder to reflect it as per customer total i have used union all option.
    THE ISSUE IS I AM UNABLE TO PICK UP THE TOTAL AMOUNT AS PER CUSTOMER SAY CUSTOMER A HAVING 2 QUOTATIONS OF 1000 & 2000 SO I NEED TOTAL TO REFLECT AS PER CUSTOMER.ALSO TO MAKE IT MANAGEMENT REPORT I HAVE TO ADD THE COUNT OF TOTAL QUOTATIONS MADE AS PER CUSTOMER AND THE Number of
    Sales Orders Created     Value of Sales Orders     % Quotes/Sales Orders     
    Select  QuoteDate,CustomerName,QuoteTotal,QuoteNum,SOdate,SONum,SOTotal
    from (
    Select distinct  T0.[DocDate]QuoteDate, convert (varchar, T0.[CardName]) CustomerName,T0.[DocNum] QuoteNum, T0.[DocTotal] as QuoteTotal,T4.[DocNum] SONum,T4.[DocDate] SODate, T4.[DocTotal] as SOTotal
    From OQUT t0 INNER JOIN [dbo].[QUT1]  T1 ON T0.DocEntry = T1.DocEntry
    left join [dbo].[RDR1]  T3 on t0.docEntry=T3.Baseentry left JOIN ORDR T4
    ON T3.DocEntry = T4.DocEntry where T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    Group By T0.[DocNum],T0.[DocDate],(T0.[DocTotal]),T0.[CardName], T4.[DocNum],T4.[DocDate],(T4.[DocTotal])
    union all
    Select Distinct  null DocDate,convert (varchar, T0.[CardName]) + ' ' +  'Total' CustomerName,null DocNum,null DocTotal ,null DocDate,null DocNum, null DocTotal
    From OQUT t0 INNER JOIN [dbo].[QUT1]  T1 ON T0.DocEntry = T1.DocEntry
    left join [dbo].[RDR1]  T3 on t0.docEntry=T3.Baseentry left JOIN ORDR T4
    ON T3.DocEntry = T4.DocEntry
    where T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    Group By T0.[DocNum],T0.[CardName],T4.[CardName],T4.[DocNum]) a
    Order By
    CustomerName
    Thanks-
    Mona.

    Hi,
    It will not fulfill customers requirement.
    In the above query posted by me refer below example-
    Date               CustomerName                      Doc Num                                                                      Doctotal
    07/03/2012           ABC                                       1                                                                100
    07/03/2012           ABC                                       2                                                                 200
    Null                      ABC Total                            null                                                                                300
    Is it not possible to get 300 on query made by me.
    Thanks-
    Mona.

  • Query based report - Edit button

    I am new to APEX and wondered if you could offer some help
    I have a report and form based upon a SQL Query. The SQL Query fetches ids from a cross reference table, along with the display names for those ids from the other relevant tables.
    Now, I am assuming it is because of the query that I do not get an Edit link on the report. Do you know if there is an easy way to establish one?
    Regards
    Karen

    Karen,
    If you used the wizard, the edit-button is a (probably the first) column in your report. Bij clicking on it you get the details of the record after the icon you clicked (hope I'm clear).
    (The computer must know which record you want to edit.)
    If not, go to the report definition tab, look after the attribute indicating the id of your records, and see whether there are links for this attribute.
    Leo

  • Report Design issue

    Hi,
    I have two queries. We publish all our reports in portal.
    I have a variable calmonth/year for the two queries.
    My requirment is second report should be displayed just below the first one i.e. one and two should be attached.
    1__
    2__
    How can this be acheived.
    I am required to insert a heading for the second report in the middle. heading at the top for the first one.
    If i create a single query by involving all the objects of both the queries how do i insert heading in the middle.
    How should i design the above report.
    Thanks

    Hi Murali,
    For this scenario, better create a WAD report where you can create two table analysis grid (one for each query) and navigation panes. In the General settings of the template you can check the option of "Display common variables Pop up once", so by doing this it is enough to enter the variable value only once and it will be populated to both the queries.
    To have a title in the middle, use a Text element and assign the relevant query, and check the option of display query title, at the end you can select the option of "File>Publish>Portal",  this should cater your requirement.
    Regards,
    Mani

  • Query based Report (Reports From SQL Query)

    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    Can i increase a timeout of portal page, how i can do this?
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?

    Can you post the URL that is giving you the page not found error ? I am not sure if I can be of much help though.
    In order to increase your chances to get a reply you should also post your question in the Portal Forum - Oracle Application Server Portal
    Edited by: Rodolfo Ferrari on Jun 16, 2009 3:49 PM

  • SInstance=Param not working for sap bw query based reports (FWM 02020)

    Has anyone else tried linking to instances using sInstance=Param from a webi to webi or webi to crystal document?
    We have attempted the following using the build hyperlink function in webi.
    1. Select the crystal report.
    2. We have 2 variables, the variables do not have the description coming over from SAP.
    Variables come over as
    !V000001
    !V000003
    3. Select Link to Document instance - Most recent - matching prompt values
    4. Select the values for the prompts with a constant.
    5. Go to the history of the crystal report and look at the selected parameters of the crystal report.
    6. Highlight , copy and paste these into the prompts on the hyperlink
    7. Save and run.
    8.  Receive an error
    An error has occurred: The object with ID -1 does not exist in the CMS or you don't have the right to access it (FWM 02020) 
    We have tried a number of combinations of parameter responses from technical name, description, combination of the two, and so on.  Nothing has worked.
    Anyone else experience this problem?

    Hi Stratos,
    We've created 2 new crystal reports based of sap queries.
    Report 1, single prompt, no hierarchy.
    Result : Can link to specific instance with matching parameters.  Great!
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters
    Parameter list for report 2
      [!V000001} : Cost Center/Gr{oup (Multiple)  = {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    However when I go into the history and look at the successful instance parameters used, it seems to be picking up an extra parameter ( my guess is node)
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We have attempted to use the entire string, the first portion, second portion, and just the technical response.  No luck.
    Perhaps this needs to go to a service request?
    Edited by: Nicholas Chu on Nov 30, 2009 8:26 PM

Maybe you are looking for

  • Material provided by customer - subcontracting process

    Hi All, In our scenario our customer is subcontracting some assembly work to us. The material to be assembled in provided by the customer completely. It is always in the ownership of the customer even when it is lying at our end. Is there a standard

  • Make-to-order production (assembly processing) - Missing Parts

    Hi Guys During creating an assembly order, availability check comes up with missing parts. Can someone tell me how to proceed from here? I checked the material master fro the missing part and in MRP2, procrement type = x. What are my options, can i s

  • Since installing Reader DC we can no longer "sign" a fillable PDF

    Since installing Reader DC we can no longer "sign" a fillable PDF that we could sign in Reader XI.  We see the "You have opened a fillable PDF form. This form does not let you drag and drop saved information" message.  This seems like a standard feat

  • FS[3988]: Possible network disconnect with primary database

    Hi All, In the standby database alert log I'm getting the below error: Thu Feb 10 11:09:10 2011 RFS[3971]: Possible network disconnect with primary database Thu Feb 10 11:10:11 2011 RFS[3976]: Possible network disconnect with primary database Thu Feb

  • IMessage & Facetime! dosen't work.. -____-

    hi. so my i message & face time dosen't work it's ticking me off. like i said i put my apple id & password it goes to the next page. and then 5 seconds later it goes to the same page where you put you apple id and password. i can't find the DNS thing