<?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: Special characters in smartforms.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003442#M709626</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;Solved it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was because of some of the control parametters i set..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2007 12:45:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-31T12:45:14Z</dc:date>
    <item>
      <title>Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003438#M709622</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 need to download the smartform in PDF format.....I got the sample code to do that on sdn itself.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my case some special characters(Turkish) are not coming properly&lt;/P&gt;&lt;P&gt;(after executing driver program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S#STEM NUMARASI &lt;/P&gt;&lt;P&gt;S#PAR### VEREN F#RMA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also it used to show the print preview screen once we execute the driver program..    but now it directly downloads without giving the option for selecting printer in print preview screen....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while in print preview its lookin just fine :&lt;/P&gt;&lt;P&gt;(After executing print preview through Tcode : SMARTFORMS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHAT TO DO IN THIS CASE??&lt;/P&gt;&lt;P&gt;PLS HELP..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003438#M709622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003439#M709623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Program RSTXPDFT2 to download the smart form into PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003439#M709623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003440#M709624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this steps........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Converting the smartfrom to PDF is process of 3 simple steps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Calling the Smart form, then it returns the OTF data in Return. &lt;/P&gt;&lt;P&gt;Converting the OTF data into required format using the Function Module CONVERT_OTF_2_PDF. &lt;/P&gt;&lt;P&gt;Download the File &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTEST_POLSANI_PDF&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_POLSANI_PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_otf   TYPE STANDARD TABLE OF itcoo,&lt;/P&gt;&lt;P&gt;      it_docs  TYPE STANDARD TABLE OF docs,&lt;/P&gt;&lt;P&gt;      it_lines TYPE STANDARD TABLE OF tline,&lt;/P&gt;&lt;P&gt;      st_job_output_info      TYPE ssfcrescl,&lt;/P&gt;&lt;P&gt;      st_document_output_info TYPE ssfcrespd,&lt;/P&gt;&lt;P&gt;      st_job_output_options   TYPE ssfcresop,&lt;/P&gt;&lt;P&gt;      st_output_options       TYPE ssfcompop,&lt;/P&gt;&lt;P&gt;      st_control_parameters   TYPE ssfctrlop,&lt;/P&gt;&lt;P&gt;      v_len_in                TYPE so_obj_len,&lt;/P&gt;&lt;P&gt;      v_language              TYPE sflangu VALUE 'E',&lt;/P&gt;&lt;P&gt;      v_e_devtype             TYPE rspoptype,&lt;/P&gt;&lt;P&gt;      v_bin_filesize          TYPE i,&lt;/P&gt;&lt;P&gt;      v_name                  TYPE string,&lt;/P&gt;&lt;P&gt;      v_path                  TYPE string,&lt;/P&gt;&lt;P&gt;      v_fullpath              TYPE string,&lt;/P&gt;&lt;P&gt;      v_filter                TYPE string,&lt;/P&gt;&lt;P&gt;      v_uact                  TYPE i,&lt;/P&gt;&lt;P&gt;      v_guiobj                TYPE REF TO cl_gui_frontend_services,&lt;/P&gt;&lt;P&gt;      v_filename              TYPE string,&lt;/P&gt;&lt;P&gt;      v_fm_name               TYPE rs38l_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS c_formname          TYPE tdsfname VALUE 'ZTEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_GET_DEVICE_TYPE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_language    = v_language&lt;/P&gt;&lt;P&gt;    i_application = 'SAPDEFAULT'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    e_devtype     = v_e_devtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;st_output_options-tdprinter = v_e_devtype.&lt;/P&gt;&lt;P&gt;*st_output_options-tdprinter = 'locl'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;st_control_parameters-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;st_control_parameters-getotf = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.................GET SMARTFORM FUNCTION MODULE NAME.................&lt;/STRONG&gt;&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           = c_formname&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    fm_name            = v_fm_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;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;&lt;STRONG&gt;...........................CALL SMARTFORM............................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION v_fm_name&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    control_parameters   = st_control_parameters&lt;/P&gt;&lt;P&gt;    output_options       = st_output_options&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    document_output_info = st_document_output_info&lt;/P&gt;&lt;P&gt;    job_output_info      = st_job_output_info&lt;/P&gt;&lt;P&gt;    job_output_options   = st_job_output_options&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;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;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.........................CONVERT TO OTF TO PDF.......................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_OTF_2_PDF'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      bin_filesize           = v_bin_filesize&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      otf                    = st_job_output_info-otfdata&lt;/P&gt;&lt;P&gt;      doctab_archive         = it_docs&lt;/P&gt;&lt;P&gt;      lines                  = it_lines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      err_conv_not_possible  = 1&lt;/P&gt;&lt;P&gt;      err_otf_mc_noendmarker = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 3.&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;&lt;STRONG&gt;........................GET THE FILE NAME TO STORE....................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'smrt' '.pdf' INTO v_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT v_guiobj.&lt;/P&gt;&lt;P&gt;  CALL METHOD v_guiobj-&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      default_extension = 'pdf'&lt;/P&gt;&lt;P&gt;      default_file_name = v_name&lt;/P&gt;&lt;P&gt;      file_filter       = v_filter&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      filename          = v_name&lt;/P&gt;&lt;P&gt;      path              = v_path&lt;/P&gt;&lt;P&gt;      fullpath          = v_fullpath&lt;/P&gt;&lt;P&gt;      user_action       = v_uact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF v_uact = v_guiobj-&amp;gt;action_cancel.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..................................DOWNLOAD AS FILE....................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  MOVE v_fullpath TO v_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      bin_filesize            = v_bin_filesize&lt;/P&gt;&lt;P&gt;      filename                = v_filename&lt;/P&gt;&lt;P&gt;      filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = it_lines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_write_error        = 1&lt;/P&gt;&lt;P&gt;      no_batch                = 2&lt;/P&gt;&lt;P&gt;      gui_refuse_filetransfer = 3&lt;/P&gt;&lt;P&gt;      invalid_type            = 4&lt;/P&gt;&lt;P&gt;      no_authority            = 5&lt;/P&gt;&lt;P&gt;      unknown_error           = 6&lt;/P&gt;&lt;P&gt;      header_not_allowed      = 7&lt;/P&gt;&lt;P&gt;      separator_not_allowed   = 8&lt;/P&gt;&lt;P&gt;      filesize_not_allowed    = 9&lt;/P&gt;&lt;P&gt;      header_too_long         = 10&lt;/P&gt;&lt;P&gt;      dp_error_create         = 11&lt;/P&gt;&lt;P&gt;      dp_error_send           = 12&lt;/P&gt;&lt;P&gt;      dp_error_write          = 13&lt;/P&gt;&lt;P&gt;      unknown_dp_error        = 14&lt;/P&gt;&lt;P&gt;      access_denied           = 15&lt;/P&gt;&lt;P&gt;      dp_out_of_memory        = 16&lt;/P&gt;&lt;P&gt;      disk_full               = 17&lt;/P&gt;&lt;P&gt;      dp_timeout              = 18&lt;/P&gt;&lt;P&gt;      file_not_found          = 19&lt;/P&gt;&lt;P&gt;      dataprovider_exception  = 20&lt;/P&gt;&lt;P&gt;      control_flush_error     = 21&lt;/P&gt;&lt;P&gt;      OTHERS                  = 22.&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;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;Do all the steps once again and find....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003440#M709624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003441#M709625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will this code will take care of special characters??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also why the Print preview dialouge screen is not getting displayed??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it because some of the conr\trol parameters which we r setting??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003441#M709625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003442#M709626</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;Solved it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was because of some of the control parametters i set..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003442#M709626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in smartforms..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003443#M709627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey dhananjay ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also face the same problems here .&lt;/P&gt;&lt;P&gt;i want to know what are the control points u passed over there .&lt;/P&gt;&lt;P&gt;PLs help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jowar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 14:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-in-smartforms/m-p/3003443#M709627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T14:40:27Z</dc:date>
    </item>
  </channel>
</rss>

