<?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: sap script block positioning. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365679#M180901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Bikash,&lt;/P&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;the position of all the windows in 1st and 2nd &lt;/P&gt;&lt;P&gt;page are same.&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 13:29:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-24T13:29:36Z</dc:date>
    <item>
      <title>sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365673#M180895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;i have 2 pages in my sap script.&lt;/P&gt;&lt;P&gt;both the pages have the same "main" window.&lt;/P&gt;&lt;P&gt;i have given box command in the begining of this main window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:BOX XPOS '.5' CM YPOS '0' CM WIDTH '25' CM HEIGHT '1'  CM FRAME 0 TW  INTENSITY 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:BOX XPOS '.5' CM YPOS '0' CM WIDTH '25' CM HEIGHT 0 TW FRAME 10 TW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:BOX XPOS '.5' CM YPOS '1' CM WIDTH '25' CM HEIGHT 0 TW FRAME 10 TW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem i am facing is :the box is coming at the right place for 1st page, but at the top of the page for the next window. i think it must be taking y coord. from the top of the page for the next window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give a suitable solution for this,&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365673#M180895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365674#M180896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt; The xpos and ypos are counted from the left top most corner of the WINDOW and not the PAGE.&lt;/P&gt;&lt;P&gt;i think in your case the main window in the first page has some other window above it and the second page doesn't have any other windows above it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365674#M180896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365675#M180897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wat is the position of ur main window in the 2nd page???&lt;/P&gt;&lt;P&gt;that decides where ur box comes in 2nd page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365675#M180897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365676#M180898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Ravindra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  try this &lt;/P&gt;&lt;P&gt;BOX WIDTH 0 FRAME 10 &lt;/P&gt;&lt;P&gt;BOX HEIGHT 0 FRAME 10 &lt;/P&gt;&lt;P&gt;BOX WIDTH 5 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10&lt;/P&gt;&lt;P&gt;BOX WIDTH 7 CM HEIGHT 5 CM FRAME 10 TW INTENSITY 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the box command with zero width for vertical lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward helpful ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365676#M180898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365677#M180899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can use the IF condition.. and print the boxes accordingly..&lt;/P&gt;&lt;P&gt;like..&lt;/P&gt;&lt;P&gt;/: if &amp;amp;page&amp;amp; = 1&lt;/P&gt;&lt;P&gt;   &amp;lt;print the box as per the 1st page MAIN dimensions&amp;gt;&lt;/P&gt;&lt;P&gt;/: else&lt;/P&gt;&lt;P&gt;   &amp;lt;print the box as per the next page MAIN dimensions&amp;gt;&lt;/P&gt;&lt;P&gt;/: endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365677#M180899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365678#M180900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, naresh,&lt;/P&gt;&lt;P&gt;thanks for thhe reply,&lt;/P&gt;&lt;P&gt;i tried ur solution..&lt;/P&gt;&lt;P&gt;but again, it is taking the top left corner as origin &lt;/P&gt;&lt;P&gt;for the next page,(&amp;lt;b&amp;gt;and not top left corner of the main window&amp;lt;/b&amp;gt;).&lt;/P&gt;&lt;P&gt;thanks, Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365678#M180900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365679#M180901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Bikash,&lt;/P&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;the position of all the windows in 1st and 2nd &lt;/P&gt;&lt;P&gt;page are same.&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365679#M180901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365680#M180902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, ravi,&lt;/P&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;actually, the layout of 1st and 2nd page is exactly same.&lt;/P&gt;&lt;P&gt;also, the position of all the windows is same in both pages&lt;/P&gt;&lt;P&gt;thanks, Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365680#M180902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365681#M180903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii Ravindra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this out &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '11.21' YORIGIN '5.31' MM &lt;/P&gt;&lt;P&gt;/: SIZE HEIGHT '2' MM WIDTH '76' MM &lt;/P&gt;&lt;P&gt;/: BOX  FRAME 10 TW INTENSITY 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be usefull if you gave several boxes that share the same parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to set the position realtively to the window use POSITION WINDOW &lt;/P&gt;&lt;P&gt;to set the position to the top/left start of the window. Then use POSITION &lt;/P&gt;&lt;P&gt;to set the current position relatively to the start of the Window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: POSITION WINDOW &lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '&lt;EM&gt;5' MM  YORIGIN '&lt;/EM&gt;10' MM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the position is now 5 MM from the left and 10 MM from the top of the window &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: After using the position command you can move the current position &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;realtively to the last used position &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '&lt;EM&gt;10' MM  YORIGIN '&lt;/EM&gt;20' MM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the position will be X = 15 and Y = 30 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drawing a line. You can draw a line by setting the Height or Weidth to 0 &lt;/P&gt;&lt;P&gt;and add a frane. E.g. a horizontal line: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SIZE HEIGHT '0' MM WIDTH '200' MM &lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess this will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert  back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365681#M180903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365682#M180904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, sravanthi,&lt;/P&gt;&lt;P&gt;thanks for thhe reply,&lt;/P&gt;&lt;P&gt;we cannot do that, since the window used in both pages is same.&lt;/P&gt;&lt;P&gt;thanks, Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365682#M180904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365683#M180905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt; Put the box commands within a Text Element. then before calling the Write_Form from the program for data in the main window, call this Text element using write_form.&lt;/P&gt;&lt;P&gt; this should work..had same problem some time back...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365683#M180905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365684#M180906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi naresh,&lt;/P&gt;&lt;P&gt;thanks again for ur reply..&lt;/P&gt;&lt;P&gt;but the problem with it is that we are using the same&lt;/P&gt;&lt;P&gt;main window in both pages; and in first page , the &lt;/P&gt;&lt;P&gt;position of the box is as desired.&lt;/P&gt;&lt;P&gt;now if we change the code in the main window as u say, the &lt;/P&gt;&lt;P&gt;position of the box in the first page will be affected.&lt;/P&gt;&lt;P&gt;also, when seen in the settings&lt;DEL&gt;&amp;gt; form painter&lt;/DEL&gt;&amp;gt;graphical form painter, the position is correctly displayed in both the pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365684#M180906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365685#M180907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bikash, &lt;/P&gt;&lt;P&gt;thanks again for ur reply..&lt;/P&gt;&lt;P&gt;but the box is already within a text element(520), and the print program is RFKORD00, which cannot be modified.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365685#M180907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365686#M180908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then shift the box commands from ther to the top of the editor before all the text elements...&lt;/P&gt;&lt;P&gt;since u r not modifying the print program this problem is arising..&lt;/P&gt;&lt;P&gt;anyway try out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365686#M180908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: sap script block positioning.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365687#M180909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Ravindra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; now make a duplicate of the current form and try removing the windows below MAIN window..this will clear out if the problem is because of other windows&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;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 13:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-block-positioning/m-p/1365687#M180909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T13:56:34Z</dc:date>
    </item>
  </channel>
</rss>

