<?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: combine two sapscript outputs into a single spool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970522#M69593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put both codes into a single program.  Now try calling START_FORM instead of OPEN_FORM for the second form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sivaraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2005 16:04:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-22T16:04:50Z</dc:date>
    <item>
      <title>combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970520#M69591</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;it would be a neat way of solving a print issue if the output (via sapscripts) could be combined from two print programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two print programs in question are z copies of the delivery note print program and the tranfer order print program. I have taken copies of each and now call the copy of TO print program from the delivery note print program.  Can anyone advise what determines when a new spool is created?&lt;/P&gt;&lt;P&gt; The 'newid' param from structure ITCPO which is passed when doing an open-form does not seem to make any difference in this scenario.&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, 22 Jul 2005 15:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970520#M69591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970521#M69592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that when you do the OPEN_FORM --&amp;gt; CLOSE_FORM is when the spool is determined.  I don't that that you can OPEN it in one program and CLOSE it in another.  What you are talking about is possible, but it will probably take a large amount of changes.  I'm think instead of having two driver programs,  you would have one and the same for the sapscript form.  You can control what gets printed from an output type or somthing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF the output type is = 'X',  then only print the first form.  If the output type is 'Y', then print onlny the second form.  If the output type is 'Z', then print both forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970521#M69592</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-22T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970522#M69593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put both codes into a single program.  Now try calling START_FORM instead of OPEN_FORM for the second form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sivaraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970522#M69593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T16:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970523#M69594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that, unfortunately to throw a spanner in the works we cannot change the output types!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i repeatedly run, say, the print output function from VL02 with print immediately unflagged it will keep create a spool and then keep adding pages to it. The same works if I keep running the TO program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So..I wonder what drives this and if it might be manipulated to make the output from two different print programs sit on the same spool? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im presuming I will have to open and close_form for each ouput in its respective print program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970523#M69594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T16:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970524#M69595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the following option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep all the fields in ITCPO for both the spool requests same and ITCPO-TDNEWID = SPACE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not working, as others mentioned follow this step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN_FORM&lt;/P&gt;&lt;P&gt;..START_FORM "First Form&lt;/P&gt;&lt;P&gt;...WRITE_FORM&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..ENDFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..START_FORM "Second Form&lt;/P&gt;&lt;P&gt;...WRITE_FORM&lt;/P&gt;&lt;P&gt;...WRITE_FORM&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..ENDFORM&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;CLOSE_FORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970524#M69595</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-22T16:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970525#M69596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...just seen the 2nd reply - thanks for that. I will try what has been suggested but if anyone can tell me how I can do it without having to copy one program into the other I would be interersted to know...ie avoiding the overhead of having to keep two the print program updated in two places.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970525#M69596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T16:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970526#M69597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinod - I have tried changing the ITCPO parameters the same but it doesnt seem to make work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970526#M69597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T16:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970527#M69598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the print dialog box for VL02 and TO can you give the same field values. This may help you to have all the outputs in the same spool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 16:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970527#M69598</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-22T16:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970528#M69599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but unfortunately it didnt work. I will keep working at this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 08:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970528#M69599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T08:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970529#M69600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ive still got a probelm with this. Can anyone tell me if it is possible to do this? It one of those problems where it seems to me there should be a way to do this...Im just not sure what?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 13:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970529#M69600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T13:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: combine two sapscript outputs into a single spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970530#M69601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the end i managed to do this by bringing data back from the called program and doind a start/end form in the calling program. The problem was due to the two layout sets having different page formats. once they were the same this worked okay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks to all those that helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 10:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combine-two-sapscript-outputs-into-a-single-spool/m-p/970530#M69601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T10:42:26Z</dc:date>
    </item>
  </channel>
</rss>

