Skip to Content
0
Former Member
Jan 10, 2008 at 08:59 PM

'GUI_UPLOAD' - Junk values - Issue

1691 Views

Hi Experts,

Am uploading (some piece of) VBAK data into a Z_vbak_table by using FM,

file_name = p_file.

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

filename = file_name

filetype = 'ASC'

HAS_FIELD_SEPARATOR = 'X'

+ HEADER_LENGTH = 0+*

+ READ_BY_LINE = 'X'+*

+ DAT_MODE = ' '+*

+ CODEPAGE = ' '+*

+ IGNORE_CERR = ABAP_TRUE+*

+ REPLACEMENT = '#'+*

+ CHECK_BOM = ' '+*

+ IMPORTING+*

+ FILELENGTH =+*

+ HEADER =+*

TABLES

data_tab = itab

EXCEPTIONS

So, issue is that, When am seeing in Debug mode, am getting the values like, ( I mean, problem is with VBELN & AUART fields with junk values???)

MANDT/ BUKRS/ SPBUP / VBELN / POSNR/AUART

100 |3000 |200801|ÐÏ#ࡱ#á##|000000|###

So, pls. let me know that, How to fix this issue i.e. problem is with VBELN & AUART fields with junk values???

Am guessing this is bcoz of Unicode, bcoz, I did not CHECKED the UNICODE CHECKS ACTIVE check box in GOTO-->ATTRIBUTES!!

thanq