<?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: SAPScript: Box Problem?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872417#M50134</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;Instead of using static box; calculate the position of Y coordinate by using ABAP subroutine in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer the following code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM 'XXXXXX' IN PROGRAM 'ZXXXXXX'&lt;/P&gt;&lt;P&gt;/:                          USING    &amp;amp;FLAG&amp;amp;&lt;/P&gt;&lt;P&gt;/:                          USING    &amp;amp;PAGENO&amp;amp;&lt;/P&gt;&lt;P&gt;/:                          CHANGING &amp;amp;YP&amp;amp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/* FOR FIRST PAGE&lt;/P&gt;&lt;P&gt;/: IF &amp;amp;PAGE(C)&amp;amp; = 1&lt;/P&gt;&lt;P&gt;/* THE TOP LINE&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '4.5' CH YORIGIN '44.0' LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '68' CH HEIGHT '0' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st vertical line&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '4.5' CH YORIGIN &amp;amp;YP&amp;amp; LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '0' CH HEIGHT '1' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;/* The 2nd vertical line&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '24.0' CH YORIGIN &amp;amp;YP&amp;amp; LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '0' CH HEIGHT '1' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2005 06:30:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-05T06:30:19Z</dc:date>
    <item>
      <title>SAPScript: Box Problem??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872415#M50132</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 need a dynamic box size on Main Window, here are the conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I Script layout output is going Beyond one page then I need BOX1 on Main Window, otherwise, if output is limited to one page then BOX2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am trying to display line items in main window A a Tabular format using boxes. If line itmes are filling half the page, then half page size box should get printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get this?? any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vipin Nagpal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 04:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872415#M50132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-05T04:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript: Box Problem??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872416#M50133</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;If you count the number of line items in program then you will be able to put "IF" condition in sapscript to decide where to show box1 or box2.&lt;/P&gt;&lt;P&gt;If you know the number of line items that will be shown on one page if item increased then that you will show box1 if number of records are less than that can be shown on one page than you will show box2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;wasim ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 06:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872416#M50133</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2005-04-05T06:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript: Box Problem??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872417#M50134</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;Instead of using static box; calculate the position of Y coordinate by using ABAP subroutine in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer the following code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM 'XXXXXX' IN PROGRAM 'ZXXXXXX'&lt;/P&gt;&lt;P&gt;/:                          USING    &amp;amp;FLAG&amp;amp;&lt;/P&gt;&lt;P&gt;/:                          USING    &amp;amp;PAGENO&amp;amp;&lt;/P&gt;&lt;P&gt;/:                          CHANGING &amp;amp;YP&amp;amp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/* FOR FIRST PAGE&lt;/P&gt;&lt;P&gt;/: IF &amp;amp;PAGE(C)&amp;amp; = 1&lt;/P&gt;&lt;P&gt;/* THE TOP LINE&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '4.5' CH YORIGIN '44.0' LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '68' CH HEIGHT '0' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st vertical line&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '4.5' CH YORIGIN &amp;amp;YP&amp;amp; LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '0' CH HEIGHT '1' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;/* The 2nd vertical line&lt;/P&gt;&lt;P&gt;/: POSITION PAGE&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '24.0' CH YORIGIN &amp;amp;YP&amp;amp; LN&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '0' CH HEIGHT '1' LN&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 06:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-box-problem/m-p/872417#M50134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-05T06:30:19Z</dc:date>
    </item>
  </channel>
</rss>

