<?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: SAPSCRIPT - File Copy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208052#M132741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your print program :&lt;/P&gt;&lt;P&gt;you can pass the required information in to an internal table  and then use "DATA SETS" to transfer the data in to a file on application server or separate document management system.&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;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2006 17:20:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-07T17:20:53Z</dc:date>
    <item>
      <title>SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208050#M132739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How Do Everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am about to embark on a development request which I&lt;/P&gt;&lt;P&gt;need someones kind advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a customised transaction which calls a SAPSCRIPT&lt;/P&gt;&lt;P&gt;which produces an invoice. These invoices are held in&lt;/P&gt;&lt;P&gt;separate spool files which are printed off via SP02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is as well as writing to the spool file&lt;/P&gt;&lt;P&gt;I also need to write to a text file. Everything that&lt;/P&gt;&lt;P&gt;appears on the invoice needs also to be in this new text&lt;/P&gt;&lt;P&gt;file. This new text file will then be imported into a&lt;/P&gt;&lt;P&gt;separate document management system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or suggestions would be gratefully appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 16:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208050#M132739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T16:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208051#M132740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd look at the ABAP driver program that controls the SAPscript. Compare what it feeds to the forms (structures and tables) and then write whatever information you want to a file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 17:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208051#M132740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208052#M132741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your print program :&lt;/P&gt;&lt;P&gt;you can pass the required information in to an internal table  and then use "DATA SETS" to transfer the data in to a file on application server or separate document management system.&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;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 17:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208052#M132741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T17:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208053#M132742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your driver program declare an internal table which has the information you want in the text file and download it onto the Application server using&lt;/P&gt;&lt;P&gt; OPEN DATASET &amp;lt;FILENAME&amp;gt; FOR OUTPUT IN TEXT/BINARY MODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2006 03:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208053#M132742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-08T03:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208054#M132743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another simple method could be to record a BDC for your transaction and then call it form inside of your program after the output has been issued. You can record this BDC for SP02 where you select the relevant line item and display its contents using the "Display Contents (F6)" button. Then you can download this text to a local file throught the menu path "Spool Request -&amp;gt; Forward -&amp;gt; Save to Local File..." and specify the path through your BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Please do award points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2006 04:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208054#M132743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-08T04:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSCRIPT - File Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208055#M132744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Madhur, that really helped a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I didn't really explain myself properly when I &lt;/P&gt;&lt;P&gt;mentioned a file. If you imagine a PDF output for each&lt;/P&gt;&lt;P&gt;invoice then that is the type of file I was talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2006 07:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-file-copy/m-p/1208055#M132744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-08T07:49:38Z</dc:date>
    </item>
  </channel>
</rss>

