<?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: Automatically Save PDF Form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153643#M1820600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi elad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not, process the form. &lt;/P&gt;&lt;P&gt;Use Function-stone convert_otf_to_pdf (in case of you are using a smartforms/sapscript) and create a method to save it in a serverfolder.&lt;/P&gt;&lt;P&gt;For that you can have a look at &lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/content.htm"&gt;open dataset&lt;/A&gt; if you want to do it in a basic way&lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 21:25:15 GMT</pubDate>
    <dc:creator>Florian</dc:creator>
    <dc:date>2014-03-26T21:25:15Z</dc:date>
    <item>
      <title>Automatically Save PDF Form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153641#M1820598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a pdf form that read the employee details from the PA tables.&lt;/P&gt;&lt;P&gt;Usualy the pdf form displays in preview but now i have a request to automaticaly save the file in a folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will have a screen with a button "Generate Employee Form" when the user will press this button the system will generate the from in the backround and save a pdf file in the target folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 20:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153641#M1820598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-26T20:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Save PDF Form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153642#M1820599</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;Anyway you are getting the form in preview screen right?&lt;/P&gt;&lt;P&gt;You can print that form and create a spool.&lt;/P&gt;&lt;P&gt;convert that spool to pdf and save that in the required folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just one way may be you man get best way than this too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 20:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153642#M1820599</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2014-03-26T20:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Save PDF Form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153643#M1820600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi elad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not, process the form. &lt;/P&gt;&lt;P&gt;Use Function-stone convert_otf_to_pdf (in case of you are using a smartforms/sapscript) and create a method to save it in a serverfolder.&lt;/P&gt;&lt;P&gt;For that you can have a look at &lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/content.htm"&gt;open dataset&lt;/A&gt; if you want to do it in a basic way&lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 21:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153643#M1820600</guid>
      <dc:creator>Florian</dc:creator>
      <dc:date>2014-03-26T21:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Save PDF Form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153644#M1820601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;once you convert otf to pdf, do the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Here hard code your filepath (target folder).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;w_full_path = target folder.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;and then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'GUI_DOWNLOAD'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* BIN_FILESIZE = W_bin_filesize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; filename &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;w_FULL_PATH&lt;BR /&gt;&lt;BR /&gt; FILETYPE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BIN'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;tables&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; data_tab &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;T_pdf_tab&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards -&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Makarand&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 05:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153644#M1820601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-27T05:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Save PDF Form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153645#M1820602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey elad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow the procedure which Makarand has explained. Use the FM &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;CONVERT_OTF &lt;/STRONG&gt;to convert to PDF and use &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;'GUI_DOWNLOAD' &lt;/STRONG&gt;to download the PDF to the required directory.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 04:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-save-pdf-form/m-p/10153645#M1820602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-28T04:00:16Z</dc:date>
    </item>
  </channel>
</rss>

