Saving report results in xml mode

Dear all,
Do i have chance to save query results in xml mode?
thanks

Execute BW query using ABAP Part III

Similar Messages

  • How do you export APEX report results to XML template

    Hello all,
    I would like to export the results of a report to an XML template(CSV removes leading zeroes which doesn't work for us) Where do you store the template and how do you export the report results to it?
    Thanks

    Hello, since you say it's just a question of formating why you want to use xml instead of csv maybe you wanna have a look at this thread:
    CSV Download Changing Text to Number
    There they are discussing the aspects of leadings 0.
    Regards, Tine.

  • Report Designer - Error while opening a saved report

    Hi,
    I am not sure if this is an authorization issue or configuration issue.
    When I try to open a saved report on Report designer, I keeping getting an error: Report Version is invalid: "0".
    Has anybody faced similar problem?
    We are on SP09.
    Regards,
    Payal.

    Payal,
    I am afraid, that your report might be corrupted. This might have happened, if in tx SE16 the version is changed. The Report XML displayed in SE16 for table RSERDATA, is limited to ca. 1024 charachters. When editing the version, after pressing the save button, the Report XML is cut off at 1024 charachters and the report is lost.
    Please do not set the report version in tx SE16!
    I will need to configure the program RS_REPORT_MAINTAIN, such that reports with version "0" can be saved with the minimum version 9.0.
    Until then I recommend the following procedure for Reports that are ok, but have the Version "0" bug:
    1) in tx SE38, program: RS_REPORT_MAINTAIN
        open your report with option "DT" (designtime)
    2) Switch to Edit mode.
        Make a backup copy of the report using the "Save As" Button.
        You can copy the Report XML to the clipboard using Ctrl-A, Ctrl-C
    3a) Open a dummy report in RS_REPORT_MAINTAIN created previously with
          Report Desginer ( --> The version is set to 9.0).
          Switch to edit mode and paste the Report XML and Save.
      or
    3b) Debug FUNCTION rs_bex_report_load_rfc.
          Open a report and change the value of E_REPORT_VERSION to "9.0"
          before leaving the function.
    Hope this helps, karim
    P.S.
    I will update note 1016224

  • How to run a 10g report in quiet\batch mode

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    So the server (we will call it server1) you have "Redwood Cronacle 6.0.2" installed on has a C: drive and a D: drive. On the D: drive is installed Developer 6i (D:\ORADEV6I). You can install Developer Suite 10g also on the D: drive (D:\ORADEV10G for example). After that, setup Oracle iAS on server2. The good news is you have to change very little code. You can:
    Not use the iAS server at all and use the following command (similar to how you are doing it now) in Redwood:
    return 'D:\ORADEV10G\BIN\RWRUN.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' batch=yes paramform=no destype=file'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE';If you want to use the iAS server, you have to consider where the report will physicall exist. You can have it exist on the reports server or you can have it brought back to the client. If you bring it back to the client you will lose the ability to run this asynchronously (or in batch mode). You will have to play with some of these parameters to get it to work perfectly, but this should be a good start. These are examples of have the report results saved locally on server1...not server2:
    1. Use rwclient to submit a report request
    return 'D:\ORADEV10G\BIN\RWCLIENT.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';2. Use rwservlet to submit a report request
    return 'D:\ORADEV10G\BIN\RWSERVLET.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';I would think that Cronacle 6.0.2 can submit a url as a job and wait for the results to be streamed back, so you could look into doing that also, in which case the url you would submit for the job would be something like:
    return 'http://server2:7777/reports/rwservlet?'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=cache'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';

  • IR Saved Report  - Download to CSV downloads Primary Report

    Hi there
    I'm using Apex 4.1, I login to my Apex application NOT using the developer interface (the developer buttons are not visable at the base of the page) as an end user would see.
    If I run an IR report and then create a filter on the Primary report the report runs OK. I then click Actions -> Download and then Download the report output to a CSV file (correctly filtered) to a Excel spreadsheet. I then Save this report giving the report a Name and Description. I then logoff from the Apex application. So far so good.
    I then login back on to my Apex Application. When I choose and run the Saved Report (described above - not the Primary report) the saved report runs correctly (applying the correct filter condition), HOWEVER when I then click on Actions - Download I seem to get the Primary report downloaded as a CSV file into my Excel spreadsheet - the filter condition that is applied to the saved rerport is ignored for the Downloaded CSV file. The File Downloaded is a new CSV file generated in Apex as reported in my Firefox 'Downloads' list.
    Does anyone know if this is a Bug or have I not set up the IR correctly.
    Thanks in Advance
    Edited by: boketi on Aug 13, 2012 3:18 PM

    boketi wrote:
    Hi Mehabub,
    Many thanks for the quick response.
    Did you test this in version 4.1 of Apex? I logged on to Oracle's 4.2 Early Adopter Beta Site and did the same and the IR works fine! Maybe it's a strange problem in 4.1 although I doubt it as with such a problem there would be a lot more noise on this forum. Could this be related to the 'theme' that I'm using? As the theme I'm using was origionally developed for Apex 3.2 and I don't think IR reports were around in 3.2?There is a good chance that it has to do with the theme or the upgrade from Apex 3.2. Interactive reports existed in 3.2 also user defined reports. But a lot of changes were made to the IR logic since 3.2 (introduction of multple standard reports, etc.).
    I just tested your case in my Apex 4.1.1 version in an application that was also upgraded from 3.2. And the data was stored correctly into a csv file.
    But it is useing one of the standard themes that was also updated.
    Did you set the compatibility mode of your application to 4.1?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#AEAPI2329
    begin
       apex_util.set_compatibility_mode(<application id>, '4.1');
       commit;
    end; Just because the environment is Apex 4.1 does not mean you application runs in 4.1. mode.

  • How to create Matrix with Group report layout in xml

    Hi,
    i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
    Here i am attaching the required design doc
    below is the code
    select COST_CMPNTCLS_CODE,
    -- crd.RESOURCES,
    NOMINAL_COST,
    cmm.COST_MTHD_CODE,
    -- crd.COST_TYPE_ID,
    gps.period_code
    -- ORGANIZATION_ID
    from CM_RSRC_DTL crd,
    gmf_period_statuses gps,
    CM_MTHD_MST cmm,
    CR_RSRC_MST crm,
    CM_CMPT_MST ccm
    where gps.period_id = crd.PERIOD_ID
    and crd.cost_type_id = cmm.cost_type_id
    and crd.RESOURCES = crm.RESOURCES
    and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
    and gps.period_code in (:p_period1, :p_period2, :p_period3)
    group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
    order by 1,2,3,4.
    The o/p of the report shoud be as given below
              Period-1     Period-2     Period-3     Period-4
    COMPONENT                         
    LABOUR - DIRECT                         
         Actual     1     2     3     4
         Actual Rate     10     10     10     10
         Standard Rate                    
         Var%                    
    DEPRICIATION-DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    OVERHEAD - DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    LABOUR - IN DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    Thanks in advance

    Your friend is obviously not a reliable source of HTML
    information.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr.Ghost" <[email protected]> wrote in
    message
    news:f060vi$npp$[email protected]..
    > One of my friends advised me to develop my whole site on
    the layout mode
    > as its
    > better than the standard as he says
    > but I couldnot make an ordinary table with rows and
    columns in th layout
    > mode
    > is there any one who can tell me how to?
    > thanx alot
    >

  • Using a report layout in background mode

    Is is possible to apply a saved report layout like you apply to the alv grid to a csv file run in background mode?

    Hi Cynthia ,
    I can figure out one way :
    SUBMIT ZREPORT TO SAP-SPOOL LAYOUT 'ZLAYOUT'
    VIA SELECTION-SCREEN
    DESTINATION 'locl'
    KEEP IN SPOOL 'X'
    IMMEDIATELY 'X'
    WITHOUT SPOOL DYNPRO
    AND RETURN.
    This will return the report in your layout to the spool and can be downloaded as well.
    Thanks
    Naresh

  • Interactive Filter Saved Report Subscription by Email

    Hi
    I did Interactive filter and saved a report. The interactive filter is performed between start and end date with a location details. I would like to have a custom header with title like this
    Data is obtained at Location Name from <start> and <end> date. This saved report is send to few people every day.
    The date, location name are present in the result set of the report. What is the best way to achieve this custom header in saved reports?
    Thanks
    Raj

    Hi Raj,
    You don't be able to do that with he current apex subscription functionality, however you could write a simple plslq block to send the formatted email which looks same as interactive report.
    Look at this thread and the links inside them
    {message:id=10350580}

  • How to hide saved report filter condition

    Hello,
    I create an IR report and pre-create some saved report.
    I would like to hide filter condition when end-user select one report on the list so that he/she cannot see and delete the condition.
    Is there anyway to do that?
    Thank you.

    Another approach:
    Open view CRM_WORKAREAHDR/WorkAreaHeader and change the configuration. There is a button in the bar named "Attributes" (probably hidden under MORE).
    Once in there in edit mode substitute the content of attribute "UI_COMPONENT_3". It should be
    Window=CRM_ALLSEARCHES.CRM_ALLSEARCHES/LauncherWindow;horizontalAlignment=right;
    put there a
    Width=0px;
    The other way using business role is fine as well.
    cheers Carsten

  • \n in result handler xml

    When I extract the following from result handler xml, the \n display as \n in TextArea. How can I extract from result so they are actually line breaks?
    <EmailText>Thank you for reporting this to us.\nPlease include the city you are in.</EmailText>
    private function onGotResult(event:RestServiceResponse):void {
        var defaultEmailTextValue:String = resultData..EmailText;

    Tried that, \n still displayed in textarea.
    One thing I tried holds promise. If the text has line breaks without characters, like this:
    This is the first line.
    This is the second line.
    Then no problem, EXCEPT that when the text is rendered in the text area an extra line break seems to be added. In fact everytime you save another line break is added. So save (which returns you to another page) and then return to the page with the text area, and you see this:
    This is the first line.
    This is the second line.
    Save again and you see this:
    This is the first line.
    This is the second line.
    I've done some tracing, and I can't find anywhere this is added, certainly not in my code.

  • Schedule report results to be stored on a server in Excel or .CSV format

    Hi All,
    there is a requirement to schedule the report results to be saved in Excel or .CSV format and the file to be stored at a server location.
    Could anyone please advise how we can achieve this if its possible at all?
    Many thanks!

    This is possible using BEx Information Broadcasting.
    After Opening the Query in Query Designer, Click on Query -> Publish -> BEx Broadcaster.
    There is plenty of help on SCN Downloads / Articles on Information Broadcasting that will walk you step by step.
    Here are a few links:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40811e9c-4edd-2a10-06bd-c41e475f607a
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00d91245-1f5d-2a10-c795-8394960f56cc
    Just search in SCN for Information Broadcasting and you will get plenty of help.
    Good Luck.
    MP.

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Open CR reports from an xml file

    Hi, Im new using Crystall Report technologies and I wonder if this is possible.. I have a web application and want to use some crystall reports that have been designed some time ago...the thing is that I dont want the reports to be compiled with the project..insted I'd like that the project points to the reports through a xml file where Im going to write the paths where the reports are so that if I change of server o file (where the reports are stored) I only have to change the paths in the xml file...can this be done? ...hope you can help me...thanks...bye

    Yes, this is can be done.  Since you are storing the path to the .rpt files in an xml file, you will need to write some code to retrieve the path to the report.  Now that you have the path to the report, when you create an instance of the ReportDocument class, use its Load() method and pass it the path of the report to its argument and you will achieve what you are wanting to do. 
    To stop the report files from being built as a Resource in your project, change the BuildAction property for the report (in your project) to None.
    -MJ

  • Report printing in character mode in rb6.0.5.28.0

    hi all,
    i am facing a problem to print reports, devepoped in character mode.
    i am using report builder 6.0.5.28.0
    and operating system windows 98 on client.
    The situation is
    A) 1st case: when i run a report (.rep file) with destination type
    screen or preview. then i want to print it on printer, but as soon
    as i select the printer and click ok button it gives the
    operating system's message of "this function has performed an illegal
    operation" and the application exits.
    B) 2nd case: when i run a report (.rep file) with destination type
    screen or preview. then i want to generate an text file .txt,
    but when i generate to txt it doesn't generate the file as in screen
    i.e. format is changed.
    C) 3rd case: the interesting situation is that when i run
    a report (.rep file) with destination type printer and
    select the printer and click ok it prints quite fine.
    D) 4rth case:similarly if i select the destination type as file the it
    generates to file quite fine.
    please help me in this regrard.
    suggest either i need any patch etc.
    i haven't install any patch
    prompt response would be highly appreciated.
    dilshad ch.
    null

    hello,
    i would strongly suggest you
    1) install the latest patches
    2) check back with oracle support services if your problems persist. check oracle metalink for known problems.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HELP IR Download filtered saved report to CSV

    Hi there
    My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1
    I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to see. I then save the report which is now a 'private' report. If I run the 'saved' (with the filter condition) IR report it displays the data correctly, with the 'saved' report displaying the correct data on the screen I then click Actions->Download and then select CSV - the entire 'primary' report is downloaded -- The filter is ignored!!! Surely the Actions->Download should 'know' that I want download the report that's being displayed (just run) on the screen?
    I think that when you click on the CSV icon the report is re-submitted - How can I get the CSV download to apply the filter that I've defined in the saved report.
    I've searched this forum and found the following similar question being asked
    Re: Problem with export from a saved interactive report
    Interactive Report Download to csv problem
    how to download only filtered data in csv?
    Re: Download Saved Report in IR 4.1
    Thanks in advance
    PS: Is the above an undocumented feature of Apex IR Reports?
    Edited by: boketi on Sep 25, 2012 7:05 AM

    Hi Sathish,
    Thanks for your comment.
    I agree with just a 'default' report the CSV download always gives what is displayed on the screen. If you then define another report with a filter condition and run this 'private' report 'sometimes' the CSV download gives the origional primary report, ignoring the filter condition. Please see the attached links as other people are also getting the same problem.

Maybe you are looking for

  • How to Select Discontnuous Dates

    I am building an Window form application using Visual C#, I need to provide an interface for users to select dates; the dates selected can either be a single date, such as, 03/14/2015, a range of continuous dates, such as, 03/01.2015-03/31/2015, or a

  • Global search does not find all relevant emails

    Hi Some emails do not appear in global searches or filters when they should appear. For example, there is a starred email from person X in folder Y which is not found when I search for person X, or click on my filter which identifies starred emails.

  • I need to reinstall  SL - what kind of backup(s) would i need to do ?

    Should i use time machine, super duper, or manually copy it?

  • Calling subroutine in sapscript

    can anyone guide how 2 call subrouting in sapscript and i need sample code...i need a simple code how 2 call and implement so tat it ll be easy 4 me learn..

  • BW WAD Modify Table Classes

    Hi Gurus,    I'm working on modify table classes for reporting purpose. We have a report where we have to find the trend analysis, need to check if its uptrend or downtrend.. We have data like this: 2002 | 2003 | 2004 | 2005 0    |  8   |  9   | 10 0