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 with GUI_UPLOAD FM

former_member209217
Active Contributor
0 Likes
816

Hi Experts,

I am using gui_upload fm for uploading file from presentation server .When its uploaded into an internal table character # is appended at the end of each line.Usually we encounter this type of issues in AL11 and a line feed character should be used for this.But i am not able to figure out the problem with this FM.Its working fine in 4.6C with ws_upload FM and giving # characters while using in ECC6.0.Also i am not able to open the file in presentation server to see what exactly it contains.Its going to contain Some exchange rates which i am unable to open.

Can anyone suggest me ?

Regards,

Lakshman.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
701

after uploading search for that line feed and replace it by space.

5 REPLIES 5
Read only

Former Member
0 Likes
701

Hi,

The problem is coming because GUI_UPLOAD Function module is unicode enables whereas WS_UPLOAD is not unicode enabled.

I think there are some other language special characters in the file which is causing the problem.

Can you check once.

Regards,

Subhashini

Read only

Former Member
0 Likes
702

after uploading search for that line feed and replace it by space.

Read only

0 Likes
701

Yes , probably i should go for that . Serach for # character and replacing it with space.

I am looking for any possiblilty other than this .

Regards,

Lakshman.

Read only

0 Likes
701

else

open the excel, before uploading remove the #s

but if your code itself can do.. then why to do this manual work

Read only

0 Likes
701

Yes boss we can do that one too ,

But just now i have come across a SAP OSS Note Note 1356033 - GUI_UPLOAD: END_OF_FILE (0x1A) READ AS NEW RECORD

I have to check whether its going to work or not and its valid for my SAP release. Just go thru it and check if you are free.

Regards,

Lakshman.