<?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 Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379408#M185490</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;Please check for the text NEW-PAGE in both your report program that calls the sapscript and the form. Maybe in your report program you have a function module 'CONTROL_FORM' that calls a new page. Please check its condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Kindly award points for helpful replies:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2006 08:49:47 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2006-06-21T08:49:47Z</dc:date>
    <item>
      <title>Script Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379406#M185488</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;Can any one of you help me out of this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A delivery group has deliveries with line items.&lt;/P&gt;&lt;P&gt;we had a Ztransaction code to print all the deleveries in a delivery group.in that it displays all the deliveries line items in a single page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but recently a new Ztransaction code has been created with some upgrade and in this the issue is for a delivery group it is not printing all the delivery items in a single page. it is displaying each delivery and its items in different pages.&lt;/P&gt;&lt;P&gt;but our requirement is to display all the deliveries in a delivery group with items in a single page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please suggest where to find the problem to fix  the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayudu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 08:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379406#M185488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T08:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Script Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379407#M185489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarva,&lt;/P&gt;&lt;P&gt;The record that you want to put on the single page.Put all of them within block &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protect&lt;/P&gt;&lt;P&gt;&amp;lt;field values to be on the single page&amp;gt;&lt;/P&gt;&lt;P&gt;Endprotect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use this code as per your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;COMMAND = 'PROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_MAIN.&lt;/P&gt;&lt;P&gt;MOVE IT_MAIN-RECORD TO WA_MAIN-RECORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ELEMENT = 'WORK_AREA_RECORD'&lt;/P&gt;&lt;P&gt;WINDOW = 'MAIN'&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;WRITE: / 'Error in get_main_data'.&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;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;COMMAND = 'ENDPROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: mukesh kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 08:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379407#M185489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Script Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379408#M185490</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;Please check for the text NEW-PAGE in both your report program that calls the sapscript and the form. Maybe in your report program you have a function module 'CONTROL_FORM' that calls a new page. Please check its condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Kindly award points for helpful replies:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 08:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-issue/m-p/1379408#M185490</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-06-21T08:49:47Z</dc:date>
    </item>
  </channel>
</rss>

