PDF conversion for chineese characters in Unicode system

I am facing a problem while converting the SAP Script Output to PDF format for Chinese characters. 
I am working on ECC (5.0) Unicode system.
Scenario:
After saving a Purchase Order an E-mail is sent to the customer - attaching the
PO output in PDF format.  E-mail was received successfully by the receiver, but while opening the pdf all the chinese characters were displayed in junk characters in the pdf. All the English characters are properly displayed.  I tried to open the pdf file in Acrobat Reader versions 6.0, 7.0, 8.0. but no result.  I used CONVERT_OTF function module for converting the OTF format to PDF format. I tried using the fonts CNSONG also.
I tried by executing the standard program RSTXPDFT4 for converting to PDF by giving the spool.  In the spool it is showing the Chinese characters perfectly but in the PDF the Chinese characters were were showing as Junk.
Can you please help and advice to see the Chinese characters in PDF in Unicode systems.
Thanks in advance.

>
Juraj Danko wrote:
> Hi,
> I have similar problem than you ... how have you solved it?
> thanks
> Juraj
I found a solution, but I am not sure, if it was for this problem or
output problem with for example PL in non-unicode systems.
I created the input for CONVERT_OTF with CALL FUNCTION 'PRINT_TEXT'.
PRINT_TEXT has to be called with DEVICE = 'PRINTER',
DEVICE = 'ABAP' uses internally the wrong code page.
You have also to set otf_options-tdprinter to a valid printer,
if it is empty, the default printer from user settings is used.
You can use code example from SAP note 413295.
Before you call CONVERT_OTF, you can also check entries with 'FC' in OTF input.
The font (see description of OTF format in SAP help) must be set like described in SAP note 144718.
/Tibor
Edited by: Tibor Gerke on Jan 13, 2011 10:29 AM

