<?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: Save OTF data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208917#M1716133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both option 2 and option 3 are good. But It is always your call to select an option &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2 : You can store the file in a DB table(a Ztable). Please refer to the below links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/976467" title="http://scn.sap.com/thread/976467"&gt;http://scn.sap.com/thread/976467&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/988559" title="http://scn.sap.com/thread/988559"&gt;http://scn.sap.com/thread/988559&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 3 : You can write the files to application server(even in multiple server case). There is no issue in using this option as you would always be getting the files in foreground execution(for display in WDA applications). This scenario does not work for background execution(please check the link)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/9066213#9066213" title="http://scn.sap.com/message/9066213"&gt;http://scn.sap.com/message/9066213&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 4 : You can save the OTF as GOS attachment.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment" title="http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/1456793#1456793" title="http://scn.sap.com/message/1456793#1456793"&gt;http://scn.sap.com/message/1456793#1456793&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know much about how to get option 1 working&amp;nbsp; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add 1 more option to your list. Just give a thought on using MIME repository for your requirement. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm" title="http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window" title="http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window"&gt;http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1764626" title="http://scn.sap.com/thread/1764626"&gt;http://scn.sap.com/thread/1764626&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1014628" title="http://scn.sap.com/thread/1014628"&gt;http://scn.sap.com/thread/1014628&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 21:59:50 GMT</pubDate>
    <dc:creator>former_member491621</dc:creator>
    <dc:date>2013-01-18T21:59:50Z</dc:date>
    <item>
      <title>Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208915#M1716131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We are exploring the following possibilities for saving the output generated by smartform into custom database tables, we would later retrieve the&lt;/P&gt;&lt;P&gt;saved data and then show that up as PDF in one of our WDA applicaitons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. get OTF data and then save as standard text&amp;nbsp; &lt;/P&gt;&lt;P&gt;2. convert OTF to xstring and then save to database&lt;/P&gt;&lt;P&gt;3. convert OTF to xstring and then save to app server files(OPEN/CLOSE dataset)&lt;/P&gt;&lt;P&gt;4. Generic Object Services?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;option 1 doesn't see like a elegant solution and i'm not sure if GOS would help, option 2 looks like a good solution(but i'm not sure),&lt;/P&gt;&lt;P&gt;will option 3 work in multiple app server case scenario, your guidance is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 20:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208915#M1716131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T20:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208916#M1716132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you generate a pdf of the smartform and save on a shared drive which could later be viewed. Why you want to save aaing in SAP tables the data which is already there ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create folders according to year and month and save the pdf as the invoice # or some other document # that it is for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 21:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208916#M1716132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T21:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208917#M1716133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both option 2 and option 3 are good. But It is always your call to select an option &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2 : You can store the file in a DB table(a Ztable). Please refer to the below links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/976467" title="http://scn.sap.com/thread/976467"&gt;http://scn.sap.com/thread/976467&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/988559" title="http://scn.sap.com/thread/988559"&gt;http://scn.sap.com/thread/988559&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 3 : You can write the files to application server(even in multiple server case). There is no issue in using this option as you would always be getting the files in foreground execution(for display in WDA applications). This scenario does not work for background execution(please check the link)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/9066213#9066213" title="http://scn.sap.com/message/9066213"&gt;http://scn.sap.com/message/9066213&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 4 : You can save the OTF as GOS attachment.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment" title="http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Save+SmartForms+OTF-output+as+GOS+PDF-attachment&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/1456793#1456793" title="http://scn.sap.com/message/1456793#1456793"&gt;http://scn.sap.com/message/1456793#1456793&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know much about how to get option 1 working&amp;nbsp; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add 1 more option to your list. Just give a thought on using MIME repository for your requirement. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm" title="http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window" title="http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window"&gt;http://wiki.sdn.sap.com/wiki/display/WDABAP/A+Simple+Web+Dynpro+Application+to+display+a+pdf+file+in+the+browser+window&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1764626" title="http://scn.sap.com/thread/1764626"&gt;http://scn.sap.com/thread/1764626&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1014628" title="http://scn.sap.com/thread/1014628"&gt;http://scn.sap.com/thread/1014628&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 21:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208917#M1716133</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-18T21:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208918#M1716134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please elaborate on that, how do we save the PDF in a shared folder and later show the form in web dynpro? Many thanks for taking the time to respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 22:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208918#M1716134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T22:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208919#M1716135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aniket&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thank you very much for compiling all the "how-to" links, your help is very appreciated, apart from the "how-tos", I am primaliry interested about the factors that I need to consider for choosing one option over the other, in other words, I want to know the relative advantages and disadvantages of all the options, so that I can weigh them against my scenario and choose the best possible option...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208919#M1716135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T06:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Save OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208920#M1716136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As your applications would be executing in foreground(only), the best solution would be using either MIME repository or saving your file on application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also save in database but there is a chance of reduced performance once the data grows in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have the facility to use the MIME object directly(this doesn't hamper the performance).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else using the application server scenario always rocks!! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-otf-data/m-p/9208920#M1716136</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-21T06:27:17Z</dc:date>
    </item>
  </channel>
</rss>

