Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUI_UPLOAD in ITS (WEB)

Former Member
0 Likes
1,912

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

1 ACCEPTED SOLUTION
Read only

former_member69765
Contributor
0 Likes
1,138

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.

5 REPLIES 5
Read only

former_member69765
Contributor
0 Likes
1,139

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.

Read only

Former Member
0 Likes
1,138

Thanks. I send mail to you , please help.

Read only

former_member69765
Contributor
0 Likes
1,138

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..

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982c...

Cheers

Varun

Read only

Former Member
0 Likes
1,138

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 .

Read only

Former Member
0 Likes
1,138

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