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

Problem while uploading data with GUI UPLOAD Function

Former Member
0 Likes
1,788

Hi,

I am facing problem while uploading data with FM GUI UPLOAD in out text file there are 7 row but after the FM GUI UPLOAD there are 14 entries are coming in Internal table and each alternate row is coming as blank with 0000 in some column in internal table first row is proper and second line is blank so on.

what can be the problem .

The program in which we are using this we are using it from last 2 year but we are facing problem today only.

regards,

zafar

10 REPLIES 10
Read only

Former Member
0 Likes
1,341

hi..

please check the data is properly tab delimited and space is maintained for the field which don't have any value.

Regards,

Lokeswari.

Read only

0 Likes
1,341

Hi,

Yes the data is properly tab and it is OK

regards,

zafar

Read only

0 Likes
1,341

Hi,

Can u help on this issue.

regards,

zafar

Read only

0 Likes
1,341

Hi Zafar,

If this program is being used for 2 years and only for your file it is behaving differently then you need to find out the correct format in which the input file should be.

Read only

0 Likes
1,341

Hi,

The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change in the file formate.

So waht can be the problem to check any inconsistancy in system i have develop a samll program fro uploading a text file with same function module , but it is working fine.

regards,

zafar

Read only

0 Likes
1,341

Sherlock Holmes: if there are really no changes in your system the file must be different from former times. maybe its in unicode now or the creation of the file has changed in particular with cr/lf bytes or whatever.

If the file did not change your system must be different from former times.

Read only

0 Likes
1,341

Hi Zafar,

A file you are Uploading is txt file or Excel File ??

Edited by: NISHIT JOSHI on Mar 5, 2010 3:13 PM

Read only

0 Likes
1,341

You need to check the filetype in FM : GUI_UPLOAD and the text file is correctly formated or not

Read only

Former Member
0 Likes
1,341

Use the function module FILE_READ_AND_CONVERT_SAP_DATA. It works.

Read only

0 Likes
1,341

Not ans hence closed