Issue in smartform with Chinese logon

Hello all,
I'm facing a strange issue in smartform with chinese logon in Quality server.
In quality server mail generates JUNK values in place of chinese texts in SOST.
In development server its working fine.
I checked through debugging in OTFDATA structure its taking Courier font by default.
While in my development server in ZH logon its taking CNSONG font.
                                                                                1     //        |XSAPWIN      046C 00000000001                                <
    2     IN        |041 form_name<
    3     IN        |05HDR_PAGE                                                     <
    4     OP        |DINA4   P 144  240 1683811906000010000100000                   <
    5     IN        |06%WINDOW9                                                     <
    6     MT        |0447102791                                                     <
    7     CP        |840000001                                                      <
    8     FC        |COURIER 095X 00114 SF001SF0118400001141 X                      <
    9     UL        | +0000000000000                                                <
   10     CT        |00000000                                                       <
Can some please help me to solve this issue.
Thanks in advance.
regards,
Lokesh

Hello,
Please follow the rules to output PDF correctly for ZF/ZH language:
(1) workprocess need run under
       ZF/ZH language   (logon with ZF/ZH or switch by set locale)
       codepage 8300/8400 (or compatible codepages)
(2) SAPScript need include ZF/ZH version. Please verify by:
       Go SE71->input SAPScript name, language key ZF/ZH -> display
(3) SAPScript need assign Chinese font for paragraph used to output
     Chinese character
(4) SAPScript need open with ZF/ZH language(OPEN_FORM with ZF/ZH language)
Regards,
David

