<?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: SCRIPTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602369#M270447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Script takes data from driver program,try to&lt;/P&gt;&lt;P&gt;     count lines of itab and after specified lines&lt;/P&gt;&lt;P&gt;     do a page break&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     loop at itab.&lt;/P&gt;&lt;P&gt;      gv_page = gv_page + 1.&lt;/P&gt;&lt;P&gt;      if gv_page = 10.&lt;/P&gt;&lt;P&gt;        call function 'write_form'.&lt;/P&gt;&lt;P&gt;           element = 'E'        &lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;     endloop&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  se71 &lt;/P&gt;&lt;P&gt;   if &amp;amp;gv_page&amp;amp; = 10&lt;/P&gt;&lt;P&gt;     new-page.&lt;/P&gt;&lt;P&gt;   endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2006 10:29:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-14T10:29:02Z</dc:date>
    <item>
      <title>SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602366#M270444</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;I have an issue in scripts.&lt;/P&gt;&lt;P&gt;How to count the number of lines in the out put of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because my requirement is, after x lines ,I want a page break(new-page).&lt;/P&gt;&lt;P&gt;is it possible to track the line number in the script output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Eswar.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 10:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602366#M270444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T10:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602367#M270445</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;&lt;/P&gt;&lt;P&gt;Ur requirement is typical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U cannount the no of lines,approximately based on no of records u can give page break.For example u have to give page break after 10 lines,then count the no of records to 10 and give page break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 10:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602367#M270445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T10:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602368#M270446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no system field to indicate the number of lines for sapscript...the best way is to use a counter as you write the data to sapscript...and when the counter reaches the required value ...call a page break...and reset the counter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 10:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602368#M270446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T10:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602369#M270447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Script takes data from driver program,try to&lt;/P&gt;&lt;P&gt;     count lines of itab and after specified lines&lt;/P&gt;&lt;P&gt;     do a page break&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     loop at itab.&lt;/P&gt;&lt;P&gt;      gv_page = gv_page + 1.&lt;/P&gt;&lt;P&gt;      if gv_page = 10.&lt;/P&gt;&lt;P&gt;        call function 'write_form'.&lt;/P&gt;&lt;P&gt;           element = 'E'        &lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;     endloop&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  se71 &lt;/P&gt;&lt;P&gt;   if &amp;amp;gv_page&amp;amp; = 10&lt;/P&gt;&lt;P&gt;     new-page.&lt;/P&gt;&lt;P&gt;   endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 10:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/1602369#M270447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T10:29:02Z</dc:date>
    </item>
  </channel>
</rss>

