Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

GUI_UPLOAD Function Module in 4.6C does not split into lines

Dear All,

I'm about to upload text file into SAP using the FM 'GUI_UPLOAD'.

Previously I've developed a test program to upload the same file in SAP v4.7

and it returns correctly into several lines as expected.




filename = l_filename

filetype = 'ASC'

has_field_separator = ' '

header_length = 0

read_by_line = 'X'


data_tab = gt_tabfile

As we can see, the 'read_by_line' parameter is already 'X'. gt_tabfile only consist of 1 string column.

But as I run the same code using the same parameter and file in SAP v4.6C

it returned only 1 line of very long string instead of the correct lines resulted in 4.7.

Is there anything to do with codepage (4.6 is English 1100, I forgot the codepage in 4.7 but i believe it's the same due to language selection is EN). Or anything to do with OSS Note?

Kindly help me to resolve the issue.

Appreciate it very much

Former Member
Not what you were looking for? View more on this topic or Ask a question