Output XML to Application Server

Hi,
I have successfully output the contents of an xml document object (if_ixml_document) using the following code (where p_xml_document is my xml document object):
  TYPES:
    BEGIN OF xml_line,
      data(256) TYPE x,
    END OF xml_line.
  DATA:
    streamfactory     TYPE REF TO if_ixml_stream_factory,
    ostream           TYPE REF TO if_ixml_ostream,
    renderer          TYPE REF TO if_ixml_renderer,
    ls_xml            TYPE xml_line,
    lt_xml_table      TYPE TABLE OF xml_line,
    v_xml_size        TYPE i.
Transfer contents of xml document object into an internal table.
  streamfactory = g_ixml->create_stream_factory( ).
  ostream = streamfactory->create_ostream_itable( table = lt_xml_table ).
  renderer = g_ixml->create_renderer( ostream = ostream document = p_xml_document ).
  renderer->render( ).
  v_xml_size = ostream->get_num_written_raw( ).
  CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
      bin_filesize = v_xml_size
      filename     = 'c:\hr_sl\aaa_sunlife.xml'
      filetype     = 'BIN'
    CHANGING
      data_tab     = lt_xml_table.
My problem is I really need to output the XML to the application server, so I need to replace the call to cl_gui_frontend_services=>gui_download with something that will download the xml to the app server.
I've tried using OPEN DATASET/TRANSFER/CLOSE DATASET, and while I am getting a file created on the app server, it only contains one line of XML.
My code looks lile this:
  OPEN DATASET l_ofile FOR OUTPUT IN BINARY MODE.
Transfer xml to dataset
  LOOP AT lt_xml_table INTO ls_xml.
    TRANSFER ls_xml TO l_ofile.
  ENDLOOP.
Close the dataset.
  CLOSE DATASET l_ofile.
I've searched and searched on SDN and have not found an answer.  Any help would be greatly appreciated.
Thanks!
Edited by: Russell Hergott on Jan 16, 2008 10:52 PM

hi boss,
some of the code may be useful for u .
try like this sending into the internal table  and then try ....
*& Report  ZTESTPROGRAMFORUPLOAD
REPORT  ZTESTPROGRAMFORUPLOAD message-id zmsg.
tables:pa0002.
types:begin of ty_pa0000,
      pernr like pa0000-pernr,
      endda like pa0000-begda,
      end of ty_pa0000.
types:begin of ty_pa0002,
      pernr like pa0002-pernr,
      begda like pa0002-begda,
      endda like pa0002-endda,
      vorna like pa0002-vorna,
      nachn like pa0002-nachn,
      end of ty_pa0002.
data:it_pa0000 type standard table of ty_pa0000 with header line,
      it_pa0002 type standard table of ty_pa0002 with header line.
data: v_pernr like pa0002-pernr,
      v_lines type i.
DATA: W_MSG(150)  TYPE C.
SELECTION-SCREEN BEGIN OF BLOCK FILE WITH FRAME TITLE TEXT-FIL.
*SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: P_PC  RADIOBUTTON GROUP RAD USER-COMMAND USR.         "PC
*SELECTION-SCREEN COMMENT 3(5) TEXT-SC1.
PARAMETERS: P_UNIX  RADIOBUTTON GROUP RAD DEFAULT 'X'.         "UNIX
*SELECTION-SCREEN COMMENT 11(5) TEXT-SC2.
parameters:p_file like rlgrap-filename.
*SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK FILE.
at selection-screen on value-request for p_file.
perform f4_help.
START-OF-SELECTION.
*---Get the  active employyes
  select     pernr
             endda
             from pa0000
             into table it_pa0000 up to 100 rows
             where endda >= sy-datum
             and   begda <= sy-datum
             and   stat2 = '3'.
  if sy-subrc = 0.
    sort it_pa0000 by pernr endda descending.
    delete adjacent duplicates from it_pa0000 comparing pernr.
  endif.
select pernr
       begda
       endda
       vorna
       nachn
       from pa0002
       into table it_pa0002
       for all entries in it_pa0000
       where pernr = it_pa0000-pernr.
sort it_pa0002 by pernr.
delete adjacent duplicates from it_pa0002 comparing pernr.
append it_pa0002.
endloop.
END-OF-SELECTION.
  describe table it_pa0002 lines  v_lines .
