<?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: Screen element Box length. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112034#M1185905</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;max length =132 becoz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;132-character ====1 line in SAPscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum permitted length of a parameter on the selection screen is 45 (scrollable up to length 132).&lt;/P&gt;&lt;P&gt; If you have defined it longer than this the parameter is truncated on the selection screen after the 132nd character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By pre-setting arguments with POSITION and SIZE, you can work around the limitation on the length of a command. You do not need to specify the preset arguments in the BOX command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With POSITION; you can adjust the position of a line or box relative to a window much more precisely. &lt;/P&gt;&lt;P&gt;In the POSITION command, you can specify positive and negative offsets and use non-integer numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: The commands shown below position a box slightly to the left and slightly above a window. &lt;/P&gt;&lt;P&gt;This leaves a margin between the edge of the box and the text in the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN u2019-.2u2019 CM YORIGIN u2019-.2u2019 CM&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH u2019&lt;EM&gt;.2u2019 CM HEIGHT u2019&lt;/EM&gt;.2u2019 CM&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;Jayapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2009 15:09:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-26T15:09:05Z</dc:date>
    <item>
      <title>Screen element Box length.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112033#M1185904</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;I created a screen and I am trying to group certain fields using the screen element box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create that, the max length it allows is only 132 Chars. Is there any way to stretch it beyond that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is that a pre-defined max length? or Am I doing anything wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2009 14:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112033#M1185904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-26T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Screen element Box length.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112034#M1185905</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;max length =132 becoz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;132-character ====1 line in SAPscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum permitted length of a parameter on the selection screen is 45 (scrollable up to length 132).&lt;/P&gt;&lt;P&gt; If you have defined it longer than this the parameter is truncated on the selection screen after the 132nd character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By pre-setting arguments with POSITION and SIZE, you can work around the limitation on the length of a command. You do not need to specify the preset arguments in the BOX command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With POSITION; you can adjust the position of a line or box relative to a window much more precisely. &lt;/P&gt;&lt;P&gt;In the POSITION command, you can specify positive and negative offsets and use non-integer numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: The commands shown below position a box slightly to the left and slightly above a window. &lt;/P&gt;&lt;P&gt;This leaves a margin between the edge of the box and the text in the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN u2019-.2u2019 CM YORIGIN u2019-.2u2019 CM&lt;/P&gt;&lt;P&gt;/: SIZE WIDTH u2019&lt;EM&gt;.2u2019 CM HEIGHT u2019&lt;/EM&gt;.2u2019 CM&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;Jayapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2009 15:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112034#M1185905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-26T15:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Screen element Box length.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112035#M1185906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to look into using the editor object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something along these lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  IF container IS INITIAL.
    CREATE OBJECT container
       EXPORTING container_name = 'TEXT_CTRL'.

    CREATE OBJECT editor
       EXPORTING parent = container
           wordwrap_mode = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position
           wordwrap_position = 80
           wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true.
  ENDIF.

  IF ok_0010 = 'DISP' OR ok_0010 = 'DELE'
  OR ( ok_0010 = 'CHAN' AND tax_edit EQ 'Y' ).
    CALL METHOD editor-&amp;gt;set_readonly_mode
       EXPORTING readonly_mode = '1'.
  ELSE.
    CALL METHOD editor-&amp;gt;set_readonly_mode
       EXPORTING readonly_mode = '0'.
  ENDIF.

* call method editor-&amp;gt;set_text_as_stream
  CALL METHOD editor-&amp;gt;set_text_as_r3table
        EXPORTING table   = text_130.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2009 15:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112035#M1185906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-26T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Screen element Box length.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112036#M1185907</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;Thanks a lot....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2009 16:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-element-box-length/m-p/5112036#M1185907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-26T16:46:28Z</dc:date>
    </item>
  </channel>
</rss>

