10-11-2007 3:01 PM
hi,
i downloaded a txt file from 3rd party software and upload to sap. all country are ok except 1 country.
in 1 of the line, there is a 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 but the character still there.
what could be the cause and how to do away with it?
thanks
10-11-2007 4:12 PM
Hi
Just check the length of the variable. If you try to move contents larger in size than the variable length, then '*' will come as first character. Maybe this could be a reason. I would suggest that you push the offset exactly the same number of characters the variable can hold.
Regards
Navneet
10-11-2007 4:59 PM
hi,
no issue to the length of variable. as i said, all other country have no problem but only this particular country.
i try to delete and type in manually in the text file and upload to sap again but in debug mode still shows the character.
thx
10-12-2007 7:23 AM
Hi,
Open the file in Notepad & click on SAVE AS
Select encoding as Unicode or UTF-8 and then upload the file.
In GUI_UPLOAD use the appropriate Code page specific to that country.
Best regards,
Prashant
10-12-2007 7:46 AM
hi,
i try Unicode or UTF-8 but also cannot.
i am using ws_upload. may i know what do you mean appropriate code page?
thanks
10-12-2007 7:53 AM
Hi,
If possible, please use GUI_UPLOAD, if its available on your system.
CODE PAGE helps identify SAP, which Texts/characters its dealing with.
Each country has different code page.
Chinense say 1100
Best regards,
Prashant
10-12-2007 8:09 AM
hi,
i change to gui_upload but i got short dump of type conflict when calling a fm.
the problem due to file has a different field type.
why like that? ws_upload has no problem on this.
also, how to define the code page? its not in the parameter. i saw it in the fm.
thanks