Abap report in XML format

hello all,
i need to downloadABAP report in xml format.
can any body help me out.
Thanks
chandramani

Hi
Use
FM
SAP_CONVERT_TO_XML_FORMAT
Re: GUI_Download for XML file ?
How to download SAP standard report output into XML format
Re: Download data from SAP in XML format.
regards
pavan

Similar Messages

  • Oracle reports in xml format end with stat_low = 6 stat_high = 0

    hi
    i have a problem with my reports
    i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
    after apply the RUP 6
    my character_set is :American_America.AR8MSWIN1256
    base lang American
    install lang ARABIC
    when i generate the reports in xml format i get:
    Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ZMCINVTRREG1 module: ZMC Transaction Register Report
    Current system time is 04-AUG-2009 14:32:30
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    XML_REPORTS_XENVIRONMENT is set to:
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    AR8MSWIN1256
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    Converting parameters to UTF-8
    -- Start of Reports Command Converted to UTF-8 --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    XML_REPORTS_XENVIRONMENT is :
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.AR8MSWIN1256
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    *** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
    Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Reset original NLS_LANG in environment as :
    American_America.AR8MSWIN1256
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
    Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2009 14:32:38
    can any one help me with it????

    hi,,,
    it seems OS package version conflict
    Please check glibc and openmotif version (its responsible for reports)
    and
    Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
    MALLOC_CHECK_ can be changed in two places :-
    1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
    MALLOC_CHECK_=0
    Then restart the concurrent managers and retest
    2. Change it in the adovars.env file
    Again bounce the concurrent managers and retest
    THANKS (ZzZ)
    Edited by: zzz on Aug 5, 2009 8:59 AM
    Edited by: ZzZ on Aug 5, 2009 9:00 AM

  • Deliver a report in XML format and save it to local file system on the server

    We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically
    1) How to create a XML report? It is not listed in the output items of a layout template.
    2) How to deliver XML the report  to local file system. Look into the Delivery section of Admin page. FTP should be the best choice, but does that means that one need to install and run ftp server on the BI server box?
    Thanks

    Hi,
    Since I still have problems on this subject, I would like to share on how it progresses.
    Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
    The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
    The connection test is still OK.
    I tried to increase the value in the user's pref but there's no change.

  • Conveting a BO report into XML format

    Post Author: Gunjan
    CA Forum: Integrated Solutions
    Hi,
    We have a requirement to convert BO Report into XML format.
    Could you please help if there is any tool available to directly convert BO report into an XML based on a predefind XSD.
    Thanks
    Gunjan

    Post Author: Gunjan
    CA Forum: Integrated Solutions
    Hi,
    We have a requirement to convert BO Report into XML format.
    Could you please help if there is any tool available to directly convert BO report into an XML based on a predefind XSD.
    Thanks
    Gunjan

  • How can i save a AWR/statspack report in xml format ??

    how can i save a AWR/statspack report in xml format ?? or is there a way...coz when creating the report it gives option for html or normal (sql or txt based file)... on 10.2.0.3

    thanks orinet....i used wat you asked me to use...it generated a .dmp file....
    sqlplus "/as sysdba"
    SQL> @$ORACLE_HOME/rdbms/admin/awrextr.sql
    i tired upload that file to orapert.com it gives me below error ...any reason why ??
    Error : File not processed because it was too small to be an Oracle statspack or bstat/estat file.
    do i need to load it up too ?? as i tried doing the below
    sqlplus "/as sysdba"
    SQL>@$ORACLE_HOME/rdbms/admin/awrload.sql
    get error while doing that....
    ERROR at line 1:
    ORA-20105: unable to move AWR data to SYS
    ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
    ORA-20107: not allowed to move AWR data for local dbid
    ORA-06512: at line 3
    the file is about 19M in size
    Edited by: user630084 on Mar 19, 2009 11:37 AM

  • Problem with getting a D2K report in XML format

    Hi all,
    Could any body give a solution for this problem.
    I have a matrix report like following:
    Q_Statement_Of_Net_Assets ----> main query
    |
    G_Cross ----> Cross product
    | CS_VALUE
    | CS_NET_ASSET
    | CF_COSTI
    |
    | --------------------------------- |
    | | G_CTIF | | ------> Like this I have two more groups
    | --------------------------------- |
    ...... |
    -----------------------------------------------|
    My requirement is i want to print CS_VALUE, CS_NET_ASSET, CF_COSTI values in XML report, these values i am getting in a Normal/RTF format reports.
    But i am not getting in XML format report.
    thanks in advance.
    Vasu

    Thanks Schellyc
    actually I want to creat a new SOAPMessage for the very beginning like this:
    try{
                MessageFactory mf = MessageFactory.newInstance();
                SOAPMessage msg = mf.createMessage();
                SOAPPart sp = msg.getSOAPPart();
                //create the header container
                SOAPEnvelope se = sp.getEnvelope();
                SOAPHeader sh = se.getHeader();
                SOAPBody sb = se.getBody();
            }catch(Throwable e) {
                e.printStackTrace();
            }and I want to get the empty header from this newly created SOAPEnvelop and add my own content into the header as well as the empty body.
    I wrote the code by following the example from the jaxm api.
    can anybody tell me any further information about the NullPointerException?

  • Large Report in XML Format issue

    I am running an Oracle report with an output to XML but I am not getting all the the data. Is there a limit on how much data can be shown in an XML output? Is there a way to get large reports to show in XML Format? We are running Oracle ERS 12 on database 11g. Thank you

    I wasn't getting an error at first but now I get the following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Not enough storage is available to complete this operation.
    I don't have this issue with any other format.
    I was wondering how much storage is needed?

  • Can a ibot send report in xml format? is it possible?

    Hi,
    When you choose an analysis and want to schedule it you have several option in the drop down menu; however, I have a requirement where I would need to send out the report in an XML format. Is that doable?
    Thanks in advance for your response.

    Hi SaichandVaranasi,
    Well, I need it as the report needs to be scheduled and sent out to a client via email; They use the xml to extract data from us.
    As far as getting the static data to show the xml file, it is not working or may be i am unclear on this.
    I have enabled the report links and from export i am able to get the xml file generated. Now if i copy the link of the xml output it points to my c drive. (C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\CCQABWMX\FX_SEF[3].xml)
    Once i paste this link to a static view it does not generate the xml view.
    in addition even this link is to work, how would it take in the dynamic variable for each day for example where the date range will be changing.
    Am i doing it wrong?
    Thanks for your suggestion btw.

  • How to download Answers report in XML format?

    I would like to send the developed Answers reports in the form of XML so that it can be sent to various Govt and 3rd Party systems. Any idea how to achieve this?
    Thanks
    Edited by: user12242480 on 05-Feb-2010 01:52

    Use the go url:
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_go_url
    And specify the format as XML.
    Example:
    saw.dll?Go&Path=/Shared/Test/SB2&Format=XML
    May be you can add the XML to the menu. But i never do it, you have to search in the custommessage.
    Cheers
    Nico

  • Report in XML format cannot be opened in Chrome or Firefox browsers

    If I set the report format to XML, the report can be opened correctly in Microsoft Internet Explore, but not in Google Chrome or Mozilla Firefox browsers. Is there a reason for this? Any workaround to cope with this problem?
    Thanks

    Currently, we only support Internet Explorer for viewing XML reports--I've also heard of people having success with other XML viewer applications (and in some cases, other browsers), but IE is the only one we can guarantee will work. For more information on the supported software, see the TestStand Release Notes.
    It's possible that creating a custom stylesheet would change the compatibility and might allow the report to display correctly in Chrome or Firefox, so that might be one approach to making it work. Another option would be to create an HTML report instead of, or in addition to, the existing XML report. The HTML report can be viewed in Chrome or Firefox.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Getting page no. when generating report in  XML format

    hi all,
    could any one tell me. How to get page no's in XML reporting.
    Is there any facility to assign physical page no. to an other variable?
    regards,
    Vasu

    Hi Kishore,
    I have a report (D2K) of 10 pages. Normally for getting page no.s on report, we will have a field and we will assign source as physical page no. But if give like this, i am not getting page no.s when i am generating report format as XML.
    regards,
    vasu

  • Data is not converting in XML format in output while download in report

    Hi All,     While downloading the report in XML format value '&' is not changing its XML format '&amp', but showing in debug mode and sam thing while download its not showing in output. showing in debug like; MS NA - DCS Tooling & Automation but in output showing the data like:  MS NA - DCS Tooling & Automation because of this getting issue. Please help me out . Thanks and Regards Sankil

    In that case, it is correct.
    Try replacing & with &amp; before downloading xml in case you want & to appear as &amp; in web browser view.

  • Oracle Report show in XML Format

    Hi to all
    I designed one report in oracle EBS R12 and attach one XML Template for output.This report output show properly but when i add this report in Request Set then its output show in XML format instead of attach template.
    If any member have its solution so plz send it.
    Regards ,
    Zulqarnain

    Hi Zulqarnain,
    You have missing some information.
    1. First create report in Report Builder.
    2. Generate report in XML format.
    3. Now using BI Publisher import XML format report.
    4. Add required columns in MS Word with Add in options.
    5. Now Save MS File with format rtf.
    6. Now using XML Publisher Administrator report add information regarding report information and upload rtf file.
    Have enjoy
    Edited by: 877432 on Dec 30, 2012 8:15 PM

  • BW report as xml output

    Hello
    I need to make a BW report in xml format.
    When I have a query I only know the options for displaying it as a web template via WebApplicationDesigner or via BEx Analyzer.
    Can anyone help me with the easiest way to get the output in xml format?
    Best regards,
    Tormod

    you need to go for either webservice model
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    or
    use XMLA
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
    how to doc for XMLA
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how%20to%20execute%20an%20xmla%20query%20and%20receive%20the%20xml%20result">How to Execute an XMLA Query and Receive the XML Result</a>
    Regards
    Raja

  • ABAP Data to XML file

    Hi,
    I have read this weblog
    /people/patrick.baer/blog/2005/02/24/abap-serialization--part-i-quick-n-easy and tried to serialize ABAP data into XML format.
    In fact, I have copied the exact code from this weblog, but somehow this file is not visible in my pc.
    DATA example_data TYPE spfli.
    select single * from spfli into example_data.
    DATA xml_utils TYPE REF TO if_ixml.
    xml_utils = cl_ixml=>create( ).
    DATA xml_stream_factory TYPE REF TO if_ixml_stream_factory.
    xml_stream_factory = xml_utils->create_stream_factory( ).
    DATA xml_output_stream TYPE REF TO if_ixml_ostream.
    xml_output_stream = xml_stream_factory->create_ostream_uri( system_id =
    'file://c:test.xml' ).
    try.
    CALL TRANSFORMATION id
    SOURCE data_node = example_data
    RESULT XML xml_output_stream.
    catch cx_sy_conversion_base64 CX_SY_CONV_ILLEGAL_DATE_TIME.
    write 'there is an exception'.
    endtry.
    This part of the code, I have also changed to :
    xml_stream_factory->create_ostream_uri( system_id =
    'file://test.xml' ).
    and still the file is not visible.
    I presume three reasons:
    a) Looking in the wrong place
    b) Some configuration, I am not doing properly
    c) Something else has to be done, to write a file to system
    Any help on this regard, is highly appreciated.
    Next issue being, how robust is the approach of serializing ABAP data into XML format, so that a third party system can pick up this data and do a comparison ?
    Some parameters that I am looking for in this regards are:
    a) Error Validation (can XML data be incorrectly written into a file/while transmitting this data some errors can creep in. If so, how do I rectify it. As far as I know, this data can only be written to Presentation Server or using FTP ,transported to required destination. Is there any other approach ? )
    b) Security
    Would be great if you could drop some hints for the above procedure.
    Regards,
    Subramanian V.

    I think you are perhaps overestimating the capabilities of the osteam object.  If you want to write the XML to a file the easiest thing to do is render it an ostream_itable (internal ABAP table).  Then you can download it your PC with the GUI_DOWNLOAD function:
    parameter: ifile type file_table-filename obligatory
               default 'c:issue.xml'.
    ****Temp File name for function module call.
    data: ifilename type string.
      move ifile to ifilename.
      create object issue
         exporting
           id     = id
           create_mode = abap_false.
      data: g_ixml type ref to if_ixml,
             g_stream_factory type ref to if_ixml_stream_factory,
             xslt_err type ref to cx_xslt_exception,
             g_encoding type ref to if_ixml_encoding,
             ostream type ref to if_ixml_ostream.
      constants:  line_length type i value 4096.
      types:      line_t(line_length) type x,
                  table_t type standard table of line_t.
      data: restab type table_t.
      constants:
    * encoding for download of XML files
        encoding     type string value 'utf-8'.
      data: ressize type i.
      try.
          g_ixml = cl_ixml=>create( ).
          g_stream_factory = g_ixml->create_stream_factory( ).
          g_encoding = g_ixml->create_encoding( character_set = encoding
            byte_order = 0 ).
          refresh restab.
          ostream =
            g_stream_factory->create_ostream_itable( table = restab ).
          ostream->set_encoding( encoding = g_encoding ).
          call transformation id_indent
            source     asap_issue = issue
            result xml restab
            options
            data_refs = 'embedded'.
          ressize = ostream->get_num_written_raw( ).
        catch cx_xslt_exception into xslt_err.
          data: s type string.
          s = xslt_err->get_text( ).
      endtry.
      call function 'GUI_DOWNLOAD'
        exporting
          bin_filesize = ressize
          filename     = ifilename
          filetype     = 'BIN'
        tables
          data_tab     = restab
        exceptions
          others       = 1.
      call method cl_gui_frontend_services=>execute
         exporting
           document               = ifilename
    *    APPLICATION            =
    *    PARAMETER              =
    *    DEFAULT_DIRECTORY      =
    *    MAXIMIZED              =
    *    MINIMIZED              =
    *    SYNCHRONOUS            =
        exceptions
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          others                 = 8.
    As far as a different system, once you have the data serialized into a string or internal table you have lots of possibilites.  If the other system is an SAP system you could send the data via RFC.  You could always write the XML string to the server file system (via open dataset, transfer to dataset).  You can then FTP the file (using built in SAP FTP functionality) just about anywhere.
    What are you looking for as far as robust and secure.  The XML serializer is built in the ABAP Kernel and quite robust.  As far as secure- the data isn't secure at all.  The data is written into a simple string (if written into the file system or your pc - it is a text or binary file that can easily be read by just about anything).  Serializing to XML in and of itself isn't going to provide any security.

Maybe you are looking for

  • Help:  How to add a library item to hide the default Window menu

    Hi, In this post: Help: How to add a library item to hide the default Window menu, it described how to create an menu that will hide the default window menu. I'd like to know if there a way to put this component into library so that others can direct

  • Blinking Mute buttons in Mixer

    Hi everyone, I was working on an arrangement and not sure what I exactly did, now I can't hear a sound from tracks, and the Mute buttons are blinking in the mixer. I can hear the sound from a track if I solo it though. How do I get my sound back?

  • How to troubleshoot permissions issue

    Hi, I have a SharePoint site and have added an AD group to a SharePoint group but users in the AD group still cannot access the site.  When I add the AD group directly to the site it works as expected. Is there any "must check" items that could poten

  • Flash MX FLA not opening in Flash 8

    I'm trying to open a .fla file in Flash8 which was created in FlashMX but for some reason the components aren't opening correctly. Anyone have any ideas?

  • Creation of support message from Webserver like CRM, XI

    Hi Gurus, Can anyone guide me, how to Create support message from Webserver like CRM, XI. I could configure from GUI Based systems like ECC, SCM. But i don't know how to configure for CRM, XI etc..,Java based web applications. Pls guide me.