XML at GUI_UPLOAD function ABAP

0
   DATA: gt_xml    TYPE swxmlcont.
    MOVE path TO v_filename.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename    = v_filename
        filetype    = 'BIN'                                 "#EC NOTEXT
*       replacement = '#'
      IMPORTING
        filelength  = totalsize
      TABLES
        data_tab    =  gt_xml 
      EXCEPTIONS
        OTHERS      = 11.

This functions returns the table filled, but half of it is wrong, purely numbers and letters and the other half is correct. I already tried changing the codepage 20 times and it does not help.

Any advice?

    
asked by anonymous 09.08.2018 / 17:14

0 answers