<?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/2096165#M436449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           To draw lines and boxes in scripts some of the tips given might be &lt;/P&gt;&lt;P&gt;                     useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;                  BOXES and LINES&lt;/P&gt;&lt;P&gt;                      To use boxes in the form or to create a table in the form &lt;/P&gt;&lt;P&gt;                  we use BOX statement. a table can be constructed by using a &lt;/P&gt;&lt;P&gt;                  combination of BOXes.&lt;/P&gt;&lt;P&gt;                    /:BOX XPOS val unit YPOS val unit WIDTH val HEIGHT val &lt;/P&gt;&lt;P&gt;                  INTENSITY val  FRAME val unit .&lt;/P&gt;&lt;P&gt;                   The Unit used in the sapscript cane be:&lt;/P&gt;&lt;P&gt;                  TW   twip&lt;/P&gt;&lt;P&gt;                  MM  milimeter&lt;/P&gt;&lt;P&gt;                  CM   centimeter&lt;/P&gt;&lt;P&gt;                  LN    line&lt;/P&gt;&lt;P&gt;                  CH    character&lt;/P&gt;&lt;P&gt;                  IN     inch&lt;/P&gt;&lt;P&gt;                  PT    point&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  The parameters like WIDTH , XPOS etc should be followed by a &lt;/P&gt;&lt;P&gt;                  proper unit.&lt;/P&gt;&lt;P&gt;                  The INTENSITY is in the percentage of the grey scale.&lt;/P&gt;&lt;P&gt;                  The FRAME parameter is the thickness of the frame the default &lt;/P&gt;&lt;P&gt;                  value is 0.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5'  CM YPOS '2' CM WIDTH '14' CM HEIGHT '20' CM &lt;/P&gt;&lt;P&gt;                  FRAME 20 TW INTENSITY 10.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX INTENSITY 10 &lt;/P&gt;&lt;P&gt;                  will fill the current window background with a shading of grey &lt;/P&gt;&lt;P&gt;                  scale 10%..&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  To draw a horizontal line we set the HEIGHT parameter to the &lt;/P&gt;&lt;P&gt;                  value of 0.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5' CM HEIGHT 0 TW FRAME 10 TW.&lt;/P&gt;&lt;P&gt;                  This will draw a horizontal line across the top edge of the &lt;/P&gt;&lt;P&gt;                  window.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  To draw a horizontal line  we should set the value of WIDTH &lt;/P&gt;&lt;P&gt;                  parameter to 0.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5' CM YPOS WIDTH '0' TW FRAME 10 TW.&lt;/P&gt;&lt;P&gt;                  This will draw a vertical line across the complete height of &lt;/P&gt;&lt;P&gt;                  the left edge of the current window.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  POSITION and SIZE&lt;/P&gt;&lt;P&gt;                    We can use POSITION and SIZE to set default position and &lt;/P&gt;&lt;P&gt;                  size of the window and also for relative positioning. With &lt;/P&gt;&lt;P&gt;                  POSITION we can use the paramters XORIGIN , YORIGIN ,WINDOW. &lt;/P&gt;&lt;P&gt;                  With SIZE we can use WIDTH and HEIGHT and WINDOW and PAGE.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:POSITION XORIGIN '5' CM YORIGIN '5'CM &lt;/P&gt;&lt;P&gt;                  /:SIZE HEIGHT '5' CM WIDTH '14' CM&lt;/P&gt;&lt;P&gt;                  /:BOX FRAME 10 TW INTENSITY 10&amp;lt;/b&amp;gt;&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;&lt;/P&gt;&lt;P&gt;Shanmuga Perumal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2007 06:29:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-19T06:29:02Z</dc:date>
    <item>
      <title>scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096163#M436447</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;How to draw vertical lines from a specific position.Please clarify abt xpos and ypos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nasru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 06:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096163#M436447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096164#M436448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;sy-vline&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 06:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096164#M436448</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-04-19T06:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096165#M436449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           To draw lines and boxes in scripts some of the tips given might be &lt;/P&gt;&lt;P&gt;                     useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;                  BOXES and LINES&lt;/P&gt;&lt;P&gt;                      To use boxes in the form or to create a table in the form &lt;/P&gt;&lt;P&gt;                  we use BOX statement. a table can be constructed by using a &lt;/P&gt;&lt;P&gt;                  combination of BOXes.&lt;/P&gt;&lt;P&gt;                    /:BOX XPOS val unit YPOS val unit WIDTH val HEIGHT val &lt;/P&gt;&lt;P&gt;                  INTENSITY val  FRAME val unit .&lt;/P&gt;&lt;P&gt;                   The Unit used in the sapscript cane be:&lt;/P&gt;&lt;P&gt;                  TW   twip&lt;/P&gt;&lt;P&gt;                  MM  milimeter&lt;/P&gt;&lt;P&gt;                  CM   centimeter&lt;/P&gt;&lt;P&gt;                  LN    line&lt;/P&gt;&lt;P&gt;                  CH    character&lt;/P&gt;&lt;P&gt;                  IN     inch&lt;/P&gt;&lt;P&gt;                  PT    point&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  The parameters like WIDTH , XPOS etc should be followed by a &lt;/P&gt;&lt;P&gt;                  proper unit.&lt;/P&gt;&lt;P&gt;                  The INTENSITY is in the percentage of the grey scale.&lt;/P&gt;&lt;P&gt;                  The FRAME parameter is the thickness of the frame the default &lt;/P&gt;&lt;P&gt;                  value is 0.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5'  CM YPOS '2' CM WIDTH '14' CM HEIGHT '20' CM &lt;/P&gt;&lt;P&gt;                  FRAME 20 TW INTENSITY 10.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX INTENSITY 10 &lt;/P&gt;&lt;P&gt;                  will fill the current window background with a shading of grey &lt;/P&gt;&lt;P&gt;                  scale 10%..&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  To draw a horizontal line we set the HEIGHT parameter to the &lt;/P&gt;&lt;P&gt;                  value of 0.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5' CM HEIGHT 0 TW FRAME 10 TW.&lt;/P&gt;&lt;P&gt;                  This will draw a horizontal line across the top edge of the &lt;/P&gt;&lt;P&gt;                  window.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  To draw a horizontal line  we should set the value of WIDTH &lt;/P&gt;&lt;P&gt;                  parameter to 0.&lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:BOX XPOS '5' CM YPOS WIDTH '0' TW FRAME 10 TW.&lt;/P&gt;&lt;P&gt;                  This will draw a vertical line across the complete height of &lt;/P&gt;&lt;P&gt;                  the left edge of the current window.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  POSITION and SIZE&lt;/P&gt;&lt;P&gt;                    We can use POSITION and SIZE to set default position and &lt;/P&gt;&lt;P&gt;                  size of the window and also for relative positioning. With &lt;/P&gt;&lt;P&gt;                  POSITION we can use the paramters XORIGIN , YORIGIN ,WINDOW. &lt;/P&gt;&lt;P&gt;                  With SIZE we can use WIDTH and HEIGHT and WINDOW and PAGE.&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;                  e.g.&lt;/P&gt;&lt;P&gt;                  /:POSITION XORIGIN '5' CM YORIGIN '5'CM &lt;/P&gt;&lt;P&gt;                  /:SIZE HEIGHT '5' CM WIDTH '14' CM&lt;/P&gt;&lt;P&gt;                  /:BOX FRAME 10 TW INTENSITY 10&amp;lt;/b&amp;gt;&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;&lt;/P&gt;&lt;P&gt;Shanmuga Perumal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 06:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096165#M436449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T06:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096166#M436450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nasru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;Boxes, Lines, Shading: BOX, POSITION, SIZE &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY] &lt;/P&gt;&lt;P&gt;/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE] &lt;/P&gt;&lt;P&gt;/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]&lt;/P&gt;&lt;P&gt;BOX Command&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Effect: draws a box of the specified size at the specified position.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;XPOS, YPOS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Upper left corner of the box, relative to the values of the POSITION command. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: Values specified in the POSITION command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The following calculation is performed internally to determine the absolute output position of a box on the page: &lt;/P&gt;&lt;P&gt;X(abs) = XORIGIN + XPOS &lt;/P&gt;&lt;P&gt;Y(abs) = YORIGIN + YPOS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WIDTH&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Width of the box. Default: WIDTH value of the SIZE command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;HEIGHT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Height of the box. Default: HEIGHT value of the SIZE command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FRAME&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thickness of frame.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: 0 (no frame).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INTENSITY&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Grayscale of box contents as %.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: 100 (full black)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Units of measurement: The following units of measurement may be used:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TW (twip)&lt;/P&gt;&lt;P&gt;PT (point) &lt;/P&gt;&lt;P&gt;IN (inch) &lt;/P&gt;&lt;P&gt;MM (millimeter) &lt;/P&gt;&lt;P&gt;CM (centimeter) &lt;/P&gt;&lt;P&gt;LN (line) &lt;/P&gt;&lt;P&gt;CH (character). &lt;/P&gt;&lt;P&gt;The following conversion factors apply: &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1 TW = 1/20 PT &lt;/P&gt;&lt;P&gt;1 PT = 1/72 IN &lt;/P&gt;&lt;P&gt;1 IN = 2.54 CM &lt;/P&gt;&lt;P&gt;1 CM = 10 MM &lt;/P&gt;&lt;P&gt;1 CH = height of a character relative to the CPI specification in the form header &lt;/P&gt;&lt;P&gt;1 LN = height of a line relative to the LPI specification in the form header&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX INTENSITY 10 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Fills the window background with shading having a gray scale of 10 %.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX HEIGHT 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a horizontal line across the complete top edge of the window.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX WIDTH 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a vertical line along the complete height of the left hand edge of the window.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;POSITION Command&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&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, 19 Apr 2007 06:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096166#M436450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096167#M436451</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;&amp;lt;b&amp;gt;to draw vertical lines&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;Two ways of doing it&lt;/P&gt;&lt;P&gt;put the Y-origin as a variable and write the box command&lt;/P&gt;&lt;P&gt;and put the height as 1..and keep incrementing the y-origin variable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;put the height as variable and keep incrementing it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use BOX command..&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]&lt;/P&gt;&lt;P&gt;Effect: draws a box of the specified size at the specified position.&lt;/P&gt;&lt;P&gt;Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default: Values specified in the POSITION command.&lt;/P&gt;&lt;P&gt;The following calculation is performed internally to determine the absolute output position of a box on the page: &lt;/P&gt;&lt;P&gt;X(abs) = XORIGIN + XPOS &lt;/P&gt;&lt;P&gt;Y(abs) = YORIGIN + YPOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.&lt;/P&gt;&lt;P&gt;3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.&lt;/P&gt;&lt;P&gt;4. FRAME: Thickness of frame.&lt;/P&gt;&lt;P&gt;Default: 0 (no frame).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. INTENSITY: Grayscale of box contents as % .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default: 100 (full black)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.&lt;/P&gt;&lt;P&gt;Units of measurement: The following units of measurement may be used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; TW (twip)&lt;/P&gt;&lt;P&gt;&amp;#149; PT (point) &lt;/P&gt;&lt;P&gt;&amp;#149; IN (inch) &lt;/P&gt;&lt;P&gt;&amp;#149; MM (millimeter) &lt;/P&gt;&lt;P&gt;&amp;#149; CM (centimeter) &lt;/P&gt;&lt;P&gt;&amp;#149; LN (line) &lt;/P&gt;&lt;P&gt;&amp;#149; CH (character). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following conversion factors apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; 1 TW = 1/20 PT &lt;/P&gt;&lt;P&gt;&amp;#149; 1 PT = 1/72 IN &lt;/P&gt;&lt;P&gt;&amp;#149; 1 IN = 2.54 CM &lt;/P&gt;&lt;P&gt;&amp;#149; 1 CM = 10 MM &lt;/P&gt;&lt;P&gt;&amp;#149; 1 CH = height of a character relative to the CPI specification in the layout set header &lt;/P&gt;&lt;P&gt;&amp;#149; 1 LN = height of a line relative to the LPI specification in the layout set header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW &lt;/P&gt;&lt;P&gt;Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).&lt;/P&gt;&lt;P&gt;/: BOX INTENSITY 10 &lt;/P&gt;&lt;P&gt;Fills the window background with shadowing having a gray scale of 10 %.&lt;/P&gt;&lt;P&gt;/: BOX HEIGHT 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt;Draws a horizontal line across the complete top edge of the window.&lt;/P&gt;&lt;P&gt;/: BOX WIDTH 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt;Draws a vertical line along the complete height of the left hand edge of the window.&lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;&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;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 06:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096167#M436451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T06:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096168#M436452</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;u can drew the vertical line with dis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; /: BOX WIDTH '25' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '25' CM HEIGHT '10' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '10' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '10' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 06:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/2096168#M436452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T06:40:06Z</dc:date>
    </item>
  </channel>
</rss>

