Layout issue in export multiple queries to single excel

Hi ,
While exporting more than one queries on web template to single excel (with help of  HowToWebPrinting document ), i am facing layout problems.
EX. if my web template has 4 queries  in below format
A B
C D
where A,B,C,D are different queries
on web printing to single excel, i get all queries in excel but they are in form
A
B
C
D
i.e with distorted layout. Is there a way out to have the exported EXCEL in same layout as that of my report
Any ideas would be appreciated in this regard.
Best Regards
Deepali

Thanks Deepak for your suggestion on trying to enhance
Z_PRINT_SERVICE class.
But in my system, i have z_print_help_service & not z_print_service. Is it something that is missing.
To add to it, i have one more issue.
I have a strange scenario.
In some webtemplates, when i do export , my all data is coming.
In some alternate columns are coming on export in one row
& other row its fine, while on web report all columns are existing .
Has anybody faced missing data on export .
Unless this problem gets resolved, we can't be sure of what is being produced & won't be able to implement. Below are lines i am using
in each template.
<param name="HELP_SERVICE" value="Z_PRINT_HELP_SERVICE_ALL_DP"/>
         <param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>

Similar Messages

  • Export multiple queries to Excel

    I am trying to export multiple queries to an excel file. How can i run multiple queries all in one go and then export them to an excel file?

    Unfortunately, you cannot do this from SQL Developer as it is at the moment - the only way I know of getting the results of multiple statements into one file without manual intervention is to run as a script, but this is useless for Excel once you have different columns or even widths. There is an "Accepted" feature request that seems to match what you want (link), but I don't know how soon it will be available in the product - maybe some extra votes might increase the priority).
    theFurryOne

  • How to embed multiple queries in single workbook

    Hi,
               I am working in BI 7.0 environment. My requirement is
    1) I have 6 different SD queries.
    2) I need to create workbook out of each query.
    3) I need to embed workbook created from each query into a single work book (each worksheet in workbook should have workbook created from 1single query).
    This way the final workbook will have six work sheets with six different queries (all saved as workbooks).
    Can anyone please give me an idea to create the workbook.
    We are latest version of Excel.
    Thanks in advance.

    Hi Padma,
       You can embed multiple queries in a workbook.Please follow below steps.
    1. Open the query in a Bex analyzer (first query)
    2. Go to second tab and select a cell and insert anlaysis item (second icon on the Bex Toolbar)
    3. Right click and assign query to the data provider.
    4. Goto next tab and insert analysis item for third query . Similarly you can insert many queries but embedding multiple queries will degrade performace.
    5. Goto workbook settings (last icon in Bex tool bar) for workbook properties like refresh workbook on open. pop up variable screen on refresh etc.
    Also please go thru below links .
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/45583ca544eb
    51e10000000a114084/content.htm
    Hope this helps. Let me know if you have any queries.
    Regards
    Suvarna

  • Export multiple forms to xml/excel - field headings are missing

    I have created a dynamic flow multiple page form in Livecycle.  When I first tested the form I would export -> multiple forms to a spreadsheet -> an xml file that I would then open in excel.  This worked great and the field headings showed at the top.
    I did some edits to my form and now when I run the export to xml and then open in excel, the field headings are gone.  What controls this variable, does anyone know how I can correct this?
    Thank you in advance!

    Hi,
    The heading are in the table pt_fcat - you don't seem to be passing that in form....
    PERFORM setup_and_display_alv_ver2
    USING
    it_out_alvp "Parameter structure
    it_output[] "Internal Data table(header table)
    it_output[]. "Dummy table for Hierarchical ALV!!(item table)
    which I guessing in in one of the includes?
    Saying that the extract pof code does not show where you are calling form it_out_alv_fieldcat_before ...which populates the headings...
    Regards
    Stu

  • Issue in displaying two queries in the Excel

    Hi,
    as per the requirment, I have to keep two queries in the single excel.
    Can u please let me know
    1. how to do this.
    2. If one query has a free characterstic, and if I drilldown what will happen to the display values as the next cell may contain the second query.
    Thanks  in advance
    Ananya

    Hi,
    this cant be achived in Bex reporting ...
    the only possible way is to do in WAD reporting
    WAD is a platform where you can fetch the reports from more than one Bex query.
    when designing the WAD report use diffrent tables with diffrent infoprovider
    for example
    you have report 1 , report 2 and report 3
    when you drag single table and link all the three reports the Out put will be Report1 report2 Report3( with the same infoprovider)
    when you Drag three diffrent tables for Report 1 , Report 2 and Report3 with three diffrent infoprovider the out put will be
    Report1
    Report2
    Report 3 so the all the three reports will be placed one below the other
    holpe this helps
    Thanks & Regards,
    Ravi.

  • Layout Issue after exporting crystal report XI in pdf format

    Hi All,
    I have developed a crystal report in XI version. I have set my page layout properties in the report to be in landscape orientation and A2 size sheet with No Printer(optimize for screen display) option unchecked. The problem is when I export the report in pdf and open the report in pdf for printing, it takes the printer preference settings that are set to portrait and letter format. If I change my printer prefence settings to landscape, it works fine. But, I do not want to change my printer preference settings and want that the settings that I am giving in crystal report designer must be taken for printing purposes in pdf.
    I hope, I was able to put forward the question correctly without any confusion.
    Can someone please help me out to find a solution ?
    Thanks in advance.

    Hi Akshay
    Always quote the actual version of Crystal Reports you are working with. E.g.; CR IX is not quite enough and the best place to find the actual version is in the Help | About screen of the CR designer.
    By CR XI, you could mean CR 11.0.x, or CR 11.5.x. If you are using CR 11.0.x, update to CR 11.5 (also referred to as CR XI R2). See this blog on how to.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How can I handle multiple Queries in single Report?

    Using Reports 6.0, i have 2 queries Q_1, Q_2 and I have define a user parameter, Flag_1 char(1).
    I wish to execute Q_1 if Flag_1 = 'T' and Q_2 if flag_1 = 'F'
    How can i do this?

    Hello Fayad,
    Another way in which you can achieve the same result in one report is by framing your two queries something like:
    Q_1. select * from emp where :flag_1 = 'T'
    Q_2. select * from dept where :flag_2 = 'F'.
    This will cause the appropriate query to be executed, depending on the value of the flag_1 parameter. Additionally, you would need to create two report blocks in your layout, one for each of the above queries. You can create format triggers for the enclosing frame of these blocks, which will show/hide the entire block depending on the value of the flag_1 parameter. For example, the format trigger for the EMP report block (based on query Q_1) frame would look like:
    function M_G_EMPNO_GRPFRFormatTrigger return boolean is
    begin
    if (:p_1 = 10) then
    return (TRUE);
    else
         return (FALSE);
    end if;
    end;
    Thanks,
    The Oracle Reports Team.

  • Multiple queries in single command object

    Hi All,
    My report uses a command object, which executes an insert query. I want to do 'collect' statistics after the insert query. How to do this in a single command object. Kindly suggest me the possibilities.
    Thanks in advance!
    Meena

    Ido, when I attempt to nest an insert statement followed by a select statement in the same command object, I get a "SQL Command not properly ended" error.
    Here is the SQL:
    insert into testing123 values (sysdate, 4)
    select * from testing123
    If use semicolons to separate the two statement, I get an "Invalid Character" error.
    Here is the SQL:
    insert into testing123 values (sysdate, 4);
    select * from testing123
    Any thoughts on what I might be doing wrong here?
    Thanks!
    Chad

  • Webi- Issues when using multiple Queries

    Hi All,
    I have a requirement as follows:
    A crosstab which will have Year dimension both in the vertical and horizontal header. How ever the horizontal header should have years chosen by the user.
    And the vertical header should have all the years that belong to that dimension.
                                   2013 2014 2015
    Audit1  2011                N     N      N
    Audit2  2013                Y     N      N
    Audit3  2014                N     Y      N
    For this I am using two queries.
    Query 1 ->Audit Name , Year
    Query 2 ->Year with a multiselect prompt
    But the problem with this is that after exec uting the queries the Year dimension gets merged and gives me a union of all the years.
    Also if I avoid merging the dimensions, it gives up the infamous #DATASYNC error.
    However I want crosstab horizontal header to show up only the selectd years(that are selected using the prompt by the user).
    Please help.

    Hi Pradnya,
    Your approach is really nice towards the requirement.
    I similarly created two queries containing Year and on
    one of the query created a prompt on Year and one query does not have any
    prompt.
    Lets say I have created two queries named [Query 1] and [Query
    2] and my merged dimension Year contains dimensions [Query 1].[Year] and [Query
    2].[Year].
    (Note: Query 2 has a prompt on Year)
    Created a detail variable named [test] which has the
    definition as =[Query 1].[Year] and Associated to the merged dimension [Year].
    Inserted a cross table and used [test] in the vertical
    header and in the horizontal header used the following formula:-
    =UserResponse([Query 2)].[Year];"Enter values for
    Year:")
    Please try the above and let me know how it goes.
    Regards,
    Manpreet

  • Recordset output from multiple queries to single table

    Hi
    I am trying to find a way to build a dynamic table where the columns appear to need to come from to different queries or from a union query but am confused.My table would look like this and if there is month data then there will be Year to Date data but not neccessarily vice versa.
    The number of records will vary.
    My sql for Month is
    Select Class, sum(Value) as MonthData
    From Data
    Where Month = Jan
    Group By Class
    For Year is
    Select Class, sum(Value) as YearData
    From Data
    Group By Class
    So all data is coming from my table data which has columns Class, Month, Year, Value
    In my recordset in DQ I want to be able to specify a variable "Month" so user can change it but want year to date to always be year to todays date.
    any thoughts gratefully received.
    Simon
    Class
    Month
    Year to Date
    A
    DataSource1
    Datasource2
    B
    DataSource1
    DataSource2
    C
    DataSource1
    DataSource2

    Hi
    I am trying to find a way to build a dynamic table where the columns appear to need to come from to different queries or from a union query but am confused.My table would look like this and if there is month data then there will be Year to Date data but not neccessarily vice versa.
    The number of records will vary.
    My sql for Month is
    Select Class, sum(Value) as MonthData
    From Data
    Where Month = Jan
    Group By Class
    For Year is
    Select Class, sum(Value) as YearData
    From Data
    Group By Class
    So all data is coming from my table data which has columns Class, Month, Year, Value
    In my recordset in DQ I want to be able to specify a variable "Month" so user can change it but want year to date to always be year to todays date.
    any thoughts gratefully received.
    Simon
    Class
    Month
    Year to Date
    A
    DataSource1
    Datasource2
    B
    DataSource1
    DataSource2
    C
    DataSource1
    DataSource2

  • Issues while Exporting OBIEE Answers Report to Excel

    Hi All,
    In my report, I have a column named (Order number) which is a measure column. I am displaying this column in a pivot table view. In the measure section i am duplicating this column(Order number) and applying % for the column in the following way:
    Order number column-> Show Data As-> percent Of-> Column
    After doing this i am getting values like this 0.3, 99.5 etc etc... But when i export this report to Excel sheet. The result appears like this .0%, 1.0% etc like this. But I want 0.3, 99.5 that is the decimal points should be displayed accurately in the excel. How could I do it? Pls anybody shed light on this issue? Awaiting your reply...
    Thanks in Advance
    Thenmozhi

    Hi,
    You can try adding the below statement in the Custom CSS section of the column properties:
    mso-number-format:"\@"
    Refer snapshot here:
    http://i53.tinypic.com/a09kqv.jpg
    This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
    Award points it is useful.
    Thanks,
    Satya

  • Issue to export data from sql to excel

    I have MS SQL 2008 Developer version and visual studio 2008. I'm using SSIS Import and Export Wizard on the VS2008 to create a simple package to export data from a table using a sql query to excel file (.xlsx), but I got the following
    error messages:
    [Destination - Query [37]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
    [Destination - Query [37]] Error: Cannot create an OLE DB accessor. Verify that the column metadata is valid.
    [SSIS.Pipeline] Error: component "Destination - Query" (37) failed the pre-execute phase and returned error code 0xC0202025.
    The SQL query is
    SELECT [BusinessEntityID]
          ,[PersonType]
          ,[NameStyle]
          ,[Title]
          ,[FirstName]
          ,[MiddleName]
          ,[LastName]
      FROM [AdventureWorks2008].[Person].[Person]
    Any help will be appreciated. Thanks.
    A Fan of SSIS, SSRS and SSAS

    Or another way is to save the package created by Export Import wizard, open it in BIDS and add a Derived column task before the Excel destination to do explicit casting of the columns to your required unicode datatypes.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Exporting Multiple Internal table data to Single Excel file.

    Hello Expert,
      I want to export more than one internal table data from Web Dynpro Application to single Excel file but in such a way that
    each table's data to be get exported to different tabs in (Multiple sheets)  that single excel file.
    So help me in this matter.
    Thank You.
    Varun
    Moderator message: wrong forum, please post again in "Web Dynpro ABAP".
    Edited by: Thomas Zloch on Oct 29, 2010 1:39 PM

    Each table having different sheet in same CSV file .
    A CSV file is a flat file and don't have "Sheets"; you would have to Export to an Excel file, which supports several Sheets in one file.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Export Multiple tables into a single Excel Sheet

    We have a use case where we need to export multiple tables into an excel sheet. The exportCollectionActionListener only allows one table (which is provided in the exportedId attribute) to be exported into Excel. So is there a method provided by adf to export more that one table into excel ?

    dvohra,
    I need to export multiple tables into a single excel sheet. These links only show how to export a single table to an excel sheet.
    I have tried out this : http://iadvise.blogspot.com/2007/04/export-adf-table-to-excel.html. But i am not getting the popup to save the file. So i can't find out where the file got created.

  • SQL Developer cannot execute multiple queries in one connection

    Hi,
    Using : SQL Developer 1.2.29.98, Oracle Database 9i on Windows XP.
    Currently I have TOAD and PL/SQL Developer to handle things related to Oracle Database.
    I found this SQL Developer tools as an interesting tool which might replace PL/SQL Developer (I assume).
    I opened two SQL Worksheets and tried to execute 2 queries (time consuming one) simultanously, suddenly it freezes (the window become grayed). Just like TOAD, we cannot smoothly execute multiple queries on single connection on SQL Developer
    I can monitor the query process using TOAD (Session Browser) and found both queries are running while SQL Developer window become grayed and seems not functioning. After the queries have been finished, I mean both of them, the SQL Developer window become normal and "alive" again showing the expected results.
    Well, however PL/SQL Developer could handle this. Executing multiple queries in single application is just its unbeatable features.
    We can view the query result once its finished instead of until the others being processed, by just only switch the SQL Windows.
    Is it true that SQL Developer doesn't support executing multiple queries?
    Or is it a feature which we should request?
    Or we have to activate this feature by doing some changes on configuration / preferences?
    (Do we need to open two SQL Developer instances? what a memory consuming solution).
    Regards,
    Buntoro

    SQLDeveloper connections are single threaded and also rather single minded (in that you can't do much else while a long query is running.)
    There is an existing feature request http://apex.oracle.com/pls/otn/f?p=42626:39:3685254426061901::NO::P39_ID:4202 for which you can vote.
    The workaround is to have multiple connections. Not brilliant but it works.

Maybe you are looking for

  • Getting all documents(and their line items) on basis of a vendor r customer

    Hello to all, I have made a report which takes a range of document dates and querys the bkpf on the basis of bldat(and query bseg on basis of the retrieved belnr). Now want i need is to add another selection(lifnr in case of vendor and kunnr in case

  • Mount ocfs2 error in oracle 10g installation on vmware

    Dear All this is very urgent.....kindly help me... i m running this command for mount ocfs folder but not run gives error below....... [root@rac1 ~]#mount -t ocfs2 -o datavolume,nointr /dev/sda1 /ocfs ocfs2_hb_ctl: Bad magic number in superblock whil

  • Image Button. How to mark it on slide?

    Hello! I wonder how to mark, put attention on the Image Button? I'm working on a project, where I use custom navigation pannel with Image Buttons. Some slides changes without navigation. And some slides paused till button pushed. I would like to pay

  • What is the autocreated file "profiles.bin"?

    I just discovered a file in my home folder named "profiles.bin", with a creation date of 1/14/08. I checked my daughter's computer, and she has the same file with the same creation date in her home folder. Anyone know what this is??

  • HT4314 How do you find peoples profiles in gamecenter without being friends?

    I want to find a profile for someone on Gamecenter to make sure that they are the right person I am friending, but it wont let me seach users. Is it possible?