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

text file problem

Former Member
0 Likes
836

hi,

i downloaded a txt file from 3rd party software and upload to sap.

on first line, you will see unsupported character at the begining of the line

:20:070511

it should actually be :20:070511.

this character only can be seen in debug mode. i tried to delete the line and type in manually in the txt file and reupload to sap;

change from ws_upload to gui_upload;

notepad save as utf-8 also cannot.

when i open the text file in word, word asking for file conversion.

when i select encoding unicode (utf-7) then i can see the unsupported character.

when i select encoding unicode(utf-8) then unsupported code not showing.

my notepad only support UTF-8 which is why not able to see.

may i know what i can do so that i able to remove the unsupported code before upload to sap.

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
698

Hi,

Try this. let say your file name is test.txt. you have placed the file in 😧 drive.

Goto command prompt. (run-->type cmd).

goto the 😧 drive (type d:)

Type EDIT TEST.TXT

you will get an editor. you can see the special characters. delete the uncessary characters.

Then select save from file menu. then exit the editor.

Now try to upload the program

Reward points if usefull.

Regards,

Niyaz

Read only

0 Likes
698

hi,

thanks and point given.

may i know why the unsupported code is there?

what could be the reason to have the unsupported code being created there?

how to avoid ?

thanks

Read only

0 Likes
698

well, these characters are called Junk characters. usually when you try to copy/convert a text from a font to different font, this problem will occur.

Since you have used third party software, i am not sure what you have did actually.

My opinion will be, if you try to copy some text from a source to another source which has different font, you will face this problm.

P.S: Please mark this question as solved.

Regards,

Niyaz