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

Similar Messages

  • Error in codepage mapping for source system

    Hi Experts,
    I am getting the following error while loading data from ECC only for Account COPA datasource.
    Error in codepage mapping for source system. Error text:
    Message no. RSDS_ACCESS013
    Regards,
    Sandeep Sharma

    Hi Sandeep,
    This is a issue related to idocsRFC connections from teh sourcesystem....
    U can contact ur BASIS team to solve this...
    From their end they have to chk the unprocessed/errored idocs in BD87...
    They have to run a report:RBDAGAIN to process the errored idoc's in the source which are in STATUS:'02'.
    This is a solution for temporarilrly basis...
    If this occurs regularly they have to change the settings in SM59 which is so important...
    Refer exact note for this: 784381
    The SAP note 613389 may also be relevant for the error message "Could not find code page for receiving system", please check the information given in the note and see if you can use it to resolve the problem.
    Regards,
    Marasa.

  • Error in codepage mapping for source system. Error

    Hi BW Experts,
    I am facing following error:
    Error message: Error in codepage mapping for source system. Error text:
    Details: Inbound Processing ( 1000  Records ) : Errors occurred
                Error in codepage mapping for source system. Error text:
                Update PSA ( 0 Records posted ) : Missing messages
    I repeated the delta working and everything fine.
    Does anybody know why this error occurs?

    Run rsa13 (for bi 7.0) find your source system which one you are using for data transfer and double  click on it and find special options there select  the optioned i mentioned already.
    Please search SDN you can fin threads related to this thread
    if not let me know.
    Regards.

  • Error in codepage mapping for source system. Error text:

    guyz,
    im facing the below issue in prod.
    Error in codepage mapping for source system. Error text:
    Message no. RSDS_ACCESS013
    Collection in source system ended
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Inbound Processing
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    need your guidance,
    cheerz,
    raps.
    Edited by: raps on Mar 1, 2012 9:39 AM

    Hi ,
    Kindly go throught the following threads for your issue resolution::
    Error in code page mapping for Source System
    Erroe in source system
    Regards,
    Arpit

  • PDF converter for Mac Snow Leopard

    What would be the best PDF-converter for my Mac OSX 10.6.4 Snow Leopard?
    Thanks for advice.
    Vallis

    Well, I think actually you can try this *PDF converter*.
    It could convert PDF to Word, PowerPoint, Excel, Epub and 2 other format.
    Extremely easy to use and really friend interface.
    Only 1 thing I want to complain is it just support 50 files in a batch.
    Wish it could help though.

  • Why when I try to subscribe to PDF converter for Word-nothing happens-have entered password & ID and

    Why when I try to subscribe to PDF converter for Word - nothing happens- have entered password and email which have been verified.  Please advise

    House & Garden wrote:
    PDF converter for Word
    Not sure what you mean...
    PDF to Word : ExportPDF : post in http://forums.adobe.com/community/exportpdf
    Word to PDF : CreatePDF : post in http://forums.adobe.com/community/createpdf

  • Creating RFC Destination For UNICODE system From NON-UNICODE system

    hi
    how can i create RFC Destination For UNICODE system( XI ) From NON-UNICODE (R/3) system.
    thanks and regards
    Mithlesh Kumar Jha

    Hi,
    Check these blogs , Hope u would be getting some idea
    <b>/people/thomas.jung3/blog/2004/06/24/bsp-150-a-developer146s-journal-part-v-xml-for-rfcs
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
    /people/sap.user72/blog/2004/06/19/how-i-started-with-sap-web-development</b>
    Regards,
    Sridhar Reddy

  • PDF Converter for Acrobat Pro 8 problem in windows 7 (64)

    Hi,
    I just recently upgraded to Windows 7 - 64 bit and I am getting the following error message when I try to print to the Adobe PDF printer:
    %%[ Error: undefined; OffendingCommand: setdistillerparams; ErrorInfo: CalCMYKProfile U.S. Web Coated (SWOP) v2 ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    Error accessing color profile: U.S. Web Coated (SWOP) v2
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I am using Adobe Acrobat 8 professional version 8.1.4 that came with CS3 Design Premium and have installed all current updates. Regardless of the chosen program (Word, Excel, Photoshop) when I attempt to print to the Adobe PDF printer, the print job stops at about 10% completion with the above error message.
    Any suggestions?
    Thanks,
    Kyle

    Thanks everyone for the helpful hints.
    In the end I unstalled and then re-installed the entire Adobe Premium CS3 in Windows 7 (64 bit). The big difference was loading the adobepdf.dll_64 file at the proper point during the installation process.
    Adobe has published a full explanation of this issue at the following URL:
    http://kb2.adobe.com/cps/401/kb401731.html
    Once installed, it's also important to update Acrobat 8 to the latest revision to get the PDF Converter working again.
    Thanks again,
    Kyle

  • When will get 64-bit PDF converter for 64-bit Firefox variants (Cyberfox, Waterfox, etc.)

    I use 64-bit Firefox variants (Cyberfox, Waterfox, etc.), and am frustrated that the PDF Converter addin with Acrobat Pro X and XI does not yet work with them.  I understand that a 64-bit DLL is needed for the add-in to work.  Inasmuch as the PDF converter works with 64-bit IE-9 and IE-10 and Office2007/2010, I am at a loss to understand why a 64-bit PDF converter add-in for Firefox 64-bit variants is not available.  WHEN?
    Thank you.

    Someday. This is a question asked multiple times but the answer is always the same, there is no real benefit to moving to 64 bit Firefox, and the amount of work required to do something with no benefit makes this a low priority. Eventually it will happen, but just because it uses 64bit doesn't magically make things better.

  • Data Buffer error USER_AUTH_FAILED: User account for logonid "SYSTEM"

    All,  I have the following errors on both the Quality and the Production system in our data buffer job.
    com.sap.security.api.NoSuchUserException: USER_AUTH_FAILED: User account for logonid "SYSTEM" not found!
    These entries will not process because they are generating an error about the loginid for the Username SYSTEM is not found.
    So I am thinking that somehow the MII system is not capturing the correct username when they are being added into the Data Buffer Jobs, or there is something I am overlooking when I set up the databuffering.
    Other entries that were in the data buffer jobs were listed as using the RS1000SVC-QMUSBATCH, RS1630SVC-PMIIBATCH User accounts.  These are the accounts that our scheduled tasks run under.
    Those entries process OK out of the data buffer jobs.
    I did notice a similarity between the data buffer jobs in the quality and production systems as it pertains to the following transactions.
    Production MII ver 12.0.7 (Build 20)
    Muscatine%2FIntegration%2FSAP%2FPROD_CONFIRMED_INPUT_InsertQuery
    Which is called from the MIIC1043_IDOC Message Processing Rule.
    Muscatine%2FIntegration%2FSAP%2FHEADER_InsertQuery
    Which is called from the MIIC1043_Control_Recipe_Download Message Processing Rule.
    Quality MII 12.0.11 (Build 14)
    Muscatine%2FIntegration%2FSAP%2FPROD_CONFIRMED_INPUT_InsertQuery
    Which is called from the MIIC1043_IDOC Message Processing Rule.
    So the commonality is that these transactions are being initaiated by the Message processing rules.
    Are there known issues with data buffering from transactions initiated with Message Processing Rules?
    Is anyone sucessfully using data buffering of transactions called by message processing rules?
    Any help is appreciated.
    Bob

    Jeremy,  Thanks for your reply.
    There doesn't seem to be much detailed information on the use of Catagories with Processing rules in Help or in the forums.  So let me see if I understand your suggestion correctly.
    On the MII server create a processing rule for the message using a category instead of using a transaction,  The message received by the message listener will be placed in a buffer.  I am assuming these messages whould show up in the message monitor and not in the  Data Buffer jobs/entries.
    So in my transaction which normally processes this data I could add logic to access the message data; using the Message Service (Query, Read, Update and Delete) action blocks.  I could pare down the selection by selecting messages based on the MessageCategory that I defined in the message processing rule.   This will allow me to access the stored message data.
    Finally use a scheduled Job to execute the transaction.  The scheduled job would be run with a valid userID and Password so if it connection to the external database failed the enteries would be placed in the data buffer jobs with a valid userID credentials.
    Does this sound like what you had in mind?

  • ERROR - no available datasource for source system exist

    I tried to load the master for 0Bill_Type
    1) Install infoobject business content and Create infoobject
    2) Activate datasource in R/3
    3) Replicate datasource
    4) Assign infosource ---> the error said no available datasource for source system exist
    When I go to source system--> Object overview --> I don't see anything at all?
    Please advise what went wrong ?

    Hi Pandadda,
    I think you have not transferred the APPLICATION COMPONENT HIERARCHY yet. If not, then do the following:
    1. In your R/3 system execute TCODE = SBIW.
    2. Go to BUSINESS CONTENT DATASOURCES
    3. Execute TRANSFER APPLICATION COMPONENT HIERARCHY by clicking the CLOCK.
    Replicate you datasource then check it on your BW system
    R,
    Adwin

  • SWN_CREATE_SHORTCUT not working for Unicoded system

    The FM "SWN_CREATE_SHORTCUT" is working fine for a non-unicoded system. While for an unicoded system the shortcut created is not working. Is there any parameter i need to set for an unicoded system or do we have to use another FM for it..?
    *"Create shortcut for transaction ZMSABSR02_NEW.
      CALL FUNCTION 'SWN_CREATE_SHORTCUT'
        EXPORTING
          I_TRANSACTION               = c_tran
          I_SYSID                     = SY-SYSID
          I_CLIENT                    = SY-MANDT
          I_USER                      = SY-UNAME
          I_LANGUAGE                  = SY-LANGU
          I_WINDOWSIZE                = c_window
          I_TITLE                     = c_title2
        IMPORTING
          SHORTCUT_STRING             = w_string
        EXCEPTIONS
          INCONSISTENT_PARAMETERS     = 1
          OTHERS                      = 2.

    Hello,
    I had the same problem today.
    I'm in a unicode system, the "SO_NEW_DOCUMENT_ATT_SEND_API1" FM creates a unicode shortcut that doesn't work fine.
    Solution : Add the following lines to your code:
    DATA: wlt_object_header TYPE TABLE OF solisti1,
          wls_object_header TYPE solisti1.
    REFRESH wlt_object_header.
    CLEAR wls_object_header.
    wls_object_header = '&SO_FORMAT=ASC'.
    APPEND wls_object_header TO wlt_object_header.
    And add the internal table wlt_object_header to the TABLES parameters object_header of the "SO_NEW_DOCUMENT_ATT_SEND_API1" FM call :
      TABLES
        object_header              = wlt_object_header
    Now, the shortcut is non-unicode and works fine.
    For information, my saplogin.ini gives : "DEFAULT_NON_UNICODE".
    Best regards,
    -Olivier-

  • PDF Converter For Web Site Pages

    Hello.  I am new to using a Mac.  My need is to convert web pages to PDF (specifically news articles from one particular site from which I have permission to do so!).   I am used to using Adobe Acrobat at my office, but just can't afford it on my own nickle.   There are so many PDF utilities in the App store that they make my head spin!  
    I am very appreciative for suggestions on a decent PDF converter that is Acrobat-like but not as expensive.   The reviews on the free ones seem to warn me against trying them, so I'm really not adverse to paying for one.  I hope to spend around $50 max if possible.
    Many thanks for your help!
    - Marty

    SP, yes, your suggestion worked like a charm.  Plus I can delete trailing pages that I no longer need.   Since I completely lost my pride when I hit 50, I can say "duh" on behalf of yourself and everyone reading this. 
    Many thanks for your help!
    - m.

  • GUI_DOWNLOAD PDF File in Unicode System

    Hi Team.
    We are Upgrade to ECC 6.0 with Unicode.
    We are reading a PDF File from Unix directory and use the GUI_DOWNLOAD function to the user can download the file.
    Original we have a  WS_DOWLOAD function and all right.
    But with this function the file is incorrect.
    This is the right File
    %PDF-1.3%âãÏÓ1 0 obj<</Producer(htmldoc 1.8.18 Copyright 1997-2002 Easy Software Products, All Rights Reserved.)/CreationDate(D:20080814090000-0600)>>endobj 2 0 Obj<</Type/Encoding/Differences[ .......
    And in SAP the File Down with this format:
    % P D F - 1 . 3
    % â ã Ï Ó
    1   0   o b j < < / P r o d u c e r ( h t m l d o c   1 . 8 . 1 8   C o p y r i g h t   1 9 9 7 - 2 0 0 2   E a s y   S o f t w a r e   P r o d u c t s ,   A l l   R i g h t s   R e s e r v e d . ) / C r e a t i o n D a t e ( D : 2 0 0 8 0 8 1 4 0 9 0 0 0 0 - 0 6 0 0 ) > > e n d o b j
    2   0   o b j < < / T y p e / E n c o d i n g / D i f f e r e n c e s [   3 2 / s p a c e / e x c l a m / q u o t e d b l / n u m b e r s i g n / d o l l a r / p e r c e n t / a m p e r s a n d / q u o t e s i n g l e / p a r e n l e f t / p a r e n r i g h t / a s t e r i s k / p l u s / c o m m a / m i n u s / p e r i o d / s l a s h / z e r o / o n e / t w o / t h r e e / f o u r / f i v e / s i x / s e v e n / e i g h t / n i n e / c
    Any body have a Idea of this problem.
    Thanks
    We try change the table to Binary Mode, and the problem continue

    The problem continue. Our system is SAP ECC 6.0 with UNICODE.
    Ath the moment I'm test with character table and HEX table and the File download to the local PC with errors
    % P D F - 1 . 3
    % â ã Ï Ó
    1   0   o b j < < / P r o d u c e r ( h t m l d o c   1 . 8 . 1 8   C o p y r i g h t   1 9 9 7 - 2 0 0 2   E a s y   S o f t w a r e   P r o d u c t s ,   A l l   R i g h t s   R e s e r v e d . ) / C r e a t i o n D a t e ( D : 2 0 0 8 0 8 1 4 0 9 0 0 0 0 - 0 6 0 0 ) > > e n d o b j
    2   0   o b j < < / T y p e / E n c o d i n g / D i f f e r e n c e s [   3 2 / s p a c e / e x c l a m / q u o t e d b l / n u m b e r s i g n / d o l l a r / p e r c e n t / a m p e r s a n d / q u o t e s i n g l e / p a r e n l e f t / p a r e n r i g h t / a s t e r i s k / p l u s / c o m m a / m i n u s / p e r i o d / s l a s h / z e r o / o n e / t w o / t h r e e / f o u r / f i v e / s i x / s e v e n / e i g h t / n i n e / c o l o n / s e m i c o l o n / l e s s / e q u a l / g r
    The file download  in Binary mode. But continue add a blank character before each character.
    Thanks team

  • 888k Error in ULS Logs for File System Cache

    Hello,
    We have a SharePoint 2010 farm in a three-tier architecture with multiple WFEs and APP servers.
    Roughly once a week we will have a number of WFEs seize up and jump to 100% CPU usage. Usually they come in pairs; two servers will jump to 100% at the same time while all the other servers are fine in the 20% - 50% range.
    Corresponding to the 100% CPU spike, the following appear in the ULS logs:
    "File system cache monitor encoutered error, flushing in memory cache: System.IO.InternalBufferOverflowException: Too many changes at once in directory:C:\ProgramData\Microsoft\SharePoint\Config\<GUID>\."
    When these appear, the ULS logs will show hundreds back-to-back flooding the logs.
    I have yet to figure out how to stop these and bring the CPU usage down while the incident is happening, and how to prevent them in the future.
    While the incident is happening, I have tried clearing the configuration cache, shutting the timer jobs down on each server, deleting all the files but config.ini in the folder listed above, changing config.ini to 1, and restarting the timer. The CPU will
    drop momentarily during this process, but as soon as all the timer jobs are restarted the CPUs jump back to 100% on the same servers.
    This week as part of my weekly maintenance I thought I'd be proactive and clear the cache even though the behavior wasn't happening, and all CPUs were normal. As soon as I finished, the CPU on two servers that were previously fine jumped to 100% and wouldn't
    come down. Needless to say, users complain of latency when servers are at 100% CPU.
    So I am frustrated. The only thing I have found that works when the CPUs jump to 100% with these errors are a reboot. Nothing else, including IISReset and stopping/starting the admin and timer job services work. Being Production systems, reboots during the
    middle of the day are bad.
    Any ideas? I have scoured the Internet resources on this error and have come up relatively empty-handed. All the articles reference clearing the configuration cache, which, in my instance, does not get rid of these issues, and can even trigger them.
    Thanks,
    Joseph Irvine

    Take a look at http://support.microsoft.com/kb/952167 for the list of recommended exclusions per Microsoft.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • ITunes 11.3 Syncing issues

    I am trying to sync music from iTunes 11.3 to my dad's phone. I can't get it to sync. Both my computer, which is a Mac, and my dad's computer, a Windows, are both having issues. When I try to Sync, nothing happens. It's like it isn't even detecting t

  • Waiting Reply

    Hi Dears,            ow i'm in critical position could u suggestion regarding "how to  upload the  excel sheet  customer master data  using BAPI ?" i will be waiting for reply . regards eswar.

  • Conencting SAPCCMSR agent

    Hi folks, I am trying to register the ccms agent and the following error shows up  at the moment to create the RFC: 104 RFC_ERROR_SYSTEM_FAILURE see rfc trace file or sap system log I did not find any message in SM21... Thank you so much for your hel

  • Setting not using battery

    Can I chose to use only my adapter as an electric source for my mac, instead of having to use up my battery to the end? So is there a setting where you can chose to not use the battery when the adapter is plugged in? Would be nice to be able to save

  • Using Mail & Exchange & Tasks

    I just converted from PC & Outlook to Mac & Mail. My mailaccount is an Exchange-account and I'm just to converting my mails to tasks for my mailbox-management. I can't seem to do that in Mail?!! When I open a mail and doubleclick, the menu with 'new