Similar Messages

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • Chinese char issue in smartform preview as pdf format

    Hi chinese guy!!
    please help me with chinese char in smartform preview as pdf format
    i created smartform with chinese char and then when executing this smartform by t-code smartforms, it show as simplified chinese char, but when getting JOB_OUTPUT_INFO in order to convert OTF as pdf format, although smartforms performed as pdf format, only chinese char were broken. smartform with english or korean language does not have any issue, only chinese issue now.
    i got into r/3 as logon ZH by SAP GUI english version  and i used adobe acrobat reader chinese simplifed version. r/3 version is ecc60 unicode system***
    please help me,, any chinese guy there?
    1.  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    2.    CONTORL_PARAMETERS-NO_DIALOG = 'X'.
           CONTORL_PARAMETERS-GETOTF = 'X'.
           OUTPUT_OPTIONS-TDNOPREV = 'X'.
           CLEAR JOB_OUTPUT_INFO.
    3.    
    CALL FUNCTION FUNCTION
        EXPORTING
          CONTROL_PARAMETERS = CONTORL_PARAMETERS
          OUTPUT_OPTIONS     = OUTPUT_OPTIONS
        IMPORTING
          JOB_OUTPUT_INFO    = JOB_OUTPUT_INFO
        TABLES
          ITEM               = ITEM
        EXCEPTIONS
          FORMATTING_ERROR   = 1
          INTERNAL_ERROR     = 2
          SEND_ERROR         = 3
          USER_CANCELED      = 4.
      OTF_TAB[] = JOB_OUTPUT_INFO-OTFDATA[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE
        TABLES
          OTF                   = OTF_TAB
          LINES                 = PDF_TABLE
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.

    hi,
    please see the notes 999712.
    thanks

  • GUI Download Issue with Chinese characters

    Hello,
    Currently we are upgrading from 4.7 to ECC. I'm using GUI_DOWNLOAD
    function module to download the data from SAP to desktop. I do have an
    issue with Chinese characters while downloading the file from SAP to ECC.
    In 4.7 the Chinese characters are being downloaded (I haven't used any
    code page) perfectly, but where as in ECC the downloaded file has junk
    characters instead of Chinese.
    Is there any change in the GUI_UPLOAD FM.
    For your reference below is the code present in the program
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
        EXPORTING
          FILENAME             = Z_FILENAME
    *****DCDK900543 - Begin of fixing for Unicode conversion ****
         FILETYPE             = 'WK1'
          FILETYPE             = 'ASC'
          WRITE_FIELD_SEPARATOR = ABAP_TRUE
    *****DCDK900543 - End of fixing for Unicode conversion ****
        CHANGING
          DATA_TAB             = I_TAB_TMP
        EXCEPTIONS
          FILE_WRITE_ERROR     = 1
          NO_BATCH             = 2
          INVALID_TYPE         = 3
          UNKNOWN_ERROR        = 4
          OTHERS               = 5.
    Regards,
    Bharath.

    Hi bharat,
    please check whether you ecc 6.0 is uni coded or not (as you upgraded).
    If it is not uni coded then you will not be able to print the Chinese characters.
    You can see whether it is uni coded or not by the following
    in your app toolbar under system click on status.
    There you can see whether your ecc6.0 is uni coded or not.
    Regards,
    koolspy.

  • Issue with Chinese Translations not picked up in Extended Notifications

    All Gurus,
    We are on ECC 6.0 with the below settings.
    SAP_BASIS     700     0015     SAPKB70015     SAP Basis Component
    SAP_ABA     700     0015     SAPKA70015     Cross-Application Component
    We have been using Extended Notifications for quite some time and it's working fine in EN. We now are working on generating the Outlook mails in Chinese Language. In these, there are some std. SAP texts (as mentioned in "General Settings" in transaction SWNCONFIG) are not getting picked up even though the corresponding Chinese translation exists. Specifically, the EN text
    "The following new work items require processing XXXXXXXX" corresponds to Dialog text "SWN_PROLOG_MULTI" maintained for parameter "TEXT_PROLOG_MULTI" in General settings.
    When the Outlook mail is generated in Chinese, the corresponding Chinese text is not getting picked up and says "Text Not Found". Similar issue existed for some other Dialog texts maintained for parameters "TEXT_GOTO_WI" and "TEXT_CONTACT_ADMIN" for which SAP suggested new Notes 1661893 and 1661894. For these texts, once Chinese text is maintained in SE63, its getting picked up in the Outlook mail.
    Has anybody faced similar issue with Chinese translations in Extend.Notif ? If yes, please let me know how to fix this issue.
    Also, anybody knows the message / Dialog text # for the text "Execute Work item.SAP" in the Link that is attached to the Outlook mail ?. Please tell me how to maintain the Chinese text for this EN text.
    Timely reply is really appreciated.
    Thanks in advance & Regards,
    venu

    All,
    SAP provided the translations in the Notes 1675156 & 1675157 and it resolved both the issues mentioned. Also, the "Execute Work Item.SAP" link is picked up from the Text Elements of the class "CL_SWN_NOTIF_WORKFLOW".
    As the issue is resolved, i'm closing this thread.
    Thanks
    venu

  • Issue with Chinese language in DI

    Hi all,
    My source is AS400 with CCSID=935, my target is Oracle with AL16UTF16. I migrate data from source (in Chinese language) to target by DI version 3.0. I used Client Access ODBC driver to connect to AS400.
    It run well. But data is not correct, it can't show in Web Intelligence report, they are only square symbol. It's just got issue with Chinese language, for English, it' fine.
    I also tried to set code page of source to shift_jis and target to utf8. But it still got the same result.
    I don't know anything I need to set. Please help me to fix this.
    Thanks so much,
    Anh

    Yes. I changed the datastore to default.
    I used both method: ODBC driver and IBM iseries access to connect to AS400. ODBC is the same in BODI. In universe, I used default, I can see data. But in BODI, I can't.
    My machine is BOE client software. But I created universe in my machine, export it. And then from my machine, I created WI report, also export to CMS. And then I view it in ViewInfo. Everything runs well for both connections.
    But in BODI, I use it to migrate data to Oracle. I can't see data in DataView of Designer too. Although, I changed locale, set codepage to default as you told, it didn't work.
    Any suggestions please.
    Anh
    Edited by: Anh Phan on Mar 30, 2010 4:45 AM

  • Issue with chinese description for Customer master

    Dear All,
    In customer master there are few records with chinese characters. Now interesting thing is that sort field, street city etc are showning correct values in chinese characters but for medium description it is showing "#" .
    Why it is not showing chinese characters in only medium description field?
    Regards,
    SS

    Hi,
    Please check the language for the medium descritption field in the infoObject master data for the particular entry.
    Are there multiple languages maintained? what are the medium description texts against those?
    This can help to isolate the issue.
    Hope this helps!
    Regards,
    Saurabh

  • Problem when displaying smartform in chinese language

    Hi ,
    I have copied a standard smart form into Z smartform and added few fields in it  as per the requirement .
    When I display form in english or german it prints correctly .
    when I print it in Chinese it prints the workarea name which I am using to print the values of the fileds .
    it prints as below
    &wa_vbak-budat&
    please help , I tried changing the font type and size but it still shows the same.
    Regards,
    Gayatri Hemnur

    Hi Gouri,
    The first step for translation is that u have to change the regional settings in your computer. Or You should logon with Chinese language.
    If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
    Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
    BR
    Dep

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • PDF Report with chinese work fine in 9iDS but not in 9iAS

    I use oc4j in oracle 9iDS,it can display chinese no problem through set pdf font subset.
    However,when i deploy it to oracle 9i AS ,and i have set 9ias Report services according to oracle 9i DS's setting,it don't work fine with chinese in pdf report.
    it's urgent ,i must deploy my application soon.who can help me?Thanks in advance!

    David,
    it don't work fine with chinese in pdf report.Not sure whether you are able to generate the PDF or it has the charactres crumbled?
    For me. it is definitely seems to be a configuration issue.
    It is hard to help, as you haven't given enough information on your environment.
    Please check your setup for the entries for uifont.ali and your fonts in REPORTS_PATH.
    Please go through the PDF whitepaper in OTN.
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/pdfenh.htm
    You can mention your e-mail id so that I can contact you to understand and help
    Thanks
    The Oracle Reports Team

  • Smartform with Cyrillic characters

    I have a smartform with Russian characters that works fine when using the font courcyr, but when using timecyr I get '#' in place of the cyrillic characters. I have no problem using the timecyr with sapscript, but the only way I can print cyrillic characters in a smartform is with courcyr and I want to use timecyr. Do smartforms use a different set of fonts than sapscript? Any ideas?
    Thanks
    Craig

    The language of the sapscript might be russian and smartform is not translated to russian.
    If you are using message control for printing, make sure the output issued in the language you are trying to print.
    Regards
    Sridhar

  • Problems with Chinese characters

    I have a client experiencing 3 distinct problems with their Chinese-localized Fm files:
    The SimSun TTF font used in the source Fm files is "uninstalling" itself. This requires reinstallation of the font on a regular basis (every few days).
    The colons used in index markers in the Fm source files are not being parsed as Level1IX, Level2IX, etc. in the RoboHelp project. Instead, they are recognized as colons. In other words, the first level marker in Rh is XXXXXXXX:XXXXXXX:XXXXXXX. The same is true for the semicolons.
    The conversion settings for the Chinese project do not allow for mapping to individual CSS elements and classes. This means that all of the formatting is controlled via the supplemental CSS generated from the FrameMaker formatting. IOW, the formatting all uses the class="FM_ definitions.
    Has anyone had success working with Chinese characters in a FrameMaker to RoboHelp workflow (either linking or importing)?
    Anyone else seen any of these issues in Chinese or any other fonts?
    I'm thinking the first two issues are likely due to the TrueType font used, but can't find an Adobe OTF SimSans font to use as a replacement.
    However, the lack of mapping capability in the conversion process is a stumper...perhaps due to the double-byte font itself.
    Any thoughts or solutions are greatly appreciated by my client (whose deadline passed yesterday!)
    -Matt

    I dont think you can print chinese chars at the console on window
    to print the character codes to the console use someting like that
    char [] chars = request.getParameter("whatever").toCharArray()
    for(each chars){
    System.out.println((int)chars);
    then check if you got the corresponding chinese char

  • Problem with SAP logon 720 for printng with Citrix.

    Hi,
    I have a problem with sap logon 720 when printing for Citrix, one time print and other time don't print....
    I try to start SAPLPD for prompt comand... it's start but don't print....
    i'm write here for look if other people have this problem... I dont know what I can do.....
    Thank you very much....

    Hi Itmar,
    I was having the similar issue on my Windows Server 2003 Terminal Server. At times SAP prints stop working. Then i changed Printer Type to "G" and it had solved the problem. It skips the use of SAPLPD service and calling windows printing service directly.
    Just try with that.
    Regards,
    Gaurav

  • Zip.ZipInputStream cannot extract files with Chinese chars in name

    Dear friends,
    Peace b upon u!
    I am trying to read a zip file (~3000 files)containing one
    or more files with Chinese, Japanese or Korean names, the
    getNextEntry method throws an IllegalArgumentException as below after extracting just ~300 files as below:-
    java.lang.IllegalArgumentException
            at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
            at java.util.zip.ZipInputStream.readLOC(Unknown Source)
            at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
            at testZipFiles.getZipFiles(testZipFiles.java:65)
            at testZipFiles.main(testZipFiles.java:18) issue:java.util.zip.ZipInputStream cannot extract files with Chinese chars in name
    Category java:classes_util_jarzip
    Plz let me know 1 of the ways which I can solve this issue.
    1)if someone has JAVA DCOMPILER plz send the SOURCE Code
    for the ZipInputStream.class to me..I need to edit it using 1 of the solutions as provided below which I googled.
    2)If there is an alternate or upgraded java.util.zip.ZipInputStream or any org.apache.tools.zip.* package which can read such files..If yes where I can download the same on net.
    3)Any other easier solution, which can let me extract all files (by excluding Chinese files thru CATCH) without the extractor process to fail altogether.
    On net I found that the only solution with this is:-
    - edit the new ZipEntry, remove the static initializer that calls
    the native methods initIDs().
    this step seems a bit scary, but it's according to the
    workaround
    to bug #4244499 (the workaround of Olive64, THU JUN 05
    01:55 P.M. 2003),
    that handles a similar bug at the ZipOutputStream.
    Now you have a ZipInputStream that supports multi-bytes
    entry names.
    to extract the zip file, using the fixed code that is offered
    above,
    create a function that gets an "encoding" string, a "destPath"
    string
    and a "sourceFile" (zipped) and does :
    ZipInputStream zipinputstream = null;
    ZipEntry zipentry;
    zipinputstream = new ZipInputStream(new FileInputStream
    (sourceFile),encoding);
    zipentry = zipinputstream.getNextEntry();
    while (zipentry != null) { //for each entry to be extracted
        String entryName = zipentry.getName();
        int n;
        FileOutputStream fileoutputstream = new FileOutputStream
    ( destPath + entryName );
        while ((n = zipinputstream.read(buf, 0, 1024)) > -1)
            fileoutputstream.write(buf, 0, n);
        fileoutputstream.close();
        zipinputstream.closeEntry();
        zipentry = zipinputstream.getNextEntry();
    }//while
    zipinputstream.close();

    Hi friend,
    We'd better to ask one question in each thread. If you have another issue, you can consider to open up a new thread in this forum.
    Now for the first question, do you mean this picture? It throws access exception in archive2.
    If so , because your extractPath is a path, not a directory.You should add +"xxx.zip". For more information, please refer to
    ZipFile.Open
    Method (String, ZipArchiveMode).
    For the second question, you can use the following code to skip the error message.
    while (true)
    try
    //do something;
    catch (Exception ex)
    { continue; }
    Good day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Total pages printed issue in Smartforms

    Hi,
    I have small issues in Smartforms,
    I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
    If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
    In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
    Please guide me about this issue.
    Thanks.
    VJ.

    Hi Florian,
    Thanks for your response and O/P management info.
    My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
    Code Ref:
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname_s
        IMPORTING
          fm_name            = lf_fm_name_s
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.
      CALL FUNCTION lf_fm_name_s
        EXPORTING
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          user_settings      = ' '
          v_file_name        = v_smart_name
         t_t_processed      = t_t_processed                             " for total processed
          t_check_amount     = t_check_amount_t
          t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
    IMPORTING
          job_output_options = v_output_options
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
    Thanks in advance,..

