title: GUI_UPLOAD uploads extra null bytes at the end
body: <p>I'm using gui_upload to attach a file to email. Gui_upload fills the internal table in hex format. But, always, the last record of internal table is filled with zero '0' until it fits its length. </p>
  
  <p>Think that this is the internal table <strong>(t_mailhex)</strong>;</p>
  
  <p>85020E0368CEE8AEFF98BEF9100800880C2D773CAEEF95C63
  5005151AC1FEB1228FBB1F4C68D715468E0934AB24B8799A7
  A2B67D3456A8B370FF12578966738CC7805D088A0BAD81DD3
  86941AE43776E4F255FF1ED461FE0D9702F596EE0CBD89C2E
  492A27EF90500000000000000000000000000000000000000</p>
  
  <p>Like this. The last record has ending zeros. So the file that I attach is not the file I want. It has some weird null character in the place of that zeros.</p>
  
  <p>And that is the function.  </p>
  
  <pre><code>DATA: t_mailhex   TYPE STANDARD TABLE OF solix.
  
  CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = l_file
        filetype                = 'BIN'
      TABLES
        data_tab                = t_mailhex
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
  </code></pre>
  
  <p>Should a remove those zeros manually or am I missing something using the function ?</p>