<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Character Problem For SmartForms to Pdf . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956226#M1155538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks answers .&lt;/P&gt;&lt;P&gt;Firstly Eswar Rao Boddi &lt;/P&gt;&lt;P&gt;     I can not find any note in SNOTE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly  Amol Lohade  &lt;/P&gt;&lt;P&gt;     I add your code in my report  You add this function when 'CONVERT_OTF' function dont work . But 'CONVERT_OTF'  function work and I have any change in my output&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH: lt_objbin.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TABLE_DECOMPRESS' "#EC *&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;in = lt_data1[]&lt;/P&gt;&lt;P&gt;out = lt_objbin[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;compress_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;"Error during decompress operation of the data.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aakash banga   thank for answer read this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Turgut ÇILGI on Dec 29, 2008 10:28 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2008 09:27:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-29T09:27:15Z</dc:date>
    <item>
      <title>Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956222#M1155534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ;&lt;/P&gt;&lt;P&gt;my problem about smartforms . I have a custumer list. I use smartform for output. Customer list of smartform ok . Have any problem . But I convert this output to PDF . Some Characters  are overlapping . My main language Türkçe(Turkish) . Characters is incorrect for  struct of laguage .( smartform output has no problem but pdf output have problem ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My Code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETER: p_date LIKE sy-datum.&lt;/P&gt;&lt;P&gt;PARAMETER: p_rea TYPE char255.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:      ws_ucomm LIKE sy-ucomm.&lt;/P&gt;&lt;P&gt;DATA: gt_intab  TYPE ZSMRT_DNM_T WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt; SET PF-STATUS 'GUI'.&lt;/P&gt;&lt;P&gt; PERFORM get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ws_ucomm = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ws_ucomm.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;PDF'.&lt;/P&gt;&lt;P&gt;      PERFORM f1000_download_form.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;BACK'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;EXIT'.&lt;/P&gt;&lt;P&gt;      SET SCREEN 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;canc'.&lt;/P&gt;&lt;P&gt;      SET SCREEN 0.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   f1000_download_form&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM f1000_download_form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: form_name TYPE rs38l_fnam.&lt;/P&gt;&lt;P&gt;  DATA: wa_ctrlop TYPE ssfctrlop,&lt;/P&gt;&lt;P&gt;        wa_outopt TYPE ssfcompop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: t_otfdata  TYPE ssfcrescl,&lt;/P&gt;&lt;P&gt;        t_pdf_tab  LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt; DATA: t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: w_filesize TYPE i.&lt;/P&gt;&lt;P&gt;  DATA: w_bin_filesize TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      formname                 = 'ZDNMSMRT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIRECT_CALL              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     fm_name                  = form_name&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     no_form                  = 1&lt;/P&gt;&lt;P&gt;     no_function_module       = 2&lt;/P&gt;&lt;P&gt;     OTHERS                   = 3&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_ctrlop-getotf = 'X'.&lt;/P&gt;&lt;P&gt;  wa_ctrlop-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;  wa_ctrlop-DEVICE = 'I9SWIN'.&lt;/P&gt;&lt;P&gt;  wa_outopt-tdnoprev = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION form_name&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     control_parameters         = wa_ctrlop&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     output_options             = wa_outopt&lt;/P&gt;&lt;P&gt;     user_settings              = 'X'&lt;/P&gt;&lt;P&gt;     mydate                     = p_date&lt;/P&gt;&lt;P&gt;     reason                     = p_rea&lt;/P&gt;&lt;P&gt;     ADRNR                      = '23713'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     job_output_info            = t_otfdata&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     RTAB                      = gt_intab[]&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     formatting_error           = 1&lt;/P&gt;&lt;P&gt;     internal_error             = 2&lt;/P&gt;&lt;P&gt;     send_error                 = 3&lt;/P&gt;&lt;P&gt;     user_canceled              = 4&lt;/P&gt;&lt;P&gt;     OTHERS                     = 5&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  t_otf[] = t_otfdata-otfdata[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     format                      = 'PDF'&lt;/P&gt;&lt;P&gt;     max_linewidth               = 150 "132&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     bin_filesize                = w_bin_filesize&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      otf                         = t_otf&lt;/P&gt;&lt;P&gt;      lines                       = t_pdf_tab&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     err_max_linewidth           = 1&lt;/P&gt;&lt;P&gt;     err_format                  = 2&lt;/P&gt;&lt;P&gt;     err_conv_not_possible       = 3&lt;/P&gt;&lt;P&gt;     OTHERS                      = 4&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     bin_filesize                  = w_bin_filesize&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     filename                      = 'c:	est.PDF'&lt;/P&gt;&lt;P&gt;     filetype                      = 'BIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MODE                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_N_FORMAT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_N_SIZE                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_T_FORMAT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_T_SIZE                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECTMASK                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTH_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     filelength                    = w_filesize&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                      = t_pdf_tab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELDNAMES                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     file_open_error               = 1&lt;/P&gt;&lt;P&gt;     file_write_error              = 2&lt;/P&gt;&lt;P&gt;     invalid_filesize              = 3&lt;/P&gt;&lt;P&gt;     invalid_type                  = 4&lt;/P&gt;&lt;P&gt;     no_batch                      = 5&lt;/P&gt;&lt;P&gt;     unknown_error                 = 6&lt;/P&gt;&lt;P&gt;     invalid_table_width           = 7&lt;/P&gt;&lt;P&gt;     gui_refuse_filetransfer       = 8&lt;/P&gt;&lt;P&gt;     customer_error                = 9&lt;/P&gt;&lt;P&gt;     OTHERS                        = 10&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i003(z00) WITH 'File not downloaded succesfully'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE i003(z00) WITH 'File Test.pdf downloaded succesfully '&lt;/P&gt;&lt;P&gt;                                            'under C drive'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " F1000_DOWNLOAD_FORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_DATA&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM GET_DATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT kunnr belnr gjahr from bsid&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE gt_intab&lt;/P&gt;&lt;P&gt;         WHERE bukrs = '4000' and gjahr = '2007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT gt_intab.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE name1 from kna1&lt;/P&gt;&lt;P&gt;        INTO (gt_intab-name1)&lt;/P&gt;&lt;P&gt;        WHERE kunnr = gt_intab-kunnr.&lt;/P&gt;&lt;P&gt;      MODIFY gt_intab INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;   SORT gt_intab by kunnr.&lt;/P&gt;&lt;P&gt;ENDFORM.                  " GET_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 07:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956222#M1155534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T07:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956223#M1155535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember facing similar problem while dealing with Serbian Characters long time ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately i can not recollect the solution that we have implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All i remember is, we managed to find a OSS note describing the problem and the problem was rectified as per the instructions in the OSS Note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to search the OSS notes if you can find any similar ones and Good Luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 08:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956223#M1155535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T08:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956224#M1155536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lt_data TYPE TABLE OF tline,&lt;/P&gt;&lt;P&gt;      lt_data1 TYPE TABLE OF tline,&lt;/P&gt;&lt;P&gt;      lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert OTF to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        REFRESH: lt_data.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            format                = 'PDF'&lt;/P&gt;&lt;P&gt;            max_linewidth         = 132&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            bin_filesize          = l_binfilesize&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            otf                   = la_jobout-otfdata[]&lt;/P&gt;&lt;P&gt;            lines                 = lt_data[]&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            err_max_linewidth     = 1&lt;/P&gt;&lt;P&gt;            err_format            = 2&lt;/P&gt;&lt;P&gt;            err_conv_not_possible = 3&lt;/P&gt;&lt;P&gt;            err_bad_otf           = 4&lt;/P&gt;&lt;P&gt;            OTHERS                = 5.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error during conversion from OTF to PDF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creation of the document attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          REFRESH: lt_data1.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'TABLE_COMPRESS'                    "#EC *&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              in             = lt_data[]&lt;/P&gt;&lt;P&gt;              out            = lt_data1[]&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              compress_error = 1&lt;/P&gt;&lt;P&gt;              OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error during compress operation of the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            REFRESH: lt_objbin.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'TABLE_DECOMPRESS'                "#EC *&lt;/P&gt;&lt;P&gt;              TABLES&lt;/P&gt;&lt;P&gt;                in             = lt_data1[]&lt;/P&gt;&lt;P&gt;                out            = lt_objbin[]&lt;/P&gt;&lt;P&gt;              EXCEPTIONS&lt;/P&gt;&lt;P&gt;                compress_error = 1&lt;/P&gt;&lt;P&gt;                OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error during decompress operation of the data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pass table lt_objbin[] to WS_DOWNLOAD function module. It should work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amol Lohade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 08:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956224#M1155536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956225#M1155537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have a look at this documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956225#M1155537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956226#M1155538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks answers .&lt;/P&gt;&lt;P&gt;Firstly Eswar Rao Boddi &lt;/P&gt;&lt;P&gt;     I can not find any note in SNOTE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly  Amol Lohade  &lt;/P&gt;&lt;P&gt;     I add your code in my report  You add this function when 'CONVERT_OTF' function dont work . But 'CONVERT_OTF'  function work and I have any change in my output&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH: lt_objbin.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TABLE_DECOMPRESS' "#EC *&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;in = lt_data1[]&lt;/P&gt;&lt;P&gt;out = lt_objbin[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;compress_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;"Error during decompress operation of the data.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aakash banga   thank for answer read this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Turgut ÇILGI on Dec 29, 2008 10:28 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956226#M1155538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956227#M1155539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also check out the sample code at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-samples/smartforms/smart%20form%20in%20abap.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-samples/smartforms/smart%20form%20in%20abap.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956227#M1155539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956228#M1155540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope this answers aren't solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 10:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956228#M1155540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T10:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956229#M1155541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Problem solved. I Must add this code. problem solved this part. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks aakash banga &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Transfer the 132-long strings to 255-long strings&lt;/P&gt;&lt;P&gt;  LOOP AT tline.&lt;/P&gt;&lt;P&gt;    TRANSLATE tline USING ' ~'.&lt;/P&gt;&lt;P&gt;    CONCATENATE gd_buffer tline INTO gd_buffer.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRANSLATE gd_buffer USING '~ '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    it_attach = gd_buffer.&lt;/P&gt;&lt;P&gt;    APPEND it_attach.&lt;/P&gt;&lt;P&gt;    SHIFT gd_buffer LEFT BY 255 PLACES.&lt;/P&gt;&lt;P&gt;    IF gd_buffer IS INITIAL.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 14:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956229#M1155541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Character Problem For SmartForms to Pdf .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956230#M1155542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the patch level for EA-HR probably u have to update latest patch level for EA-HR. we had a similar problem and now it is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 14:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-problem-for-smartforms-to-pdf/m-p/4956230#M1155542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T14:09:27Z</dc:date>
    </item>
  </channel>
</rss>