*---get data into Application Server.
PERFORM OUTPUT_CORPEDIA_VENDOR_FILE .
  SKIP 2.
  WRITE:/ 'FILE NAME :' , P_FILE .
  WRITE:/ 'NO OF RECORDS DOWNLOADED : ', V_LINES .
*&      Form  f4_help
      text
-->  p1        text
<--  p2        text
form f4_help .
  IF P_UNIX = 'X'.
F4 help for UNIX
    CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
      EXPORTING
        DYNPFIELD_FILENAME = 'P_FILE'
        DYNAME             = SY-CPROG
        DYNUMB             = SY-DYNNR
        FILETYPE           = 'P'
        LOCATION           = 'A'
        SERVER             = ''.
    IF SY-SUBRC <> 0.
      MESSAGE E000 WITH TEXT-E01 P_FILE.
    ENDIF.
  ELSEIF P_PC = 'X'.
F4 help for PC
  clear p_file.
    CALL FUNCTION 'WS_FILENAME_GET'
      EXPORTING
        DEF_PATH         = P_FILE
        MASK             = ',..'
        MODE             = '0 '
        TITLE            = 'Choose File'
      IMPORTING
        FILENAME         = P_FILE
      EXCEPTIONS
        INV_WINSYS       = 1
        NO_BATCH         = 2
        SELECTION_CANCEL = 3
        SELECTION_ERROR  = 4
        OTHERS           = 5.
  ENDIF.
endform.                    " f4_help
*&      Form  OUTPUT_CORPEDIA_VENDOR_FILE
      text
-->  p1        text
<--  p2        text
form OUTPUT_CORPEDIA_VENDOR_FILE .
  IF P_PC = 'X'.
  data: v_pcfile type string.
  v_pcfile = p_file.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      FILENAME                      = v_pcfile
      FILETYPE                      = 'ASC'
      WRITE_FIELD_SEPARATOR           = 'X'
    TABLES
      DATA_TAB                      = it_pa0002.
sort it_pa0002 by pernr.
delete adjacent duplicates from  it_pa0002.
else.
  data: outrec(200) type c .
  OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE encoding DEFAULT.
  loop at it_pa0002.
    outrec+0(8) = it_pa0002-pernr.
    outrec+18(8) = it_pa0002-begda.
    outrec+36(8) = it_pa0002-endda.
    outrec+54(40) = it_pa0002-vorna.
    outrec+104(40) = it_pa0002-nachn.
    transfer outrec to p_file.
    clear outrec.
  endloop.
  CLOSE DATASET OUTREC.
    IF SY-SUBRC = 0.
      CLEAR W_MSG.
     CONCATENATE 'Corpedia Vendor Demographic File successfully written to:'
                 P_FILE
                 INTO W_MSG SEPARATED BY SPACE.
      ULINE.  SKIP.
      WRITE : W_MSG.
    ENDIF.
  ENDIF.
endform.                    " OUTPUT_CORPEDIA_VENDOR_FILE
regards,
venkat.

