Two layouts in one report

I have a requirement where I have two queries giving two different outputs, I want these two in one single report with two layouts, I was able to achieve this with Concatenate option and there by build by RTF templates based on the Groups of each query, The problem I found is the performance because everytime view is hit by choosing the required report layout both the queries are running and ther by affecting performance, Is there anyway that when I choose the layout only the query related to that layout is run and other when I choose the other layout?
Regards

Hi Srini,
Thanks for your response!
I am not using my "back button".
Clicking the report first time in a session (or viewing the report after modifying it) opens "html" and next time onwards it opens last selected template layout and output format. I am not sure whether this is a bug or intended behavior.
Thanks,
Ashok

Similar Messages

  • Two layouts in One form

    Hi,
    I want to create two layouts in one form. how can we create that.
    Thanks in Advance.
    Regards,
    Ramana

    Hi all,
    I have one requirement. I have created a form for Medruck and assigned it in nace tcode for purchase order. My requirement is if version number is ' 0 ' one page should be called and if version number is not zero another page layout should be called. I have created 2 different page layouts in my SAP Script i.e. one page named first layout and second named other layout. if version number is 0 first layout should be called and version number ne 0 other layout page should be called. Is it possible to do it? if so, how shall i do this...
    Kindly help me...
    Thanks and regards,
    subbu.

  • I need two query in one report (two detail section in one query)

    Hi master sorry for again distribute
    Sir I need two query in one report
    Because I need two detail section in my one report
    Such as
    Master
    Vno=9088989
    Detail          1
    =
    =
    ==
    =
    Total                     99999
    Detail          2
    =
    =
    ==
    =
    Total                     33333
    Sir how I get this type of report
    Please give me idea
    Thanking you
    Aamir

    I want to see the report as follow.
    d_name: CPU-1
    date: -----------
    Software installed:
    sw_id, software, version, serial_no, sw_type
    (list of softwares attached, can be more then one)
    Hardware attached:
    hw_id, hardware, specification (same like software list, it will contain hardware list attached to specific device),
    Please if you can help me that how will i make a query for this.
    Thanks and Regards
    Maz

  • Two queries in one report?

    I have Three tables like
    Device_table columns are
    d_id, d_name, date
    Software_table
    sw_id, software, version, serial_no, sw_type, d_id(foreign_key)
    hardware_table
    hw_id, hardware, specification, d_id(foriegn_key)
    now in reports i want to attach both hardware and software, I have made two quires like
    SELECT d.d_name, sw.software, sw.version, sw.sw_type from
    device_table d, software_table sw
    where d.d_id = sw.d_id
    and second query is
    SELECT d.d_name, hw.hardware, hw.specification
    from device_table d, hardware_table hw
    where d.d_id = hw.d_id
    Now my problem is that how can I add both queries in one report so that i can get a list of software and hardware attached to one device.
    Regards
    Maz

    I want to see the report as follow.
    d_name: CPU-1
    date: -----------
    Software installed:
    sw_id, software, version, serial_no, sw_type
    (list of softwares attached, can be more then one)
    Hardware attached:
    hw_id, hardware, specification (same like software list, it will contain hardware list attached to specific device),
    Please if you can help me that how will i make a query for this.
    Thanks and Regards
    Maz

  • Copy report layout from one report to another

    I have a VERY complex report layout which is part of a report with Data model A.  I need to copy that report layout to another report which has Data model B, which has all the same structure as Data model A but is queried differently.   The first is invoices for regular billing the second is invoices for re-billing, all columns are the same.
    Thanks for any help / suggestions.

    Hi Robert,
    In the Report Organizer, just right click and Export the definition. Then, open the new company & right click and import the definition.

  • How to Print two layouts into one page

    Hi,
    I have developed a report by blocked ALV.In this report i have created two blocks.
    But when i give print out the two blocks are not printing continuously.It is displaying one block in one page and another block in anther page.
    And i need page number at end of each page.
    Please provide me solution for this.
    Thanks & Regards
    Venkatrami Reddy B

    OOPS – OO ABAP
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    Rewards if useful.........
    Minal

  • Crystal Reports - Two Tables in one report, grouped by machine.

    I have two tables for machine schedules.  One is a Current Job Table, and the other is a Que Job Table.  I do have tables joined to a definition table for the machine name.
    Cur Job Table - Def table
    Que Job Table - Def table
    I want to report the information from the current job table for each 13 machines in sequence.  Some machines may have more current jobs than qued jobs.
    ...Machine 1 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    ...Machine 2 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    Etc.
    Is there a way to do this easily?  I have tried grouping and sub reports.  Seems like I end up with duplicate records due to the SQL joins.

    Sharon,
    Select distinct will not work here, as select distinct checks all fields in the record, and when joining the two detail tables, it will not clear out "duplicates" on only one side of the join.
    I would also humbly suggest that using Select Distinct to try to "clean up" a query is rather dangerous.  You may end up dropping some data that should appear on the report.  (In fact I recently had to fix a report due to this issue - coded by someone else, of course!  :->)  If you are getting duplicate records and you don't want them, the query should be coded to produce the desired result set WITHOUT the Distinct clause being the reason duplicates are dropped.  (This is not to say that select distinct is not useful, or should never be used.  If you need a distinct list of customers over a date range, using Select Distinct custcode from sales where date between {?start} and {?end} is perfectly OK.)
    HTH,
    Carl

  • Joining two datasets for one report

    Hi All,
    I have 2 datasets i want to joing together.
    The 1st is a mysql query and 2nd is a mssql query, I have set a parameter which is the userid from the mysql query and added this to my mssql query.
    If i execute the mssql query and add the parameter my self then the report will run.
    I want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
    Thanks 

    I want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
    Hi Phil1988,
    According to your description, there are two data sources in your report, one is mysql database and another one is mssql database, now what you want is that get the userid from mysql database and use this values to filter data on mysql dataset, right?
    In this case, what you have done is exactly right. (I have set a parameter which is the userid from the mysql query and added this to my mssql query.) Create a paraemter, get available values and default value from the mysql dataset, and then use
    this parameter to filter data on mssql dataset.
    Reference.
    http://technet.microsoft.com/en-us/library/aa337400(v=sql.105).aspx
    http://technet.microsoft.com/en-us/library/dd255287.aspx
    If I have anything misunderstand, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Two statements for one report (Analysis)

    Hi all,
    please help me understand the behavior of OBIEE.
    When I open my Analysis, it asks for input parameters. These parameters are collumn prompts with checked "require user input". Sure, user can't run Analysis without any parameters.
    Now what is strange. In Administration -> Manage sessions I can see TWO statements, created by me. I didn't run this report twice. This happens often. It's not all. These two statements are not equal. One of them has WHERE clause with my parameters I've set, but another statement DOESN'T have any WHERE clause. Actually, the first statement runs for a minute or like that. But the second statement can run for an hour and longer. But this is not just my observation, users complain about slow performance. The Analysis DOESN'T return any result untill both statements end their work although the first statement with WHERE clause is already finished.
    How I deal with it... I perform cansel in Administration -> Manage sessions and then run Analysis again with the same input parameters. It returns result in few seconds, it seems like using cache (but repository object is not cashable).
    What is wrong here? This looks like inappropriate behavior. This is not huge problem for business, because we have only few users at this stage. Most of users still use SAP Business Objects. So I can waste my time for canselling of statements for these few users. But the question is what will be in the future. Please, help me.
    Oracle Business Intelligence 11.1.1.6.6

    Remove a column at a time, and see if that makes BI fire only one query. Once you identify column forcing query to split, check RPD model for the logical table for that field. Check content level, logical sources, physical and logical diagrams etc. Also perform consistency check.

  • How to print two layouts in one take

    Hi, we are printing our employee cards with custom layouts created in the human resources module. We created 2 layouts, one for the front of the card and one for the back. Right now, we print one side and then we need to change the default layout to print the back side.. Is there an easier way to do this? Maybe configure it so automatically prints the back side layout after the front side?
    Thanks!
    Jose.

    Jose,
    From what I know I don't think triggering print of a PLD is possible even using SDK as this is not exposed. you might want to check this in the SDK forum to be sure.
    Suda

  • Two Sections in One Report

    Hello All,
                I have a req wherein a Report Will Contain Two Different Sections.
    Section A                                               |       Section B
    Customer      Col1  Col2   Col3                 |      Customer  Col1 Col2 Col3
    All the fields are Similar in both the sections, Section A will show outstanding A/R. Section B Will Show Partial Payments. Any ideas?

    Hi
    Option 1: have two reports and then have a workbook for both reports
    option 2: have a static column structure 
                           Outstanding AR                    Partial Payments
    customer                
    Hope this Helps
    Anand Raj

  • Grouping two sections in one report

    Hello,
    I am newbie to Crystal Reports.I have one doubt in designing a report.
    The proto for the report is:
    Date: XX:XX:XXXX
                                    Sales Report - Value
    S No     Item         Increase    Decrease
    1           XXX
    2           YYY
                                    Sales Report - Volume
    S No     Item         Increase    Decrease
    1           XXX
    2           YYY
    Here, there is a hyperlink in Item in both Value Report and Volume Report, which opens a subreport about the item.
    How can i proceed the proto. It is easy to group an item if it is only Sales - Value Report.
    Here, both Value and Volume report should present in main report.How can i proceed with Sales Report - Value and Sales Report - Volume in a single report file, without subreport concept.
    If i use the subreport here, i am not able to include a subreport- hyperlink in Item.
    Thanks in advance.
    With Regards,
    Suresh M.

    In the main report insert a group on Value and in group footer place a subreport that consist of data under Volume group. Pass the Volume field value from main report to subreport using change subreport links by right clicking the subreport.
    Regards,
    Raghavendra

  • Information from two views in one report

    I posted a thread earlier but I think I was little amibiguous about my problem and posted too much info. on the background of the problem maybe I can clarify.
    I have a report on a view TRK_CALLS_VIEW. This is dblinked to a table. Columns include
    User_
    Assigned_to
    Problem
    Solution
    Status
    Here is my region source code:
    SELECT webb.TRK_CALLS_VIEW.ID, webb.TRK_CALLS_VIEW.USER_, webb.TRK_CALLS_VIEW.ASSIGNED_TO, webb.TRK_CALLS_VIEW.PROBLEM, webb.TRK_CALLS_VIEW.SOLUTION, webb.TRK_CALLS_VIEW.STATUS
    FROM webb.TRK_CALLS_VIEW
    WHERE
    ( STATUS = 'Open' and :P2_REPORT_SEARCH is null )
    or
    ( regexp_like( USER_ || '#' || ASSIGNED_TO || '#' || PROBLEM || '#' ||
    SOLUTION || '#' || STATUS, :P2_REPORT_SEARCH, 'i' ) )
    I want to include columns from another view in the report. TRK_USER_VIEW.
    Columns include:
    id
    lname
    fname
    User_ from TRK_CALLS_VIEW contains the same number as id in TRK_USER_VIEW.
    How would I add this to my existing code and have the names corespond to the correct id
    Thanks

    so in the above code you can see that both the webb.TRK_CALLS_VIEW and webb.TRK_USER_VIEW have some column that are named the same. eg/ "USER_","id". That is fine as SQL has provided a means to uniquely identify the columns. When you join these two views together and try to select or reference either the USER_ or id column without specifying which view you want to get the information from then that creates ambiguity and the compiler does not know if you want the USER_ form view 1 or view 2 and thus there is an error.
    To solve this issue we need to use . (dot) notation to specify the object (in this case view) which holds the column we want. We will also alias columns which share the same name. Here is how we would modify the above SQL statement:
    SELECT
    ------ View 1 ------
           tcv.ID          "TCV_ID", -- ID has been aliased to a unique name.
           tcv.USER_,
           tcv.ASSIGNED_TO,
           tcv.PROBLEM,
           tcv.SOLUTION,
           tcv.STATUS,
    ------ View 2 -------
           tuv.id          "TUV_ID", -- ID has been aliased to a unique name.
           tuv.lname,
           tuv.fname
    -- also i used the alias tcv and tuv so that i could refer to the views by just using the alias rather than the lengthy view name.
    FROM webb.TRK_CALLS_VIEW tcv,
         webb.TRK_USER_VIEW tuv
    -- This is where we JOIN the views on a key value. In this case USER_.
    -- Always make sure your joins are the first portion of your where clause.
    WHERE tcv.USER_ = tuv.USER_
    -- I have explicetly referenced the view i want the column to come from by putting
    -- "tcv." infront of each column name. This tells the compiler to use TRK_CALLS_VIEW
      AND ( tcv.STATUS = 'Open' and :P2_REPORT_SEARCH is null )
       OR ( regexp_like( tcv.USER_ || '#' || tcv.ASSIGNED_TO || '#' || tcv.PROBLEM || '#' ||
          tcv.SOLUTION || '#' || tcv.STATUS, :P2_REPORT_SEARCH, 'i' ) )
    {code}
    Edited by: Tyson Jouglet on Oct 8, 2008 9:10 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Two layouts in a single report

    HI
    Based on the condition layout1 and layout2 have to display.
    suppose if u pass 1 layout1 have to display
    if we pass 2 layout2 have to display
    please help me.. i hope it is clear

    Create Two Layout in the report.
    Create one user Parameter.In the Parameter listvalues --> go to static values --> add Number 1 And 2
    Go to the First Layout Repeating Frame press F11
    If :P_1='1' then
    return(True);
    Else
    return(False);
    End if;
    Go to Second Layout Repeating Frame Press F11
    If :P_1='2' then
    return(True);
    Else
    return(False);
    End if;

  • Multiple report link in one report

    Hi all,
    I have a requirement to provide two link in one report . suppose i have a report on employee datail on click of employee name it should show two option whether you want to report A or report B. On selection it should show corresponding report. Please help me ..

    You just have to click on the properties of the column.
    In the property, you will find an interactive option. Select Navigate and choose you first report A. You must have a button to add a second report. Click on it and select you second report B.
    I don't have an OBIEE on my hands. It's difficult to say exactly which button, you must go but your solution is in the properties. Sure ...
    Good Luck
    Nico

