Download records in AL11 directory in XML format

Hi Experts,
Please advise me, is any function module which transfers the records in XML format of specified AL11 directory path?
Thanks,
Prashanth

Hi,
Refer this thread for XML conversion to app server
http://forums.sdn.sap.com/thread.jspa?threadID=1083407
One more expamle http://forums.sdn.sap.com/thread.jspa?threadID=1817869
Edited by: Vinit Joshi on Feb 22, 2012 3:05 PM

Similar Messages

  • Using API to download the webi document in the XML format

    I am just trying to use this API to download the webi document in the XML format. I need a sample XSL file which we can use to download the XML in a formatted output.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/RE_SDK/resdk_java_doc/doc/resdk_java_apiRef/com/businessobjects/rebean/wi/XMLView.html
    getReader
    public java.io.Reader getReader(java.net.URL xsl)
                             throws REException
    Return the result of the XSL transformation applied to the XML report output stream.
    Parameters:
    xsl - URL to an XSL file used to transform report XML.
    Since:
    11.5
    See Also:
    getReader()

    If the same content of file already thr in the Internal table as 1 STRING/LINE then you can loop the internal table count the entries which one you want like
    Kanagaraja L

  • Plz plz help me.... How can i download or save my sms (cvs & xml format) from my pc to iphone 3gs???

    i ve lost my android phone. but i ve backed up some phone data before. i ve successfully added my contact into iphone through email attachment. but i can not add my sms the way i ve added contacts. plz help me informing the way hopw i can add my sms into iphone.

    Sorry, there is no way to add SMS history to an iPhone. What you can do is save it to a file, then paste the file into a Note and sync the note. Or into a Word or Pages document and sync that.

  • Download internal table in XML format

    Hi experts,
    I want to download an internal table into an XML format.
    How can I achieve this?
    I have used the GUI_DOWNLOAD earlier for XLS purpose, will that work in this case too?
    Thanks,
    Ajay.

    Hi Ajay,
      You can use the below format
    DATA : gs_xml TYPE lvc_t_fccl.
    (Fill lt_Table here)
        TRY.
            CALL TRANSFORMATION id SOURCE root = lt_Table
                 RESULT XML gs_xml.
          CATCH cx_st_error.
    ENDTRY.
    Then Call GUI_DOWNLOAD, passing gs_XML as data_tab and filetype = BIN
    Note : GUI_DOWNLOAD will not work in background.
    Hope this solves your problem
    Regards,
    Seema

  • 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

  • Sending data from final internal table  to application server in xml format

    hi to all ,
    can anyone send details about send data from final internal table to application server in xml format.right now i am able to download data to presentation server in xml format . love to here soon from all the abap gigs.

    welcome to SDN.
    are you using call transformation to convert itab to XML? the XML string is in which format?
    convert it to xstring and then use the following code to store it in application server.
    OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    TRANSFER XML_content TO FNAME.
    CLOSE DATASET FNAME.
    where fname is the path to the file name.
    Regards
    Raja

  • 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 & before downloading xml in case you want & to appear as & in web browser view.

  • How to upload  and download a files into AL11 directory in ABAP

    Hi,
                   How to upload  and download a files into AL11 directory in ABAP
    thanks
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Mar 21, 2011 9:18 AM

    You should try one of these forums for an answer to your question:
    http://swforum.sun.com/jive/forum.jspa?forumID=116
    http://community.java.net/netbeans
    http://linux.java.net

  • How to download the report data in xml format

    Hi All,
    how to download the report data (sql/interactive) in xml format...
    Thanks,
    Vinoth

    You will want to do something like this:
    http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    except customize it for xml.
    hth,
    John

  • Problem in downloading records .txt format

    Hi,
    I have to download records in a .txt file from two custom tables(Header and Item table) while the header records and item records are identified by the first two characters of each string downloaded in the .txt file. Can you help me out by giving some code piece on this.
    Swarup Banerjee.

    can i know the file format (fields) and 3-4 first records of it.
    if possible send more details.

  • Internal table data download to XML format

    Hello All,
    I have devloped one OOPS ALV report in that our requirement is on "SAVE" button the data of the report has to be downloaded in given XML format.Please check the format provided in Finnish language.The word "Value" specified as value which are coming in the ALV report against fields mentioned.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!u2014Aromi list -->
    <!-- Copyright -->
    <!-- Edited with Visual Basic 6 -->
    <!-- Versio 1.0 -->
        <Tiedot Lahettaja="Value" Yhteyshlo=" Value"    
                    Yhteystieto=" Value " Asiakasnumero="">
           <Raaka-aine Nimi="" Ryhma=" Value ">
              <Tuotemerkki Nimi=" Value " Ean=" Value "
                                  Ykspakkauskoko="1" Ykspakkaustyyppi="KPL" almistaja="Value">
                 <Toimittajatiedot Tuotekoodi="10" Sopimustuote="Y" Myyntierakoko="5"
                                    Myyntieratyyppi="ME" Myyntierahinta="3,035" Hintapvm="value"
                  />
          </Tuotemerkki>
      </Raaka-aine>
    </Tiedot>
    Could anybody help how to download the report data into above format.
    Regards,
    Sachin

    Hi Sachin,
    I see the sample XML has field values embedded as XML element attributes.ie <Raaka-aine Ryhma=" Value ">. For such specific requirements:
    1. Loop through the table and Use iXML library functions to build the complete XML, element by element. Help - http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
    2. You can create an XSLT Transformation that match the specific XML format,  and use CALL TRANSFORMATION to convert internal table to that specific XML format.
    Few Standard Function modules and class CL_XML_DOCUMENT may help for generic SAP XML conversions, where XML element names will be same as internal table field names. Not, sure if these can be used to generate specific XML formats.
    Thanks,
    Varun
    Edited by: Varun VS on Oct 25, 2011 7:48 AM

  • Download script Output to XML format

    Dear friends,
    I want to download script output to xml format.
    Can you please help me regarding this issue.
    Its very Urgent.....
    Regards,
    Munna.G

    hi krishna,
    In Smartforms
    goto UTILITIES ---> download form.
    Browse the location and save the form.
    The saved form is in xml format.
    If you want to use that form,
    create a new form and go to utilities--> upload
    OR:
    Use function module FB_DOWNLOAD_FORM .
    Provide your form name as input for i_formname.
    you will get the output in xml format
    i think this will help u
    reward if help ful
    regards,
    sindhu.

  • Why did you send me a download in XML format, instead of WORD?

    Why did you send me a download in XML format?

    balancedphoto, I just sent you a private message. Please check your inbox. :: Yuri

  • Error while downloading data from internal table into XML file

    hi all,
    i developed a program to download data from into internal table to xml file like this.
    tables: mara.
    parameters: p_matnr like mara-matnr.
    data: begin of itab_mara occurs 0,
                matnr like mara-matnr,
                ernam like mara-ernam,
                aenam like mara-aenam,
                vpsta like mara-vpsta,
          end of itab_mara.
    data: lv_field_seperator type c,     " value 'X',
          lv_xml_doc_name(30) type c,    " string value ‘my xml file’,
          lv_result type i.
          lv_field_seperator = 'x'.
          lv_xml_doc_name = 'my xml file'.
    types: begin of truxs_xml_line,
              data(256) type x,
          end of truxs_xml_line.
    types:truxs_xml_table type table of truxs_xml_line.
    data:lv_tab_converted_data type truxs_xml_line,
         lt_tab_converted_data type truxs_xml_table.
    data: lv_xml_file type rlgrap-filename value 'c:\simp.xml'.
    select matnr ernam aenam vpsta from mara into table itab_mara up to 5
           rows where matnr = p_matnr.
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = lv_field_seperator
      I_LINE_HEADER              =
      I_FILENAME                 =
      I_APPL_KEEP                = ' '
       I_XML_DOC_NAME             = lv_xml_doc_name
    IMPORTING
       PE_BIN_FILESIZE            = lv_result
      TABLES
        I_TAB_SAP_DATA             = itab_mara
    CHANGING
       I_TAB_CONVERTED_DATA       = lt_tab_converted_data
    EXCEPTIONS
      CONVERSION_FAILED          = 1
      OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    open dataset lv_xml_file for output in binary mode.
    loop at lt_tab_converted_data into lv_tab_converted_data.
    transfer lv_tab_converted_data to lv_xml_file.
    endloop.
    close dataset lv_xml_file.
    this program is syntactically correct and getting executed, but when i open the target xml file it is showing the following error.
    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.
    XML document must have a top level element. Error processing resource 'file:///C:/simp.xml'.
    will anyone show me the possible solution to rectify this error
    thanks and regards,
    anil.

    Hi,
    Here is a small sample program to convert data in an internal table into XML format and display it.
    DATA: itab  TYPE TABLE OF spfli,
          l_xml TYPE REF TO cl_xml_document.
    * Read data into a ITAB
    SELECT * FROM spfli INTO TABLE itab.
    * Create the XML Object
    CREATE OBJECT l_xml.
    * Convert data in ITAB to XML
    CALL METHOD l_xml->create_with_data( name = 'Test1'
                                         dataobject = t_goal[] ).
    * Display XML Document
    CALL METHOD l_xml->display.
    Here are some other sample SAP programs to handle XML in ABAP:
    BCCIIXMLT1, BCCIIXMLT2, and BCCIIXMLT3.
    Hope this helps,
    Sumant.

  • Download file from AL11 into CSV to load MD into BPC

    Hi All
    I have an issue in downloading file from AL11 which is in the form of CSV.
    1) I have exported the masterdata for Costcenter using a Open hub.
    2) The file is residing at the app server AL11 in the form of CSV.
    3) I want to down load the file into CSV and upload that file into BPC NW for my costcenter diemension.
    When i am downloading the file from AL11 , the total records are merged into one row, i cannot download same as it is available in AL11.
    I have followed the HOW TO GUIED : HOW TO AUTOMATE MD LOADING IN BPC nw.
    I m unable to get the file properly on to my PC.
    could you please help me .
    AK

    You should open your file in AL11, then clicking 'List' then 'Save' you'll be able to download your file. There will be some header lines indeed.
    You'd better use an open hub with your local client as destination if you need the file.

Maybe you are looking for

  • Working with XWindows

    Hi all, I'm working on an application where I need to spin off new processes using Runtime.exec, BUT I need to be able to hijack those processes to control the window attributes for them (i.e. the window geometry, window events like minimization, max

  • Why are the first items to be played opening at the end?

    This problem occurs on podcasts, videos, and songs: when an item is played, it opens at the end rather than the beginning, so the next item in the list plays instead. Sometimes if I click on the item again, it starts from the beginning, but equally a

  • 5800 using AT&T sim card

    I have recently got a 5800Xpress Music which has been unlocked. I take my AT&T sim and put into the phone, the phone works, the WLAN works but I can not get any internet connections. I continue to get Packet Data: Packet Data Connection not available

  • CIN configuration for capital goods

    Dear All, I have to configure CIN for capital goods purchase. Please let me know the important configuration required for the same. where we can set 50% on hold conditions ? Regards, Umesh

  • XSLT 2.0 processor

    It would be helpful to be able to choose between XSLT 1.0 and 2.0 when exporting XML with an XSLT stylesheet. Related requests: -- Ability to select an external XSLT processor on XML export. -- Ability to pass parameter values to the processor on XML