<?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: script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513300#M568445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u are using Smart Forms u've this option, don't know if there is anything similar in Scripts&lt;/P&gt;&lt;P&gt;create a window of type COPIES window in ur smartform and capture the no.of the copy that is currently output using the system variables SFSY-COPYCOUNT or SFSY-COPYCOUNT0, and display the headings text accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 06:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T06:47:21Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513299#M568444</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;          i have a scenario like this . i have to print an invoice five times for each time when they give the print with different headings . can anybody tell me the way how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;     magesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 06:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513299#M568444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T06:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513300#M568445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u are using Smart Forms u've this option, don't know if there is anything similar in Scripts&lt;/P&gt;&lt;P&gt;create a window of type COPIES window in ur smartform and capture the no.of the copy that is currently output using the system variables SFSY-COPYCOUNT or SFSY-COPYCOUNT0, and display the headings text accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 06:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513300#M568445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513301#M568446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In scripts you have the current copy stored in Nast structure field is anzal. Use this field and you can programatically handle the situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if useful,&lt;/P&gt;&lt;P&gt;Aleem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 06:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513301#M568446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T06:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513302#M568447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Copies Window&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the copies window to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use this window type only if you want to print copies of your form. In the spool dialog in the Number input field of the Copies group box enter the number of copies (including the original).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can determine where to print the inferior nodes of a copies window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Both on the original and on the copies (&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Original and Copies ) Only on the original (&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Only Original ) Only on the copies (&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      Only Copies )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 to query whether the current output is the original or, respectively, which number the copy has.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You frequently print a graphic on the copies to flag them as copies. If, independent of the copy, the graphic is always the same, SAP Smart Forms can buffer the graphic before printing the page and thus increase performance. To do this, you must flag the copies window accordingly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If you mark&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Identical Copies SAP Smart Forms buffers the output to increase performance. Within such a window, any queries of the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 have no effects. If you mark&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      Different Copies SAP Smart Forms generates the contents again for each copy. You use this option if, for example, you want to number your copies consecutively (Copy 1, Copy 2, Copy 3, and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 06:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513302#M568447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T06:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513303#M568448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;if you look at the table NAST there is a field ANZAL, look at the field, this field will contain the Number of copies of the Script, based on this write the header ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the select based on the Output type, then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF &amp;amp;NAST-ANZAL&amp;amp; = 1.
 First header.
ELSEif &amp;amp;NAST-ANZAL&amp;amp; = 2.
 Second header.
ELSEif &amp;amp;NAST-ANZAL&amp;amp; = 3.
 Third header.
Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 06:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2513303#M568448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T06:55:04Z</dc:date>
    </item>
  </channel>
</rss>