Maybe you are looking for

  • Install fms 4 in Windows 7 and access from a webserver in different domain

    Hi, I have installed fms 4 in windows 7 in my computer, but i cant get it work with a flex application that i have in a server. I added the port in my router's settings 2 fms all(udp/tcp) 19350 65535 xxx.xxx.xxx.xxx 19350 65535 3 fms all(udp/tcp) 193

  • Oracle 10gr2 upgrade to Version  10.2.0.3.0

    dear gurus i install new window 2003 machine oracle 10gr2, where i upgrade Version 10.2.0.3.0 after this. now sqlplus, lisenter shows correct version however when i connect to emctl enterprise manger over web it shows wrong database version Version 1

  • Automating Final Cut Express using AppleScript?

    Hello, just another question: is it possible to use AppleScript (or something similar) with Final Cut Express? And if so, where to find a good reference? I have some DV movies and a for each a csv containing the In and Out Points for the subclips, in

  • How to find the main sql

    Hi all, I'm working on a 11.2 Oracle Enterprise database. I need a query to find the top 10 queries of my database. Please could you help me? Best regards dbajug

  • "Create a new version" does not work in 11

    Downloaded True Grit in HD from my iCloud/iTunes account to my Mountain Lion iMac w iTunes11.1.1. Want to load and play the movie on my iPhone4. Selected the HD file in iTunes 11.1.1. FILE/Create a new version: All selections are greyed out. Do I hav