<?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 Sar Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890708#M372956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on scripts and am facing a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select-options in my print program for invoice number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i look only for one invoice number the script works just fine and I see the result on first page of the script. However when i use a range if invoice numbers I want to see every invoice detail in a different page, but i see all the results only on one page and in the header details its printing the last invoice number and the customer details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 22:33:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T22:33:31Z</dc:date>
    <item>
      <title>Sar Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890708#M372956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on scripts and am facing a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select-options in my print program for invoice number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i look only for one invoice number the script works just fine and I see the result on first page of the script. However when i use a range if invoice numbers I want to see every invoice detail in a different page, but i see all the results only on one page and in the header details its printing the last invoice number and the customer details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 22:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890708#M372956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T22:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sar Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890709#M372957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the Form once 'OPEN_FORM' and loop at the internal table where you have the invoice details use 'START_FORM' , 'WRITE_FORM' and 'END_FORM' and close the loop. for this use 'CLOSE_FORM'. This should handle multiple invoice numbers and output them in diffrent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890709#M372957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T00:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sar Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890710#M372958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After the start_form, use a loop...endloop and call the write_form inside this.&lt;/P&gt;&lt;P&gt;Before the endloop stmt. call       CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                command   = 'NEW-PAGE'&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                unopened  = 1&lt;/P&gt;&lt;P&gt;                unstarted = 2&lt;/P&gt;&lt;P&gt;                OTHERS    = 3.&lt;/P&gt;&lt;P&gt;to have the next invoice to be printed on a new page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890710#M372958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T00:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sar Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890711#M372959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sar-script/m-p/1890711#M372959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T00:45:34Z</dc:date>
    </item>
  </channel>
</rss>

