Downloading the XML

Hi all,
I am facing a problem while dowmloading an XML.
When i click on the link for downloading the XML it is giving me the option for Open, save and cancel and when i click on save, it will save the XML but the blank window screen remains there .
In webdynpro view Layout I have set the property <b>Target</b> as <b>_parent</b> and <b>behaviour</b> as <b>allowspace</b> and when i change the <b>behaviour</b> property to <b>openinspace</b> on click of link for downloading XML it will directly display the XML without any option for Open, Save or Cancel.
Please response, this is really urgent
Thanks in advance

i think the behaviour property z allowSave
chk it
http://help.sap.com/saphelp_nw70/helpdata/en/58/0cc24133c06324e10000000a1550b0/frameset.htm

Similar Messages

  • Error while downloading the xml file

    i am having a internal table which contains data in xml format but i am unable to download the data into local system by using 'GUI_DOWNLOAD' fn. module
    its error its showing is as :
    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.
    A name contained an invalid character. Error processing resource 'file:///D:/XX.XML'. Line 4, Position 4
    MOD/><RPTSX/><MANDT/><SYPSY/><SYSID/><SAPRL/></T682><T682><KVEWE>A</KV...

    hello Durairaj,
    i am fwd the code go thru it and check why the xml file is not downloading,
    and after downloading the file i want that file to be in displayed in  .pdf.
    REPORT  ZCCSV_TO_XML.
    DATA : BEGIN OF TABLE OCCURS 0,
            TABNAME(15) TYPE C,
           END OF TABLE.
    DATA : BEGIN OF HEADER_NAMTAB OCCURS 0,
            NAMTAB TYPE STRING,
           END OF HEADER_NAMTAB.
    DATA : BEGIN OF CONVERT_ITAB_TO_XML OCCURS 0,
            FIELDNAME(255) TYPE C,
           END OF CONVERT_ITAB_TO_XML .
    DATA : BEGIN OF CONVERT_XML_TO_ITAB OCCURS 0,
            FIELDNAME(255) TYPE C,
           END OF CONVERT_XML_TO_ITAB.
    DATA DREF TYPE REF TO DATA.
    DATA TNAME LIKE DD02L-TABNAME.
    DATA BEGIN OF ZDFIES OCCURS 0.
            INCLUDE STRUCTURE DFIES.
    DATA END OF ZDFIES.
    DATA: xml_out TYPE string .
    DATA: xml_TO_ITAB TYPE string .
    data : wa_indx type indx.
    DATA : DETAIL(30).
    DATA : DATA1 TYPE STRING.
    DATA : COMMA . "VALUE ','.
    DATA : DBTAB1(15) TYPE C.
    FIELD-SYMBOLS: <ITAB> TYPE ANY TABLE,
                   <WA>    TYPE ANY,
                    <WA1> TYPE ANY .
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME,
                       SKIP 1.
    PARAMETERS : SPOOL    RADIOBUTTON GROUP rad1 DEFAULT 'X',
                 CSV      RADIOBUTTON GROUP rad1 ,
                 XMLTOPDF RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN : SKIP 1,
                       END OF BLOCK b1.
        TABLE-TABNAME = 'T681'.
        APPEND TABLE.
        TABLE-TABNAME = 'T682'.
        APPEND TABLE.
      IF SPOOL = 'X'.
       PERFORM SPOOL.
      ELSEIF CSV = 'X'.
        PERFORM CSV.
      ELSEIF XMLTOPDF = 'X'.
        PERFORM XMLTOPDF.
      ENDIF.
    *&      Form  CSV
    form CSV .
    LOOP AT TABLE.
      dbtab1 = TABLE-TABNAME.
      TNAME = dbtab1.
      PERFORM GETFIELDS.
      LOOP AT HEADER_NAMTAB.
       WRITE: HEADER_NAMTAB-NAMTAB, COMMA.
      ENDLOOP.
      PERFORM GET_DETAIL_LIST.
    ENDLOOP.
    endform.                    " CSV
    form XMLTOPDF .
    LOOP AT TABLE.
      PERFORM GET_DETAIL_LIST.
    ENDLOOP.
    endform.                    " XMLTOPDF
    GETTING THE HEADER OF THE TABLE                                     *
    FORM GETFIELDS.
      REFRESH HEADER_NAMTAB.
      CALL FUNCTION 'GET_FIELDTAB'
       EXPORTING
           LANGU              = SY-LANGU
           ONLY               = SPACE
           TABNAME            = TNAME
           WITHTEXT           = 'X'
       TABLES
           FIELDTAB           = ZDFIES
       EXCEPTIONS
           INTERNAL_ERROR      = 01
           NO_TEXTS_FOUND      = 02
           TABLE_HAS_NO_FIELDS = 03
           TABLE_NOT_ACTIV     = 04.
      CASE SY-SUBRC.
        WHEN 0.
          LOOP AT ZDFIES.
            HEADER_NAMTAB-NAMTAB = ZDFIES-SCRTEXT_M.
            APPEND HEADER_NAMTAB.
          ENDLOOP.
        WHEN OTHERS.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH  SY-SUBRC.
      ENDCASE.
    ENDFORM.                  " GETFIELEDS
    *&      Form  GET_DETAIL_LIST
    form GET_DETAIL_LIST .
      CREATE DATA DREF TYPE STANDARD TABLE OF (TABLE)
                                WITH NON-UNIQUE DEFAULT KEY.
      ASSIGN DREF->* TO <ITAB> .
      SELECT * FROM (TABLE) INTO TABLE <ITAB>.
      CALL TRANSFORMATION ('ID')
      SOURCE tab = <ITAB>[]
      RESULT XML xml_out.
    Convert to TABLE
    CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
    EXPORTING
    i_string = xml_out
    i_tabline_length = 100
    TABLES
    et_table = CONVERT_ITAB_TO_XML.
    Download
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filetype = 'ASC'
    filename = 'D:\XX.XML'
    TABLES
    data_tab = CONVERT_ITAB_TO_XML
    endform.

  • How to download the xml file with netweaver 2004s

    I am trying to find the xml file in order to link R/3 to my portal
    I installed Netweaver 2004s but I am not able to link to R/3
    I heard that I can use another xml file from another server and download it and change the config to match the new server
    JF

    Hi JF,
           Michael is right in EP5, system are defined in XML file. use the following properties you will able to create system connecting to R/3.
    choose System Administration->&#61472;System Configuration-> System Landscape.
    Create a  system of  SAP_R/3_Dedicated type system
    Select the <b>Connector</b> from the Property category dropdown
    Application Host : <R/3 Host name>
    SAP Client: <Clent no>
    SAP System ID (SID):
    Server Port: 
    SAP System Number
    System Type: SAP_R3
    Select the <b>User Management</b> from the Property category dropdown
    Logon Method - UIDPW
    User Mapping Type - Admin,user
    Select <b>System Aliases</b> in the Edit dropdown list.
    This opens the System Alias Editor, and displays the existing list of aliases created for this system. Add the system alias here.
    Select the <b>test connection</b> in the Edit dropdown list:
    test the connection
    Hope this will solve your problem.
    Thanks
    Sai

  • 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

  • WE60 - Error while generating the xml schema

    Hi
    Using the transaction WE60 I am trying to generate an XML schema for the BASIC type : DEBMDM06, Segment release - 7 and record type version - 3. Following error message is displayed. "Structure of segment E1T023W is unknown". Kindly let me know how to generate an XML schema successfully and what is the reason for this error to come up
    Regards
    Aruna

    Hi Aruna,
    It seems a dictionary error but it doesn't occurs to me. I can download the XML schema without problems in SAP ECC 6.0.
    If you let me know your email I can send it zipped to you.
    Reward points if helps.
    Roger

  • Downloading an XML file from Website through BPEL/ADAPTER

    Hi,
    I want to download an xml file from one webpage through BPEL. I am using jdeveloper 10.1.3.3 to create a BPEL process and Adapters.
    Is there anyway to download the xml file from the site through FUSION middleware.

    what do you mean download, is it a site where you click a hyperlink then down load the file.
    This is not possible as this is invoked by human intervention. SOA suite is invoked by events. If you want to perform this kind of function you would need to create a jave service to perform this.
    Is there any posibility that there is a FTP link that you could use?
    cheers
    James

  • Downloading an XML file from Website through FUSION middleware

    Hi,
    I want to download an xml file from one website through BPEL. I am using jdeveloper 10.1.3.3 to create a BPEL process and Adapters.
    How can i download the xml file from the site through FUSION middleware?

    Another option would be to write a smal Java class the uses URLConnect to connect to the URL in question and use WSIF to bind it to the BPEL process.
    Just google for sample code.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • To download SOAP/XML file at runtime....

    Hi,
      My porgram is consuming a web service, provided by an external party, by calling the method of the corresponding proxy class. The problem is I want to capture the SOAP/XML file that is generated at runtime when the proxy method is called.
    Could you please suggest me a way by which I can download the XML file. Is it possible?
    Regards,
    Vara

    Hi Vara,
    One solution is to activate logging and tracing and to see the payload in the log viewer. Consider that this could lower the performance of the system.
    Another solution could be to use some kind of [packet analyzer|http://en.wikipedia.org/wiki/Packet_sniff] ...
    Hope this helps,
    Rossen

  • CS3 - "Unable to locate or parse the XML source"

    Hello,
    When I try and attach a remote XML source to my XSL fragment,
    Dreamweaver
    CS3 tells me "Unable to locate or parse the XML source".
    This happens irrespective of where the remote XML file is
    located, and for
    all the remote XML files that I have found and tested from a
    myriad of
    different sources - I always get the same response.
    I can download any of these XML files and work with them
    locally, which
    Dreamweaver is quite happy to do, but that isn't appropriate
    for an
    application that needs to rely on an XML feed that is always
    up to date!
    From searching Google I can find numerous other queries of
    this nature, but
    no solutions! I am not sure if it is a Dreamweaver problem,
    or related to
    the type of web server I'm using or indeed to the corporate
    firewall here.
    For clarity, only Dreamweaver can't locate the remote XML
    sources - pasted
    into a browser they are all perfectly valid.
    (Apologies for sort of cross posting, I have already asked
    this question
    slightly differently on macromedia.dreamweaver)
    Cheers,
    D.

    Kelli, I know this is months late for you.. but I get the
    same error.. I found if I downloaded the xml locally I was able to
    set up my xsl page. After I got the page to look the way I wanted I
    switch the source to the external URL.
    If you have found a fix for the error please let me know,
    other then that this way will work.

  • Unable to Locate or Parse the XML source

    I've just started playing around with Dreamweaver 8 and I'm
    trying to pull in a RSS feed. I've followed the instructions in
    Dreamweaver, but when I add my XML source (
    http://rss.cnn.com/rss/cnn_law.rss)
    I get an error message in the bindings area where the XML structure
    should be displaying that says "Unable to locate or parse the XML
    source". I'm somewhat familiar with XML and new to RSS feeds so I
    have no idea what this means. Any help will be appreciated.

    Kelli, I know this is months late for you.. but I get the
    same error.. I found if I downloaded the xml locally I was able to
    set up my xsl page. After I got the page to look the way I wanted I
    switch the source to the external URL.
    If you have found a fix for the error please let me know,
    other then that this way will work.

  • The XML Source file is unavailable for viewing

    Same java application is deployed on two different servers. One server is in the intranet zone and the second one is in the internet zone. The request sent to the server is an xml file and the response from the server is also an xml.
    In intranet server, when we are trying to view the source of the response xml file , we are getting a prompt displaying the message "The XML Source file is unavailable for viewing".
    But in internet server, when we are try the same, we are getting a valid xml resposne. We are using IE 6.0 - SP1 browser.
    We tried the same in the mozilla browser and found the same results. Any suggestions on this?

    One possibility is the IE security settings under tools/internet options. The intranet site may have a lower security setting than the internet site. The browser may not ne letting the internet site download the xml.

  • 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

  • Downloading the data to XML file (Event driven )

    Hi ,
    Whenever there is any change or updation in HR master data i need to download the data to XML file. I have written a program to download the data to XML file but i need to trigger this program only when there is a change in HR master data.
    Could somebody tell me how to go about this. Reward points are assured.
    Best Regards
    Bhagat.

    Hi Bhagat,
    isn't it possible to use change pointers for this?
    Then in partner profile use an XML file port and it should be done!
    Probably this blog could help you:
    <a href="/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm">Collecting IDocs without using BPM</a>, have a look at the part where it explains how to write Idoc as XML.
    Hope it helps,
    Kind Regards,
    Sergio

  • Downloading the string as an XML file

    I tried to download a string stored in session to be downloaded as a XML file. I am able to download the file. But the problum I am getting space at the top of the file
    The code I used is like
    <%
    String xmlContent = xmlContent.trim();
         SAXBuilder builder = new SAXBuilder();
         Document doc = builder.build(new ByteArrayInputStream(xmlContent.getBytes()));
         XMLOutputter outputter = new XMLOutputter(Format.getPrettyFormat());
         //response.setContentType("APPLICATION/XML");
         response.setContentType( "application/xml" );
         response.setHeader("Content-Disposition","attachment; filename=\""+ fileName+"" + "\""+"");
         try{
              //outputter.output(doc,System.out);
              outputter.output(doc,out);
              //outputter.o
         catch(Exception e){
              System.out.println("Exception while displaying config request data "+ e);
    %>
    the output has spaces above the xml prolog. Can anybody help me in solving this issue.
    Thank you.

    I have designed an application that uses XML
    as the storage instead of database.Ok.
    I think searching for a particular element in an XML
    file is complex, and other than that I am not seeing
    any problem.You could abstract that complexity away behind an Adapter.
    So I need u guys view points on this
    "usage of data in an XML file".It depends on the nature and format of that to determine if it's a good idea. You need to consider a number of factors when deciding how to persist data. How much data is there, how often does the format and/or semantics of that data change, how is the data presented or processed. What is the lifetime of that data, what is the ratio of writes to reads. what is the access scope of the data, how secure does the data need to be.
    Finding the most appropriate format for data is oten more important than finding the most appropriate algorithm for a program, since data often has a longer life time that the programs that access it.

  • Where can I downloads the electric xml tools package?

    Pls ask all ,I don't download the electric xml tools package,Can you tell me about its website,contact me:[email protected],Thanks a lot.

    I didn't search it by google,I found website about electric xml,but didn't download the electric xml,if you have the electric xml tool packages,pls send to me,my email is [email protected]

Maybe you are looking for

  • Sceptre X24WG Blinks on and off

    Hi there, I just bought a Sceptre 24" widescreen monitor (X24WG) that is supposed to have native resolution of 1920x1200 @ 60hz. I've plugged it into the Mac Mini (G4 w/1.42 and 1 GB RAM) via the DVI input and tried to get the 1920x1200 resolution to

  • Help with Disk Utility

    I have a removable usb flash drive that I've been using for a while. Occasionally I need to erase it with disk utility to remove all of the past information it has held. This time around though the drive doesn't seem to be created (I'm not sure if I'

  • Can't connect 2760 to PC Suite

    Using PC Suite 7.1.18.0 with BlueSoleil 5.2.227.1 Bluetooth dongle in Windows XP SP3. Phone and PC pair OK but PC Suite Connect Wizard device authentication fails. Works fine with 6233 phone. Thank you.

  • 2 new Asus AH236H monitors. How to ?

    I have two ASUS AH236H monitors. I have a new MacMini Funning 10.8.3. Main monitor is on MacMini HDMI to HDMI. Second monitor is is MacMini Thunderbolt to HDMI. I want to have main one in Landscape mode and the second monitor in Vertical Portrait mod

  • Exporting whole database (10GB) using Data Pump export utility

    Hi, I have a requirement that we have to export the whole database (10GB) using Data Pump export utility because it is not possible to send the 10GB dump in a CD/DVD to the system vendor of our application (to analyze few issues we have). Now when i