Similar Messages

  • How to send the report output to the application server in a excel file

    Hello,
    how to send the report output to the application server in a excel file.
    and the report runs in background.
    Thanks in advance.
    Sundeep

    Dear Sundeep.
    I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
    D A T A D E C L A R A T I O N *
    TYPES: BEGIN OF TY_EXCEL,
    CELL_01(80) TYPE C,
    CELL_02(80) TYPE C,
    CELL_03(80) TYPE C,
    CELL_04(80) TYPE C,
    CELL_05(80) TYPE C,
    CELL_06(80) TYPE C,
    CELL_07(80) TYPE C,
    CELL_08(80) TYPE C,
    CELL_09(80) TYPE C,
    CELL_10(80) TYPE C,
    END OF TY_EXCEL.
    DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
    WA_EXCEL TYPE TY_EXCEL..
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Here you populate the Internal Table.
    Display - Top of the Page.
    PERFORM DISPLAY_TOP_OF_PAGE.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    SET PF-STATUS 'GUI_STATUS'.
    E V E N T : A T U S E R - C O M M AN D *
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EXPORT'.
    Exporting the report data to Excel.
    PERFORM EXPORT_TO_EXCEL.
    ENDCASE.
    *& Form DISPLAY_TOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_TOP_OF_PAGE .
    SKIP.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'O R I C A'
    CENTERED COLOR 1,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
    CENTERED COLOR 4 INTENSIFIED OFF,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE.
    E X C E L O P E R A T I O N
    CLEAR: IT_EXCEL[],
    WA_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    WA_EXCEL-cell_02 = ' XYZ Ltd. '.
    APPEND WA_EXCEL TO IT_EXCEL.
    CLEAR: WA_EXCEL.
    WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
    APPEND WA_EXCEL TO IT_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    ENDFORM. " DISPLAY_TOP_OF_PAGE
    *& Form APPEND_BLANK_LINE
    text
    -->P_1 text
    FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
    DO P_LINE TIMES.
    CLEAR: WA_EXCEL.
    APPEND WA_EXCEL TO IT_EXCEL.
    enddo.
    ENDFORM.
    *& Form EXPORT_TO_EXCEL
    text
    --> p1 text
    <-- p2 text
    FORM EXPORT_TO_EXCEL .
    DATA: L_FILE_NAME(60) TYPE C.
    Create a file name
    CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
    '.' SY-DATUM+0(4) INTO L_FILE_NAME.
    Pass the internal table (it_excel which is already populated )
    to the function module for excel download.
    CALL FUNCTION 'WS_EXCEL'
    exporting
    filename = L_FILE_NAME
    tables
    data = IT_EXCEL
    exceptions
    unknown_error = 1
    others = 2.
    if sy-subrc <> 0.
    message e001(ymm) with 'Error in exporting to Excel.'.
    endif.
    ENDFORM. " EXPORT_TO_EXCEL
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
    Regards,
    Abir
    Don't forget to award Points *

  • Move xml to application server

    Hi gurus
    iam converting sap data into xml and now iam able to download the file onto presentation server properly.
    now i want to write the file onto application server.
    DATA:   l_ixml            TYPE REF TO if_ixml,
            l_streamfactory   TYPE REF TO if_ixml_stream_factory,
            l_ostream         TYPE REF TO if_ixml_ostream,
            l_renderer        TYPE REF TO if_ixml_renderer,
            l_document        TYPE REF TO if_ixml_document.
    l_streamfactory = l_ixml->create_stream_factory( ).
        l_ostream = l_streamfactory->create_ostream_itable(
                  table = l_xml_table ).
        l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                              document = l_document ).
        l_rc = l_renderer->render( ).
      Saving the XML document
        l_xml_size = l_ostream->get_num_written_raw( ).
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize = l_xml_size
            filename     = 'c:\satish\sample_trans.xml'
            filetype     = 'BIN'
          CHANGING
            data_tab     = l_xml_table
          EXCEPTIONS
            OTHERS       = 24.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.

    HI KUMAR
    I TRIED THAT IT DIDNT WORK.
    DATA: XML_TABLE       TYPE TABLE OF XML_LINE.
    L_OSTREAM = L_STREAMFACTORY->CREATE_OSTREAM_ITABLE(
                  TABLE = XML_TABLE ).
    CLEAR P_FILE.
    CONCATENATE SY-DATUM4(2) SY-DATUM6(2) SY-DATUM(4) INTO V_DATLO.
    CONCATENATE P_OUT V_DATLO P_OFILE '.XML' INTO P_FILE.
    OPEN DATASET P_FILE FOR OUTPUT IN BINARY MODE." ENCODING DEFAULT.
    IF SY-SUBRC = 0.
      LOOP AT XML_TABLE INTO XML_TABLE_WA.
      TRANSFER XML_TABLE_WA TO P_FILE.
      ENDLOOP.
      ELSE.
      MESSAGE E001(02) WITH 'UNABLE TO OPEN THE FILE FOR OUTPUT'.
    WRITE :/ 'UNABLE TO OPEN THE FILE FOR OUTPUT'.
      ENDIF.
    CLOSE DATASET P_FILE.

  • Xml to application server

    Hello
    I create with a transfomation a xstring
    and with the fm SCMS_XSTRING_TO_BINARY I create a table.
    This table I can download by fm gui_download and I can open the file
    with a xml-editor - it works.
    But if I do the same, but download to the application server, there is an error,
    I cant open the xml-file.
    I'm looping throught the table what fm SCMS_XSTRING_TO_BINARY give me back
    For each loop I call TRANSFER TO dataset
    I can see, the last record is filled out with 0 (Hex 00)
    I think this is the problem - by dowload with fm GUI_DOWNLOAD, I can set the file lenght,
    but by download to the application server I can't
    Thanks for any help
    Daniel

    Hi Daniel and thank you in advance for availability.
    The code is good for me ... to do something like this:
          lv_null_string = cl_abap_conv_in_ce => UCCP ('0000 ').
         LOOP AT lt_stream ASSIGNING <fs>.
           IF sy-tabix = lines (lt_stream). "only the last row must not be absolutely length
              FIND FIRST OCCURRENCE OF lv_null_string IN <fs>
                    IN BYTE MODE MATCH OFFSET lv_null_length.
              TRANSFER <fs> TO e_filename LENGTH lv_null_length.
           ELSE.
              TRANSFER <fs> TO e_filename.
           ENDIF.
         ENDLOOP.
         CLOSE DATASET e_filename.
    What do you think?
    Then I need your opinion, yesterday I turned the file, which was initially in BINARY MODE, in TEXT MODE, using:
    * Before the function
          CALL FUNCTION 'SCMS_BINARY_TO_STRING'
            EXPORTING
              input_length = lv_length
            IMPORTING
              text_buffer = lv_xml_string
            TABLES
              binary_tab = lt_stream
    * And then writing
         OPEN DATASET FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
         TRANSFER lv_xml_string TO e_filename.
         CLOSE DATASET e_filename.
    Do you think this workaround will produce an equally correct file of XML or is it more correct (formally) write a binary file?
    I ask this because I don't understand why we are the only ones to have this kind of problem around ... there is no other case in SCN.

  • Content-type: application/xml and Application server 9

    I have a web service running on Application server 9, implemented using netbeans and JAX-WS.
    When a client sends a request to it with:
    Content-type: application/xml
    the request is rejected because the server does not recognise the mime type.
    Specifically, the response is:
    HTTP/1.1 415 Unsupported Media Type
    X-Powered-By: Servlet/2.5
    Content-Type: text/plain; charset=iso-8859-1
    Date: Fri, 01 Sep 2006 14:49:04 GMT
    Server: Sun Java System Application Server Platform Edition 9.0
    Connection: close
    Everything works fine when the request has:
    Content-type: text/xml
    Is there a way to make my web service accept content type of 'application/xml'?
    -Tony Beaumont
    Aston University
    beaumoaj

    I have fixed this for myself, i.e. decompile, replace in jar.
    My problem was that most tools define the encoding but code was simply testing
    if( contentType.equalsIgnoreCase( "text/xml" ) )
    so sending xml from other tools that send contentType
    "text/xml;encoding=UTF-8" or some such, like soap tools, would mean no XML was seen.
    Is the proper source available for XSQL?

  • Read xml from application server

    Hello guys,
    I have craeted program read xml file from presentation server. its working fine...
    below is program
    now i want to program read xml file from Application server.
    so please give me some idea for that.........
    <MODIFIED BY MODERATOR - RESPECT THE 2,500 CHARS LIMIT>
    thanks
    jigar
    Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:50 AM

    Hi
    U need to just replace the fm to upload the file with command OPEN DATASET / READ DATASET / CLOSE DATASET: if you upload the data from application server in the same internal table loaded by fm for presentation your report should be the same
    Max

  • Output in the application server

    hi friends ,
         i am displaying a graph in my out put .same time i want to place the graph in application server .
    and i want to display this in a smart form.how can i place this out put in the application server.

    hi
    this can be done by writing the file to Application server through SE38 program.you can use CG3Y and CG3Z transaction.use AL11 to view file
    hope this helps
    regards
    Aakash Banga

  • Run BW query from R/3, need output file saved on application server

    Hello all,
    We are currently working on BI 7.0. Is there a way where we can run a BW query from R/3 by some program or tcode? We need to run the BW query and use the output of that query as an input to some other custom program in R/3.
    If we can save the output file on application server than the R/3 program will pick up that file from there.
    Is there any standard delivered functionality that will allow us to do that or how can we achieve this.
    Can some help help with some suggestions or links?
    Thanks in advance.

    Hi,
       Refer the following threads:
    [Calling BW Query from R/3;
    [Saving Bex Report / query in BW App server;
    Regards.

  • Not displaying the actual output in application server.

    HI expert's,
    thanks in advance.
    i am getting output in grid format, it displaying data in grid format,but i am trying to pass this grid internal table into application server , my file is going to application server but  there output coming in row wise, not   in colum wise.
    how i will get same output wat i am getting in grid output, in to application server.
    i have an internal table that data is storing in that,i am thinking we have to convert grid to normal display is it correct ? or not( )
    please response as soon as possibe please.

    yes, i tried like this also,
    but my output what iam getting in grid format , not exactly getting in application server
    just find below ex.
    (ex:  grid output:             aaa     bbb    cccc    dddd
                                         111      222   3333    4444)
    in application server  output like below.
                                         aaa
                                         bbb
                                         ccc
                                         ddd
                                         111
                                         like so on)
    i need same output wat i am getting in grid output, in to application server.

  • Read Tilda separated file from Application Server

    I have a requirement to read a tilda separated file from application server and write a tilda separeted output to application server. Please suggest how to to get data from tilda separated file to internal table ? and also How to create a tilda separated file from internal table to application server.

    Hi again,
    This some sample code for outputing data on application server with tilda separator.
      OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. " MESSAGE msg.
      IF sy-subrc <> 0.
         message i812(LQ).
         LEAVE LIST-PROCESSING.
      ENDIF.
      LOOP AT gs_input INTO wa_input.
        CONCATENATE wa_input-wadat_ist
                    wa_input-sort2
                    wa_input-name1
                    wa_input-street
                    wa_input-region
                    wa_input-post_code1
                    wa_input-zzchep
                    wa_input-vbeln
                    wa_input-bstkd
                    wa_input-zfrom
                    wa_input-zland
                    wa_input-zccode
                    wa_input-zrcvd
                    wa_input-zfref
                    wa_input-znorc
                    wa_input-zsepr
                    wa_input-zvers
                    wa_input-zlout
                    wa_input-zinfo
                    wa_input-zinco
                    wa_input-zsqal
                    wa_input-zscod
                    wa_input-zrqal
                    wa_input-zeqal
                    wa_input-zecod
                    wa_input-zcust
                    wa_input-ztran INTO g_path SEPARATED BY '~'.
        TRANSFER g_path TO p_file.
        CLEAR : g_path, wa_input.
      ENDLOOP.
      CLOSE DATASET p_file.
    Hope this will be helpful for you.
    Regards,
    Vijay

  • Application Server File problem

    Hi,
    I have a program wherein I download the report output to the Application Server. Everything is working fine but after 60000 records, the Directory Path and the time stamp is getting displayed in the application file.
    Nothing specifically is coded in the program.
    Does anyone have any idea where I can check to get a solution?
    Also, the basis team has looked into this and found no solution whtsoever.
    Thanks!
    Prasanna

    Is there any solution to accomodate all teh records into a single file without the direcotory path & the time stamp??
    Or is there any restriction to save only 60000 records in the application file?
    Thanks!
    Prasanna.

  • Problem in download to application server- file column is getting truncated

    We have a program for which there are 2 options a list output or file to be placed on the application server. The TXT file is of length 525 characters.
    My problem is while the list output is generated the whole list is getting outputted, but when we take a output on the application server last 10 columns are getting truncated.
    Can somebody give a help on this.
    Thanks in advance.
    Jilly

    Use the function module
    ARCHIVFILE_SERVER_TO_CLIENT
    Pass the values: as download file and destination in the respective fields.
    File to be downloaded in :(Pass the exact file name)
    PATH :                          
    SDEC01\SAPMNT\INT\HR\OUT\FMLA-20080205-0728
    and
    Destination to download the file in:
    TARGETPATH                      C:\DOCUMENTS AND SETTINGS\JILFEM\MY DOCUMENTS\FMLA-20080205-0728
    Regards,
    Jilly

  • Query regarding alignment of data in Application server

    My requirement is to download data to the application server. To get an aligned output, i need to give offset position manually for each input.
    For example :
          lw_outtab+0(15) = in_itab-matnr.
          lw_outtab+25(10) = in_itab-vkorg.
              append lw_outtab to i_outtab.
            Instead of manualy giving the offset position  
    Is there is any function module to get an aligned output in the Application server directly.
    And also i would like to know if color formating is possible for the downloaded data.
    ...Waiting for ur suggestions.
    Regards,
    Dhana...

    Hi Dhanachezhiyan,
    In order to get alligned data in an outputfile to application server you could do something like this:
    Define your own types (of course you can add as much fields you need)
    TYPES: BEGIN OF ty_in_itab,
             matnr(15) TYPE c,
             buf01(10) TYPE c,
             vkorg(10) TYPE c,
             buf01(10) TYPE c,
           END   OF ty_in_itab,
    Make sure that the length here is equal to length of ty_in_itab
           ty_outtab(100) TYPE c.
    Define your own tables/workarea's
    DATA:  in_itab   TYPE ty_in_itab OCCURS 0 WITH HEADER LINE,
           in_outtab TYPE ty_outtab  OCCURS,
           lw_outtab TYPE ty_outtab.
    Logic to fill in_itab.
        MOVE CORRESPONDING VBAK TO in_itab.
        APPEND in_itab.
    After this filling logic do your trick
      LOOP AT in_itab.
        lw_outtab = in_itab.
        APPEND lw_outtab TO in_outtab.
      ENDLOOP.
    And afterwards download it
    Hope this sample will help you along.
    Regards,
    Rob.

  • Xml file in application server

    Experts,
    I'm using a a simple tranformation and "open dataset" statement in order to write a xml file in application server: This is working fine.
    i notice that when i preview the file in transaction "AL11" , it shows like " <tag> <tag> <tag> <tag> ......
    The encoding of this file is 'utf-8'.
    I did another test that was writing, trouht transaction CG3Z, a xml file in encoding 'ISO-8859-15'. When a preview the file in AL11 is shows like :
    <tag>
    <tag>
    <tag>
    <tag>
    The change in the preview is due to the codification ? Or is regarding that way we write the file to the server ?
    Best regards,
    MR.

    Hello,
    Change is because of the encoding style changed from utf-8 to 'ISO-8859-15'.
    May be you can try changing this manualy in XML file and see the output result.
    Thanks,
    Augustin.

  • Issue: XML File Downloading to Application Server

    Hi All,
    I am experiencing an issue downloading an XML File to the Application Server.
    I'm using FM SAP_CONVERT_TO_XML_FORMAT to convert SAP data to XML Format.
    After getting the XML data into XMLTAB, I'm using:
    OPEN DATASET pfile_fs FOR OUTPUT IN BINARY MODE .
         LOOP AT xmltab INTO xmltab_w.
         TRANSFER xmltab_w TO pfile_fs.
          CLEAR xmltab_w.
         ENDLOOP.
       CLOSE DATASET pfile_fs.
    The xml file is downloaded show an Error in '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.
    Invalid at the top level of the document. Error processing resource 'file:/shared/TEST/2009'
    But when i download xml file using the FM  WS_Download , the XML page has no errors .
    I am unable to figure out what could be the issue, If this issue is due to some characters like Chinese or Japanese then .. is there any solution for this .
    Please, give me your valuable suggestions.
    Thank you,
    Prasead

    Dear Prasead,
            Hope things are good at your end, i have got the same issue as well, could you please care to share the solution...Wud be of a gr8 help if you could do that, hope to have your response back.
    Regards,
    Abdul.

Maybe you are looking for

  • Xcelsius 4.5 issue using QAAWS and Tomcat

    Hello, We have this issue where the dashboards do not display any data when opened. They are set to refresh on open. Only after the Tomcat webserver is restarted, then do they display data. But this keeps happenning often and intermitently. We do not

  • Japanese Characters in Oracle BI Publisher

    We are using Oracle BI Publisher(10.1.3.4). We have a report in Japanese. The output of the report is in HTML and is getting displayed properly. When we send it as a mail using either schedule button or send button, the japanese text is not getting d

  • Can't Open My AppleWorks Document!!!

    I created an apple works word document, and I had prevously saved it. After I spell checked it, it wouldn't let me save. I figured that I would just close it, then open it again, and see if that would do anything. When I went to open it again, it wou

  • How do I erase genius playlist from iPhone?

    Since I upgraded my IPhone to iOS7, several Genius Playlists randomly appeared on my device. I have ITunes match off. I have disabled Genius on ITunes, and synced my device without success. There are 13 empty playlist on my iPhone and I just wish to

  • HP8500a won't print yellow or blue

    My printer was working fine and in the middle of a job all of a sudden stopped putting any ink on the paper.  I assumed it was out of ink and replaced the black ink, cleaned the print head, and aligned.  Then the printer said it was out of blue and y