Skip to Content
-4

PROBLEM WITH FM GUI_UPLOAD

THIS IS THE OUTPUT OF FM GUI_UPLOAD:

WHY THIS ERROR?

THANKS

gui-upload.png (32.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 05, 2019 at 09:59 AM
    -1

    check your CODEPAGE parameter, should be Unicode (codepage = 4110?) for most cases.

    Add a comment
    10|10000 characters needed characters exceeded

    • NOT WORKING, I HAVE TRY WITH CODEPAGE= '4110' AND '4103'

      THIS IS MY FM:

      CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
      filename = lv_dir
      FILETYPE = 'ASC'
      * HAS_FIELD_SEPARATOR = ' '
      * HEADER_LENGTH = 0
      * READ_BY_LINE = 'X'
      * DAT_MODE = ' '
      CODEPAGE = '4110'
      * IGNORE_CERR = ABAP_TRUE
      * REPLACEMENT = '#'
      * CHECK_BOM = ' '
      * VIRUS_SCAN_PROFILE =
      * NO_AUTH_CHECK = ' '
      * IMPORTING
      * FILELENGTH =
      * HEADER =
      tables
      data_tab = GT_OUT
      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.