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

Former Member
0 Likes
602

Hi ,

I am uploading Tab delimited Text file with GUI_Upload to an internal table...

But in internal table # is coming for every - in my text file..

The rest of the field values are just fine..

What to do..??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
553

In gui_upload u have to mention that

import parameter - HAS_FIELD_SEPARATOR = 'X'.

4 REPLIES 4
Read only

Former Member
0 Likes
554

In gui_upload u have to mention that

import parameter - HAS_FIELD_SEPARATOR = 'X'.

Read only

Former Member
0 Likes
553

Hi Dhanu,

I think your text file has tab delimited that is tab seperator when you upload that file in to your internal table by using GUI_UPLOAD , you mention HAS_FIELD_SEPARATOR = 'X' for the export parameter in your program .

Note : Tab is non printable character in So it displays # in that place. In SAP if any non printable charactors then it displays ## in that place so use that parameter for overcoame your problem.

Plzz Reward if it is useful,

Mahi.

Edited by: Maheswari Chegu on Jan 2, 2008 2:05 PM

Read only

Former Member
0 Likes
553

Hi,

some times tab delimeter will look like '#', don't worry about it, try to split that record using tab seperator, it will work.

you can use the tab seperator class module for that.

tab seperator class module: ‘CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB’

Reward if useful.

Thanks,

Sreeram.

Read only

Former Member
0 Likes
553

these are the false entries thrown by the system when it is not able to understand the format.

you have already got an answer you just need to pass the parameter

has_field_separator = 'X'

tats it

thnkx

bhanu