Maybe you are looking for

  • "Previous" button suggestion.

    (Yes, I will post this in the 'official' suggestions form... just thought that I would mention it here also.) Since we often work in studio, the photos tend to develop similarly, but not exactly the same. The photos tend to 'trend' in one direction,

  • Random Error in Batch Processing

    Hi All, I have a batch process that reads records from DB, pass them to Mediator which calls a BPEL process. During a huge batch processing of 10000 records, we are getting errors in random fashion as under. This error is not specific to a particular

  • Require a Number Format Mask to show leading zeros on decimals

    Hi, My users are complaining about the decimal point not being very clear when fractional numbers are shown. I need a format mask to show a leading zero for numbers between 0 and 1 (eg. 0.5) but not have a trailing point after whole integers. by exam

  • Unable to installing KMC on Portal 6

    Hi, i currently try to install KMC from the DVD Pack SR1 on SAP EP 6 SR1 which run with SQL Server 2000 and Windows 2K3. I have launch the analyzer to see if everything goes fine, all item are correctly used & configured. But at the installation of t

  • Accessing pictures from Verizon Droid Charge

    My phone was stolen a few weeks ago. All of my children's recent pictures are on that phone and that is the only reason I have not yet cut the phone off. The person who has stolen the phone cannot get passed my password so they cannot run my bill, ho