Similar Messages

  • Sending PDF + Excel as Email attachments in Unicode System

    Hi,
    I have a problem in sending mails having 2 attachments. one with PDF and another Excel. I use SO_DOCUMENT_SEND_API1 by populating contents_bin table. PDF attachment is fine (PDF is created from spool), but excel attachment fails to open correctly. I refered note 1151258, but not successfull.
    When I tried using contents_hex as suggested in report SENDLIST, the PDF attachment is corrupted.
    The above method works fine in non-unicode system. But not in a unicode system. 
    In short I want to send two attachments (one PDF by reading spool and second excel by using an interanl table) in a mail. Any ideas & suggestions please?
    Thanks,
    Ravikanth

    HI,
    use below logic..
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
      CLASS cl_abap_char_utilities DEFINITION LOAD.
      CONSTANTS:
          con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
          con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      CONCATENATE   '' '' '' 'PASSPORT AND VISA DETAILS REPORT' ' '
                   INTO lt_attach SEPARATED BY SPACE.
      CONCATENATE con_cret lt_attach  INTO lt_attach.
      APPEND  lt_attach.
      CONCATENATE 'Per.Num' 'Sub.Type' 'First.Name' 'Dep.Name'
                  'Nation ' 'Pass. Num' 'Exp.Date' 'Visa.Num' 'Exp.Date'
                   INTO lt_attach SEPARATED BY  con_tab.
      CONCATENATE con_cret lt_attach  INTO lt_attach.
      APPEND  lt_attach.
      LOOP AT ot_dependent INTO wa_dependent.
        CONCATENATE wa_dependent-pernr
                   wa_dependent-subty
                    wa_dependent-subtype_text
                    wa_dependent-vorna
                    wa_dependent-favor
                    wa_dependent-fanat
                    wa_dependent-zzicnum
                    wa_dependent-zzexpid
                    wa_dependent-zzvcnum
                    wa_dependent-zzvexpid
                                      INTO lt_attach  SEPARATED BY con_tab.
        CONCATENATE con_cret lt_attach  INTO lt_attach.
        APPEND lt_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    FORM f_send_email_passport_details .
    Populate message body text
      PERFORM populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   TABLES lt_message
                                          lt_attach
                                    USING p_email
                                          'Passport and Visa .xls document attachment'
                                          'XLS'
                                          'filename'
                                 CHANGING gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    ENDFORM.                    " F_SEND_EMAIL_PASSPORT_DETAILS
    FORM f_send_email_passport_details .
    Populate message body text
      PERFORM populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   TABLES lt_message
                                          lt_attach
                                    USING p_email
                                          'Passport and Visa .xls document attachment'
                                          'XLS'
                                          'filename'
                                 CHANGING gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    ENDFORM.                    " F_SEND_EMAIL_PASSPORT_DETAILS
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment TABLES pit_message
                                              pit_attach
                                        USING p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     CHANGING p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE lt_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( lt_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE lt_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = 'X'
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = t_packing_list
          contents_bin               = t_attachment
          contents_txt               = lt_message
          receivers                  = t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    "send_file_as_email_attachment
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Regards,
    Naresh Chava.

  • PDF Conversion for Ukraine Fonts.....

    Hi all,
    Thank You very much in advance....
    I have developed a Smart form having Ukraine Fonts (Letters in Ukraine Language).If I give Print preview or Printout to local printer, I am able to see correct Ukraine fonts.
    In my Driver Program I am using the FM CONVERT_OTF to convert to the smart form to PDF.Finally If I open the PDF, Ukraine fonts are not getting printed correctly but english fonts are getting printed correctly (As my smart form contains some english letters as well).
    Can you please help me on this...
    Regards,
    K.krishna Chaitanya.

    Hi for my new smart form,  I am using a smart style in which Font is Courier ........
    Same smart style I am using for one more smart forms which contains Russian fonts...But PDF is correctly printing Russian characters..............
    So is there any patches I need to install for the PDF reader.........

  • Code page conversion for chinese characters

    Hi,
    we receive an XML via JMS sender adapter where the code page in the Sending MQ system is cp850.
    One tag we receive contain chinese characters but are encoded as below
    <FAPIAO><Title>马么</Title><Remark>*æ¤,波特肉*</Remark></FAPIAO>
    We have tried the messageTransformBean in the sender JMS adapter to convert into UTF-8, but that gives no change.
    If we use some other code page, BIG5 some of the characters are converted to chinese characters, but we need to have it as UTF-8.
    Is this possible or do we have to use some other codepage?
    Best Regards
    Olof

    Olof Trönnberg wrote:
    Hi,
    we receive an XML via JMS sender adapter where the code page in the Sending MQ system is cp850.
    One tag we receive contain chinese characters but are encoded as below
    <FAPIAO><Title>马么</Title><Remark>*æ¤,波特肉*</Remark></FAPIAO>
    XML has to be transported as binary always.
    Remove the encoding parameter in comm. channel.
    Besides: obviously this is UTF-8, so how can you say, the code page of the sending system is cp850?
    It seems, that you have a wrong information.

  • PDF conversion for multipage document

    Hi
    We've created a 5 page document - can you let me know how I rearrange so that is it the right page layout for pdf for review by client?  ie. page 2 is page 2, not page 5..
    Thanks,
    Clare

    Your document should always run in continous numbering.
    It should go
    1
    2
    3
    4
    5
    Not
    5
    1
    2
    3
    4
    You can also rearrange pages in Acrobat using the Page panel and move the pages.
    If you can be more specific as to what you have done that would be great.

  • Export to pdf for thai characters get blank result.

    Dear expert,
    I have a problem, when export Sales Order that contain thai characters to PDF in SAP B1 2007A SP01 PL08, the page converted to pdf successfully for english characters, but not for Thai character. Thai characters did not display anything, just blank.
    I did refer to note 339832 , and i guess this note is for R3 system, and I think for B1 also should use the same method when export to pdf.
    So, anyone have any idea to enable Thai characters to export to pdf in SAP Business One?
    Thanks in advance for any help.
    Reagrds
    Mat

    Dear Carin,
    Actually the purpose I want to export to pdf is because to attach wiith email that send direct from SAP.
    My scenario here is:
    - Open one Sales Order
    - then click on Email icon to send email with attachment (I want to attach the SO). But, when I check the pdf before send the SO as attachment, i find out that the Thai characters missing/blank (as JimM said it is limitation in SAP for pdf function currently).
    - the email sent successfully, but only the SO attachment is not correct because of Thai characters missing.
    As per your suggestion, yes I can print as pdf first, then manually attach to email, but this involve too many manual steps just to send one SO via email.
    Any way, thanks to all of you for reply.
    JimM, thanks for the info and I will try to proceed to SAP development team for future use.
    Regards
    Mat

  • Smartform to PDF conversion having issue with Russian address

    We are having a business situation we are the invoice in English language and the the address of ship-to party and sold-to party in Russian.
    The issue we face is.
    When the  smartform is converted to PDF the Russian specific characters are missing in the PDF output. The same are perfect in the smart form print preview.
    we are using   CONVERT_OTF function module and we are getting the Russian characters correctly in the table parameter OTF.
    We are using "SX_TABLE_LINE_WIDTH_CHANGE" and " SO_DOCUMENT_SEND_API1"
    function module to attach and mail the pdf.
    In the PDF we are missing the Russian specific characters .
    For Example in "Sedláčkova čč" the output is "Sedláčkova    " means "čč" is mising
    Thanks in advance
    Regards
    Joby

    Hi,
    As described in note 999712 - PDF conversion for Unicode, there is a new unicode PDF converter PDFUC.
    It depends on the SAP Version if you have to install the device type or not. You can check also via SPAD -> Full Administration -> Device Types -> Display.
    You can pass the device type in the output options. I used:
    SSFCTRLOP-no_dialog   = 'X'.
    SSFCTRLOP-getotf      = 'X'.
    SSFCTRLOP-langu       = 'EN'.
    SSFCOMPOP-tdprinter = 'PDFUC'.
    If you specify a device other than printer in the control options like SSFCTRLOP-device      = 'TELEFAX'., above will not work as
    SSFCOMPOP-tdprinter is only evaluated for printer.
    You have to check in SCOT -> Settings -> Device Types for Format Conversion.
    You can make a general entry or for a specific language:
    PDF                           SAPscript/Smart Forms    PDFUC
    PDF    EN    English    SAPscript/Smart Forms    PDFUC
    Let me know if you get this working.
    Jeroen.

  • Memory Problems with Adobe PDF iFilter for 64-bit

    In preparation to rebuild my Windows Search Index, I installed the Adobe PDF iFilter for 64-bit on my system (Vista Business 64).  When I finally rebuilt the index, I wasn't too surprised by what I saw happen, namely, the SearchFilter.exe process would kick in whenever I wasn't using the system and just eat RAM.  One time I turned it on and it had allocated over 4,000 MB (and my system only has 4,030 MB available) so of course it was forcing all the other processes to hard fault (ie. everything was moving like molasses--for example, it took 20 minutes to put the thing to sleep).  But I just let it do it's work, figuring that perhaps this was to be expected relative to the small library of PDF's that I've accumulated on my computer, ranging from LaTeX generated text files, to containers for hi-res scans.  So, after a day and a half of basically not using my laptop, everything finally calmed down and I enjoyed the benefits of searching the content of my library from the Windows Start menu--for a short while.
    However, to my dismay I've encountered the problem that this freezing of my computer would now occur after everytime I download a new PDF (in this particular case they were Google Books scans) and then left the computer to idle.  Again, the SearchFilter.exe would allocate all of my RAM for itself and just push everything else onto the Virtual RAM, which means the SLOWEST possibly fetching you can get.  I had to uninstall as this was making my computer unusable for 15-30 minutes after each idle. Everything is back in working order without the iFilter, but I would like to know if anyone has reported such problems on x64 systems.  Obviously, I will also report the problem to Microsoft, since the search engine should certainly have the precaution to handle such memory problems.   However, it is a problem that is created by the Adobe PDF iFilter interacting with the Windows Search engine.

    Hello,
    We believe we have figured this out.  It looks like it has to do with the length of the default folder location for the Adobe iFilter.
    I was able to reproduce the issue and the following resolved it for me.  See if this resolves it for you all as well.
    Here is how to get Adobe Version 11 PDF filter to work.
     1 . If you haven’t already, run the following in SQL Server:
    Sp_fulltext_service ‘Load_os_resources’, 1
    Go
    --you might also need to run: 
    sp_fulltext_service ‘Verify_signature’,0  --This is used to validate trusted iFilters. 0 disables it. So use with caution.
    --go
    2. Stop SQL Server.  (Make sure FDHost.exe stops)
    3.  
    Uninstall the Adobe ifilter (because it defaulted to having spaces or the folder name is too long).
    4.  
    Reinstall the Adobe iFilter and when it prompts for where to install it, change it to: C:\Program Files\Adobe\PDFiFilter
    5.  Once the installation finishes, go the computer’s Environment variables. Add the following to the PATH.
    C:\Program Files\Adobe\PDFiFilter\BIN
    NOTE: it must include the BIN folder
    NOTE: If you had the OLD location that included spaces, remove it from the path environment variable.
    6. Start SQL Server
    7.  IF you had an existing Full-text index on PDFs, drop the full-text index and recreate it.
    8. You should now get results when you run sys.dm_fts_index_keywords('db','tblname')  --Note: Change db to be the actual database name and tblname to be the actual table name.
     Give this a try and see if this fixes yours. 
    Sincerely,
    Rob Beene, MSFT

  • Pdf conversion from a non unicode system to a unicode system

    Hi,
    I have a BSP application that runs on a unicode system which retrieves data to be output in pdf from a non unicode sap system.
    We get the data from the non unicode system through a RFC call and store data in table otfdata type itcoo, then we perform the conversion through the following:
    perform pdfcnv_convertotf in program saplstxw
    tables otfdata
    pdf
    using
    'T'
    archive_index
    1
    'T'
    pdf_bytecount
    app_tot_xstring
    and then perform the hex conversion, but the printout is full of # chars. The good characters are followed by the # char. It looks like the unicode conversion is not good.
    Thank you in advance for your help.
    Best regards,
    Donatella

    Welcome to SDN
    check out this weblog where Thomas Jung explains unicode conversion for excel, the same thing could be applied in your case as well
    /people/thomas.jung3/blog/2004/08/09/bsp-download-to-excel-in-unicode-format
    Regards
    Raja

  • Errors in PDF converter for Unicode systems

    Hello experts,
    I have some problems with the PDF conversion in a Unicode system.
    I have to convert a smartform to PDF using CONVERT_OTF. I have implemented SAP notes 812821 and 999712.
    The problem is that the special characters(diacritics, language specific characters) are overlapped in the generated PDF document. Does anyone knows what is the problem? I don't know what to do anymore...

    Hi,
    Try Below code
    *& Report  ZTEST_NREDDY1
    REPORT  ztest_nreddy1 NO STANDARD PAGE HEADING.
    DATA: it_otf   TYPE STANDARD TABLE OF itcoo,
          it_docs  TYPE STANDARD TABLE OF docs,
          it_lines TYPE STANDARD TABLE OF tline,
          st_job_output_info      TYPE ssfcrescl,
          st_document_output_info TYPE ssfcrespd,
          st_job_output_options   TYPE ssfcresop,
          st_output_options       TYPE ssfcompop,
          st_control_parameters   TYPE ssfctrlop,
          v_len_in                TYPE so_obj_len,
          v_language              TYPE sflangu VALUE 'E',
          v_e_devtype             TYPE rspoptype,
          v_bin_filesize          TYPE i,
          v_name                  TYPE string,
          v_path                  TYPE string,
          v_fullpath              TYPE string,
          v_filter                TYPE string,
          v_uact                  TYPE i,
          v_guiobj                TYPE REF TO cl_gui_frontend_services,
          v_filename              TYPE string,
          v_fm_name               TYPE rs38l_fnam.
    CONSTANTS c_formname          TYPE tdsfname VALUE 'ZTEST'.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
      EXPORTING
        i_language    = v_language
        i_application = 'SAPDEFAULT'
      IMPORTING
        e_devtype     = v_e_devtype.
    st_output_options-tdprinter = v_e_devtype.
    *st_output_options-tdprinter = 'locl'.
    st_control_parameters-no_dialog = 'X'.
    st_control_parameters-getotf = 'X'.
    .................GET SMARTFORM FUNCTION MODULE NAME.................
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = c_formname
      IMPORTING
        fm_name            = v_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ...........................CALL SMARTFORM............................
    CALL FUNCTION v_fm_name
      EXPORTING
        control_parameters   = st_control_parameters
        output_options       = st_output_options
      IMPORTING
        document_output_info = st_document_output_info
        job_output_info      = st_job_output_info
        job_output_options   = st_job_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.
    ELSE.
    .........................CONVERT TO OTF TO PDF.......................
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = v_bin_filesize
        TABLES
          otf                    = st_job_output_info-otfdata
          doctab_archive         = it_docs
          lines                  = it_lines
        EXCEPTIONS
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards
    jana

  • Doc to PDF conversion failed for Acrobat 9  on IIS7/win 2008 system

    I wanted to convert a doc to PDF. But getting error when PDF distiller initialized.
    Error : 006~ASP 0177~Server.CreateObject Failed~80080005
    at statement  : Set Obj = server.CreateObject("PdfDistiller.PdfDistiller.1")
    This is done is classic ASP.
    This works perfectly fine on IIS6/win 2003 with Acrobat 5 . but getting error on production server where IIS7/win 2008,Acrobat 9 is installed.
    I have added all the necessary permissions.
    What could be the problem?
    Any help would be appriciated.

    But the same thing is working fine for Acrobat distiller 5 on IIS 6 and Win 2003.
    With Acrobat 5,printer installed is called Acrobat Distiller and with Acrobat 9, printer installed is called Adobe PDF. This should not affect the distiller functionality/execution  I think.
    Manual Doc to PDF conversion works, means if document is passed to Adobe PDf it converts the doc to PDF.
    Somehow automation is not working failing at statement
    Set oDistiller = CreateObject("PDFDistiller.PDFDistiller.1")
    Could there be case that Acrobat 9 doesn't support automation or need license or so?

  • Polish characters are garbled during PDF conversion

    Hi,
    I am facing problem with polish characters while converting spool to pdf in smartform. I have configured the new printer with device type I2SWIN with respective codepage. The preview of pdf in SAP is fine but when it is sent as an attachment in email or converted  through program RSTXPDFT4, the polish characters are garbled.
    I have already searched SDN for this but didnt find any soolution pertaining to my problem.
    Please suggest a solution.
    Regards
    Abhimanyu.

    Hello,
    Is your system a unicode system?
    If so perhaps the Cascading Fonts might be useful for you (see SAP note 812821).
    Cascading Font means that the PDF converter checks each character
    of the text. For each character it determines the Unicode
    character range, to which the character belongs. After this
    it checks the SAP font name and determines, which PDF font
    shall be used for this SAP font and the Unicode character range.
    (see SAP note 999712)
    You should get and install the device type SWINCF from note 812821, as
    it is described in note 812821 (you must first apply the latest code
    correction of note 812821).
    Regards,
    David

  • Create PDF with CONVERT_OTF in Unicode system

    Hi,
    I try to create a PDF file from OTF input with function module CONVERT_OTF.
    It worked in a non-unicode environment with problems.
    If I use the same coding in a unicode system (6.0) and OTF input
    contains real doublebyte unicode characters like arabian/greek characters,
    the PDF file shows wrong characters like "ÔÑÙàÜÐÕÞÙ Ôâé" instead of
    "&#1512;&#1489;&#1491;&#1500; &#1492;&#1510;&#1493;&#1512; %&#1500;&#1493;&#1506;&#1492;" or "&#1033;&#1034;&#1035;&#1036;&#1038;&#1039;&#1040;&#1041;&#1042;&#1043;&#972;ψχΩΨΧ".
    I enable the developer trace for CONVERT_OTF, but the trace also
    shows the correct unicode characters.
    If I create a PDF file with PDF Creater with the same input on my computer,
    PDF file looks fine. SAP PDF file uses Font enconding 'Windows', PDF Creator
    uses a 'Custom' font encoding.
    Any idea, that's going wrong here?
    I install TrueType fonts like described in SAP note 999712 with no success,
    but this note refers to SAP_BASIS 011, which is not yet available on SAP Marketplace
    (latest is 010 today).
    Is there any other configuration to enable PDF unicode support?
    Print preview from other SAP transactions looks fine with unicode characters.
    thanks for help
    /Tibor

    >
    Juraj Danko wrote:
    > Hi,
    > I have similar problem than you ... how have you solved it?
    > thanks
    > Juraj
    I found a solution, but I am not sure, if it was for this problem or
    output problem with for example PL in non-unicode systems.
    I created the input for CONVERT_OTF with CALL FUNCTION 'PRINT_TEXT'.
    PRINT_TEXT has to be called with DEVICE = 'PRINTER',
    DEVICE = 'ABAP' uses internally the wrong code page.
    You have also to set otf_options-tdprinter to a valid printer,
    if it is empty, the default printer from user settings is used.
    You can use code example from SAP note 413295.
    Before you call CONVERT_OTF, you can also check entries with 'FC' in OTF input.
    The font (see description of OTF format in SAP help) must be set like described in SAP note 144718.
    /Tibor
    Edited by: Tibor Gerke on Jan 13, 2011 10:29 AM

  • PDF conversion of smartform- Printing Latin -2 characters

    Hi All,
    We are facing a typical issue with Printing of Latin -2 characters in PDFs.
    These are characters from the Polish language for e.g. char 'Ń'.
    These were originally printing as # in the Production system. After raising a message with SAP, they came up with the advice of uploading Latin-2 fonts using note 141343.
    However when I did a test in the sandbox system, the character 'Ń' is replaced by character 'C' and not '#'. This was even before I could upload an appropriate font! I am confused as to why this is happening.
    Any help appreciated.
    Regards,
    Jitender.

    Hi ...
    we had a similar kind of problem ..in which the special characters were coming in development and quality systems..but when they were moved to production system..the special characters were not coming and the desire characters were getting printed...this was becuase of the difference betwwen the codepage of dev and production systems.....So i think in your case also the same may work....
    Edited by: Rudra Prasanna Mohapatra on Aug 6, 2008 1:15 PM

  • Hexidecimal Non-Allowed Characters in a Unicode System

    We have a function module that we've written to replace non-permitted characters with a space in transfer rules.  We see a lot of invisible hexidecimal characters coming in free form text fields.  This work great for English.  However, we have a Unicode system with other languages installed.  We are also getting the hex characters in other character sets. 
    Has anyone dealt with this issue and if so what was you solution?
    Thanks!
    Al

    Hello aLaN,
    how r u ?
    Hey we have faced the problem with Hexadecimal characters, but not the same issue. In our case the problem was in the Source System. In the DB Tables we had some unwanted characters, that was showing some errors while data loading, particularly ERROR 18.
    So we resolved it by changing the Source System data.
    I have already posted for the hexadecimal issue.... the replies was
    I think this is related to Invalid character issues.. or SPaces setting in RSKC..
    may be you want to look at eh following post..
    Re: invalid characters
    /people/siegfried.szameitat/blog/2005/07/18/text-infoobjects-part-1
    Example:
    let us say..
    1. Check in RSKC for allowed characters..
    2. Add a code in the update rule to restrict the texts contains..
    !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' are allowed characters in RSKC transaction then other than the above character is 'Invalid' including the smaller case letters and will throw the hex.. error.
    since this is from database system even 'NULL' datatype from there is not visble to the eyes and can cause the failure.
    Hope this helps
    Best Regards....
    Sankar Kumar
    91 98403 47141

Maybe you are looking for

  • Cisco sup720-3bxl crashes

    Hello everyone, 4 weeks passed in debugging Cisco SUP720-3BXL crashes and I don't know what to do... It's new Cisco module without warranty and since first day it crashes when "minimal or complete diagnostic" is turned on during boot. When manually t

  • LaserJet Pro P1102w and Chromebook

    I cannot connect my new Google Chromebook to my new hp LaserJet Pro P1102w printer.  The Chromebook requires an address that ends in @HPprint.com.   I have been trying to find out how to register for that email for at least an hour. Can anyone tell m

  • Bug in Chinese input (Pinyin Simplified)

    Hello, I think I've found a bug in the OS' language input for Chinese input. It just doesn't seem to like writing the combination of letters 'zhe'. This is really annoying, as these letters spell the Mandarin for 'This', amongst other things, so I wa

  • Help, Super DVD to ipod converter audio out of sync

    Video is fine but the audion is cut and out of sync with the video, any suggestions would be appreciated

  • DB_UNIQUE_NAME and new directories

    Hi, I'm attempting to setup a physical standby database, separate hosts, using flash recovery, and RMAN. After I set DB_UNIQUE_NAME I notice that that new directories with the same db_unique_name get created in oracle_base/admin, and in the flash_rec