2008 Aug 13 11:25 AM
I use the FM 'gui_upload' upload data to internal table use ITS(WEB) GUI , the data can't correctly assign to internal table field , But use SAP GUI , it can . See attacehd file .
Source code as below:
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = text_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
READ_BY_LINE = 'X'
CODEPAGE = 'ASC'
REPLACEMENT = '#'
TABLES
DATA_TAB = itab_upload
2008 Aug 13 11:54 AM
Hi..
Your question is not very clear to me...
But, May be this will help you ..
http://www.abaplearning.com/index.php?option=com_fireboard&Itemid=2&func=view&id=3&catid=2
Cheers.
I use the FM 'gui_upload' upload data to internal table use ITS(WEB) GUI , the data can't correctly assign to internal table field , But use SAP GUI , it can . See attacehd file .
Source code as below:
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = text_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
READ_BY_LINE = 'X'
CODEPAGE = 'ASC'
REPLACEMENT = '#'
TABLES
DATA_TAB = itab_upload
2008 Aug 13 11:54 AM
Hi..
Your question is not very clear to me...
But, May be this will help you ..
http://www.abaplearning.com/index.php?option=com_fireboard&Itemid=2&func=view&id=3&catid=2
Cheers.
2008 Aug 14 7:52 AM
2008 Aug 14 8:01 AM
Hi...
Tricky one I must say ...
What I understand is that you have a Web GUI (may be a Web Dynpro).
To upload a file from WebDynpro GUI you will need to use the file upload control.
This link might help you..
Cheers
Varun
2008 Aug 14 10:32 AM
Sorry, Due to my english too bad, don't describe clear. We use SAP GUI for HTML access SAP , SAP ITS(SAP Internet Transaction Server .
2008 Aug 26 3:46 AM
apply below note can solve:
561907 File read incorrectly when uploaded in SAP GUI for HTML
761826 ITS Up/download: upload of tab separated files incorrectly