<?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: How to page split in script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792881#M1880083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To split page you can use code as mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;CALL FUNCTION 'CONTROL_FORM'&lt;BR /&gt;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp; COMMAND = 'NEW-PAGE'&lt;BR /&gt;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp; UNOPENED = 1&lt;BR /&gt;&amp;nbsp; UNSTARTED = 2&lt;BR /&gt;&amp;nbsp; OTHERS = 3.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Dec 2014 13:09:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-26T13:09:49Z</dc:date>
    <item>
      <title>How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792880#M1880082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a requirement to do page split in sap script means, in main window each header data 10 line items is there suppose one header under 10 line item was showed then for next header data have not proper&amp;nbsp; space&amp;nbsp; in first page for 10 line items then it should show next page all second header data plus all line item data under header data.But i have used protect..endprotect command for this requirement its not working. Anyone can help me for this requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 06:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792880#M1880082</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-12-26T06:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792881#M1880083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To split page you can use code as mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;CALL FUNCTION 'CONTROL_FORM'&lt;BR /&gt;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp; COMMAND = 'NEW-PAGE'&lt;BR /&gt;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp; UNOPENED = 1&lt;BR /&gt;&amp;nbsp; UNSTARTED = 2&lt;BR /&gt;&amp;nbsp; OTHERS = 3.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 13:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792881#M1880083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-26T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792882#M1880084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exact requirement is here i am explaining please follow the&amp;nbsp; below screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/615298" /&gt;&lt;/P&gt;&lt;P&gt;This is the requirement to show the batch line items in next page if in first page not enough space for all line items.here HWGL03B003 is first batch and HWGL03B004 is second batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the logic where i have used PROTECT...ENDPROTECT command but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/615341" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/615342" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me for this requirement.&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, 26 Dec 2014 17:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792882#M1880084</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-12-26T17:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792883#M1880085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to remove PROTECT...ENDPROTECT and let the content be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever you need page split use command&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;CALL FUNCTION 'CONTROL_FORM'&lt;BR /&gt;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp; COMMAND = 'NEW-PAGE'&lt;BR /&gt;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp; UNOPENED = 1&lt;BR /&gt;&amp;nbsp; UNSTARTED = 2&lt;BR /&gt;&amp;nbsp; OTHERS = 3.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will automatically print new content in next page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 05:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792883#M1880085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-27T05:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792884#M1880086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let me know where i will use this command driver program and script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 17:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792884#M1880086</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-12-27T17:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792885#M1880087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For printing heading in second page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can add conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;IF &amp;amp;PAGE&amp;amp; NE '1'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Pass the heading for n pages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hope it helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Venkat.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 18:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792885#M1880087</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2014-12-27T18:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792886#M1880088</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;So always it will go to next page that heading part but i have requirement if batch line item is less and in first page available space for second batch line item that time it don't go second page the second batch line item will show in first page only. the second batch will start next page while in that page is not enough space for all second batch line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 19:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792886#M1880088</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-12-27T19:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792887#M1880089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page number is assigned at run time, if the content is&amp;nbsp; more it will go to next page .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;amp;Page&amp;amp;---&amp;gt;Current Page number&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;amp;SAPSCRIPT-FORMPAGES&amp;amp; --&amp;gt;total pages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helpful.&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;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 19:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792887#M1880089</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2014-12-27T19:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792888#M1880090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Driver program you can use it in loop where you are getting batch number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2014 05:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792888#M1880090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-28T05:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792889#M1880091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have need while for batch all line item enough space is not availabe in first page then only it should goto next page otherwise it will showfirst page only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 09:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792889#M1880091</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-12-29T09:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792890#M1880092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can trigger &lt;SPAN style="color: #333333; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14.4444446563721px;"&gt;CONTROL_FORM when batch changes.It means new batch will come in new page.Also remove Protect...Endprotect in code.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 10:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792890#M1880092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-29T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to page split in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792891#M1880093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used as per your suggestion but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 06:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-page-split-in-script/m-p/10792891#M1880093</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2015-01-05T06:45:00Z</dc:date>
    </item>
  </channel>
</rss>

