UNICODE Problem when Download/Upload from ASC file.

Due to the Unicode system takes each Chinese character as a byte, the field(10) can take 10 Chinese Characters, not like before only 5 characters allowed.
The problem is when the data is downloaded to a txt file, the field ,length 10, contained Characters, is displayed 10 Chinese characters(that's 20 bytes in txt file). It causes the displayed field length are changed.
ex.
text = '12@@@@@00012345'.
text = text+0(12) --> display '12@@@@@' the output I actually want.
text = text+0(12) --> display '12@@@@@00012' Unicode makes this in txt file,
the Chinese characters cannot display properly, so just assume each '@' as a Chinese character.
How to make system take the Chinese characters as 2 bytes when download....or any other better idea for this?
anyone who can solve this, thanks in advance.

Hi Prashant and Uwe,
Thanks for your help. I used 'GUI_UPLOAD', but it still doesn't work.
'Text1' still equal to '12@@@@@00012' , not '12@@@@@'
My test problem as below:
data: l_file type string.
        text1(20) type c.
DATA: BEGIN OF T_FICH OCCURS 0,
         LIGNE(5000),
      END OF T_FICH.
  l_file = P_SOURCE.
  CALL FUNCTION 'GUI_UPLOAD'
       EXPORTING
            FILENAME            = l_file
           FILETYPE            = 'ASC'
           HAS_FIELD_SEPARATOR = 'X'
           Read_By_Line        = 'X'
            CODEPAGE            = '8400'
       TABLES
            DATA_TAB            = T_FICH
       EXCEPTIONS
            OTHERS              = 99.
LOOP AT T_FICH.
   text1 = T_FICH-LIGNE+0(12).
ENDLOOP.
Could you give me some advise about this?

Similar Messages

  • UNICODE Problem when Download to TXT/ASC file.

    Dear Experts,
    Due to the Unicode system takes each chinese character as a byte, the field(10) can take 10 Chinese Characters, not like before only 5 characters allowed.
    The problem is when the data is downloaded to a txt file, the field ,length 10, contained Characters, is displayed 10 chinese characters(that's 20 bytes in txt file). It causes the displayed field length are varied between the definition length of field and the actual output.
    ex.
    102’†•¶ŽšŒ^‘ª00012345       --> the output I actully want.
    102’†•¶ŽšŒ^‘ª     000012345  --> unicode makes this in txt file, lenth 10, fill 5 characters but still leave 5 space.
    How to make system take the chinese characters as 2 bytes when download....or any other better idea for this?
    anyone who can solve this, that's life saving..!!!
    thanks in advnace.

    Sorry, the chinese chararcters cannot display properly,
    so just assume each '@' as a chinese character. Five chinese Characters should occupy whole field length(10),
    but Unicode makes it like line 2, still leave 5 space culomn behind(using  to represent the empty column).
    ex.
    102@@@@@00012345      --> the output I actully want.
    102@@@@@000012345 -- the actual output.
    thanks.
    Message was edited by: Ching Heng Ling

  • Problems when downloading VSD or PPM file types

    Hi,
    when we try to download fiels from collaboration server, getting the SSL prompt when trying to download either VSD or PPM file types, all other open just fine.
    Did any comeacross such kind of problem and any workaround.
    Thanks,
    Ramesh

    I'm not sure you both have the same problem, but Mario's may be caused by this:
    When you open an Office doc (Word, Excel, probably others) via HTTP from the appropriate application, Office 2000 and later check to see if the HTTP URL is WebDAV enabled. When you close the document, it makes the WebDAV/HTTP request back to the server to see if it can write changes to the document back to the original. If you have Windows Auth or Basic enabled on the site (even if anonymous is also enabled), and you are not logged into the domain, it's likely that you will get the prompt).

  • Noise Ninja Problem when downloading images from Epson P-3000 hard drive

    I've just downloaded JPEG images from my Epson P-3000 hard drive and when I try to sharpen the images using Noise Ninja plug-in in Aperture I get the following error message: Editing Error. This image cannot be rendered for editing because Aperture does not support the image format. I don't have any issues using Noise Ninja with other images (using latest Aperture version) and this is the first time i've downloaded images from the Epson rather than my memory card. I'm wondering if the issue is related to the Epson. The metadata of the image in Aperture confirms that the image is a JPEG so I'm not sure what's going on.

    I've just downloaded JPEG images from my Epson P-3000 hard drive and when I try to sharpen the images using Noise Ninja plug-in in Aperture I get the following error message: Editing Error. This image cannot be rendered for editing because Aperture does not support the image format. I don't have any issues using Noise Ninja with other images (using latest Aperture version) and this is the first time i've downloaded images from the Epson rather than my memory card. I'm wondering if the issue is related to the Epson. The metadata of the image in Aperture confirms that the image is a JPEG so I'm not sure what's going on.

  • IE 6 giving the problems while downloading content from JSP File

    Hi,
    I am trying to download the file JSP, Blwo is the test code
    <%
    response.setContentType("application/csv");
    response.setHeader("Content-Disposition", "filename=commissionData.csv;");
    %>
    This     is     test
    This     is     test1
    This     is     test2
    When I try to load this file in IE 6, The error message comes like below
    "Internet Explorer cannot download MyJsp.jsp from localhost.
    Internet Explorer was not able to open this Internet site. The
    requested site is either unavailable or cannot be found. Please try
    again later."
    Can anyone help me in this regards.
    Thanks in advance
    Shailesh S Deshpande

    works fine for me on Tomcat 4.
    What server are you using?
    Is it running? Try restarting it.

  • McAfee Siteadvison 3.1 warns that FF 3.6.8 has problems when downloading directly from Mozilla

    FF 3.6.7 popped up a download msg telling me that 3.6.8 was avaliable to correct problems. The update seemed to go as expected, but when I opened the new version and went directly to Mozilla to download a copy of the program from there, McAfee's Siteadvisor 3.1 popped up a warning that the download contained suspicious content.
    == This happened ==
    Just once or twice
    == I downloaded FF 3.6.8 directly from the Mozilla web site

    Mary,
    See McAfee about an update for that extension.
    John,
    Probably a false positive, due to McAfee not being ready for the Firefox update. If they took the time to keep up with impending Firefox updates, they could avoid inconveniencing their customers.

  • Problem when downloading FaceTime from Appstore in Mac

    I get this message everytime i try to download it:
    "FaceTime can’t be installed on “Macintosh HD” because the version of Mac OS X is too new."

    Looks like you are looping back on DNS with the router. The ADSL modem should
    only have DNS entries for the ISP, not the router. The routers WAN interface should get the ISPs DNS Servers, but should not use itself as this will also create another loopback.

  • TS5179 I've been bitten by the "Missing MSVCR.dll file" problem when downloading the latest iTunes update (PC w/ Win-7 & Outlook-2007#. 'Have followed Apple's instructions of un-installing all Apple software, and re-installing it. #out of space...??)

    I've been bitten by the "Missing MSVCR.dll file" problem when downloading the latest iTunes update, 11.4.62 (on a PC w/ Win-7 & Outlook-2007#. 'Have followed Apple's instructions of un-installing all Apple software, and re-installing it (Ugh).  First result Outlook couldn't find my 1,385 item contact file in iCloud, although the outlook distribution lists were there.  Second result, upon installing iCloud again, I have two iCloud contact files shown in outlook - "iCloud" & iCloud, within iCloud".  1,332 & 1,385 contacts respectively. 
    Plus an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  This is NOT fun at 72-yrs old...!!
    So, how do I make sure I haven't lost anythying from Outlook?   Russ-AZ

    Interesting response, Kappy  -  Back to original post: "First result: Outlook couldn't find my 1,385 item contact file in iCloud, although the outlook distribution lists were there (therefore, initially I had lost my contact file from Outlook).  Second result, upon installing iCloud again, I now have two iCloud contact files shown in Outlook - "iCloud" & iCloud, within iCloud".  W/ 1,332 & 1,385 contacts respectively.  
    Plus an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  This is NOT fun at 72-yrs old...!!
    So, how do I make sure I haven't lost anythying from Outlook?   Russ-AZ"
    You can safely assume that I have tried using it!   So, to make things a little clearer:
         1)  I now have two iCloud "contacts files", w/ a different total count. What's the difference?  Why the different toatl count?
         2)  Since re-installing the Apple software (part of the MSVCR" recovery instructions) "couldn't possible affected Outlook", why am I getting an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  What's in those files? And where are they?
    Probably more important questions get down to:
         3)  Why is a basic Apple product upgrade "screwing-up Outlook"?  This iTunes upgrade, failing to install properly forced Outlook 2007 into a 2-min start-up cycle.  Which was fixed with this "Goat-Rpdeo" of re-installing MSVCR80.dll.
         4)  And under the latest release of iOS-7.0.4 on our iPhones, why is Apple now forcing us to use the iCloud to back-up our contacts, calendars & tasks, vs. allowing these files to be backed-up directly on our PC's via the USB cable?
    Thanks again for your interest and comments.  - Russ-AZ

  • I am facing the problem on downloading apps from Mac App Store, when I try to install the application from App store, I am getting an error message "Status_Code_Error" while click on "Login"

    I am facing the problem on downloading apps from Mac App Store, when I try to install the application from App store, I am getting an error message "Status_Code_Error" while click on "Login"

    Same problem here in Brazil.
    It seems to be a problem with logging in App Store in the Mac (Yosemite 10.10.2).
    When I tried the very same userid and password I was able to login in to use my iCloud account from the same computer and also from my iPhone.

  • Windows 8.1 account limit problem when downloading from store

    windows 8.1 account limit problem when downloading from store        
    I have 250 windows 8.1 tablets.
    I figured since you can use the same account on 81 devices id create 4 accounts.
    I need to download more than 25 free apps from the store
    on each tablet. Putting the same account don't work. (comes up with an error after putting on to many devices that you cant use this account now).
    Whats the best way to do this ? and what if I need to download a paid app ?
    Thank You.

    Hi,
    As far as I know, One Microsoft Account may bound at most five Trusted computers. There is no way to break this limitation.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    As you can see below, when I right click, I have no such option.  In the User Account Settings, I'm operating as the "System Administrator".
    Any other suggestions?

  • In dreamweaver mx 2004 and dreamweaver cs4, how I configure, when download/upload do not ask me to include DEPENDED FILES but act without including ?

    in dreamweaver mx 2004 and dreamweaver cs4, how I configure, when download/upload do not ask me to include DEPENDED FILES but act without including ?

    Open the Preferences panel (Edit menu on Windows, Dreamweaver menu on a Mac), and select the Site category. There are two checkboxes there for dependent files. Make sure both are selected. The Dreamweaver default is NOT to upload/download dependent files. You need to click Yes, if you want the dependent files to be included.

  • Problem when I upload to FTP Host from muse

    I am having a problem when I upload to FTP Host from muse, it stops at a random % of the process without any warnings, I have been posting from the same computer to the same ftp address and never had any problem before, please help me if you can.
    Thanks

    Hello,
    Please contact the host and have them reset your FTP permissions. Take a look at this related thread: http://forums.adobe.com/message/5082790#5082790
    Hope this helps.
    Cheers
    Parikshit

  • Error in running Extract Definition Upload from Data File concurrent.

    Hi all,
    Am trying to upload the 834 Extract Layout from the data file by running the concurrent program, Extract Definition Upload from Data File.
    After running this concurrent program am getting the Extract Layout definition with Record layout and Data elements within it.
    But some record layouts has the changes at their repeating level in that.
    Please suggest me how do i get the same repeating levels for the record layouts when i move the 834 benefit extract layout definition
    from one instance to another instance.

    Hi,
    We have exactly the same error in IBolt. This error happens sometime and we don't find the reason.
    IBolt has been upgraded to Version 3.1 SP1 and a fix has been developed by the support. After installation, we've work hardly during 2 days for testing all the flows by the customer without having this error.
    Ibolt works as a service and when this error occurs, the service stopped and must be restarted.
    In our flows, we have put a delete of the observer.dll file just before the rest of the flow but it doesn't solve the problem.
    Deleting the directory can be temporarly a solution but the error come back another day.
    Each time the SBO client or DTW is started, the %temp%\SMS_OBJ_DLL directory is created...
    When you just delete the observer.dll file and leave the rest of the directory like it is, the file is re-created when you start and log to SBO. I would say that this file is a copy of another file observer_800178.dll (800178 depending of the version of SBO yoi have). 800178 corresponds to SBO 2007 A PL 42.
    Do you have more information since your post has been send ?
    Thanks in advance for your help.
    Best regards.

  • Why can I not print out a pdf-file (train ticket NS) when downloaded with Firefox? (file says (SECURED)

    When ordering and paying a train ticket by internet they send a pdf-file, which one must download and print. When downloading this with Firefox (from my e-mail account) the pdf-file says (SECURED) and I cannot print out the ticket (pdf-file). (Adobe program stops automatically).
    When downloading this same pdf-file in Safari, I encounter no problems.

    Current Firefox versions have enabled a built-in PDF Viewer that doesn't have all features that other PDF readers like the Adobe Reader have or may not function properly otherwise.
    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use the Adobe Reader application or set to "Always Ask" in "Firefox > Preferences > Applications".
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them

Maybe you are looking for