05-29-2013 2:45 AM
Hi,
I am using SAP 4.6c and SAP GUI 7.2. Currently I have a requirement to upload the material master data into SAP system using LSMW.
I faced an issue when the material description is in Chines the input file is UTF-8 format. After I read data, I display the read data I see that the value for material description is not correct.
I tried to load the same file in SAP ECC6 system, it works perfectly. Therefore, I am searching for sap notes to fix the issues but still don't find any note yet.
So I really need your help to point out what's exactly the issue is and any suggestion to fix this issues.
Thank you so much in advance.
Hung
05-29-2013 8:09 AM
What is your input file? is a text file on your local PC?
or is it in a directory on the application server?
How was it created?
What definition do you have in LSMW step Specify files?
05-29-2013 9:48 AM
Hi Jurgen,
My input is tab delimited text format(UTF - 8). It's on my local PC.
I created it manually based on the data users sent to me.
in the step "Specify files", I define as below:
- Legacy data --> On the PC (frontend)
- browse to the file on my PC
- File contents: Data for one source structure (table)
- Separator: Tabular
- Codepage: ASCII
I can load the file to ECC 6.0 without any issues. But in 4.6c I see the data is not correct when I choose display read data for Chinese character.
Thanks,
Hung
05-29-2013 1:09 PM
Is your 46c a Unicode or MDMP system?
If it is an MDMP system, then you should login with the chinese language and execute your LSMW
However, I remember cases (from log ago) where chinese characters e.g. in the incoterm 2 field caused that all content after that field got wrongly shifted by some places. (my legacy data was in IDOCs). I had a report provided by SAP support to correct this.
05-30-2013 1:54 AM
Frankly speaking, I don't know if my 4.6c is Unicode or MDMP.
However, I tried to log on the system with Chinese language and I can see the text in Chinese but it's not the character in the file plus there are some unexpected characters like dot( . ) or '#'.
I am searching for a SAP notes to fix this issue but not yet find any suitable one.
I also did debugging and see that in 4.6c the system use FM 'WS_UPLOAD' to load the file from my PC to the system while in ECC 6.0 the system use FM 'GUI_UPLOAD' to do the same thing.
If you know any solutions please keep me posted!
09-02-2013 1:03 PM
Hi Hung,
4.6c systems do not support Unicode.
Therefore I think you need to provide the Chinese data based on Non-Unicode (SAP code page 8400).
And in addition you need to logon with language Chinese for uploading the data.
Best regards,
Nils Buerckel
09-05-2013 5:55 AM
Hi Nils,
Yes, the root cause is that 4.6c doesn't support Unicode.
Therefore, I would suggest users to use Non-Unicode format to upload data.
Thanks,