<?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: text box. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379456#M811452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a selection screen,input field can be defined using PARAMETER or SELECT-OPTIONS components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In your case,PARAMETERS is a better option. &lt;/P&gt;&lt;P&gt;However using PARAMETERS,the maximum length of the input field is 132. The maximum visible length of the input field is between 39 and 45, depending on the nesting depth in blocks with frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Keeping this in mind,you can declare different parameters with max. length of 132 to write a paragraph of lengh 500 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1. &lt;/P&gt;&lt;P&gt;    PARAMETERS:&lt;/P&gt;&lt;P&gt;        ROW1(132)  TYPE  C,&lt;/P&gt;&lt;P&gt;        ROW2(132)  TYPE  C,&lt;/P&gt;&lt;P&gt;       - - - - - - - - - - - - - - - - - - - - -&lt;/P&gt;&lt;P&gt;       - - - - - - - - - - - - - - - - -- - - --  &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you wish to make the contents of the paragraph visible in the input field,you need to declare parameters with max. visible length of the input field between 39 and 45.&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;Regards,&lt;/P&gt;&lt;P&gt;  Kaveri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 09:38:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-18T09:38:08Z</dc:date>
    <item>
      <title>text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379454#M811450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiiiiiiiiii&lt;/P&gt;&lt;P&gt;hi i want a text box in a selection-screen as a input field &lt;/P&gt;&lt;P&gt;in that i want to write a paragraph upto 500 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls tell me the coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 07:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379454#M811450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T07:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379455#M811451</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;In this case write the description as selcection screen comment, and then input box (select option) on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE. &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN COMMENT 10(20) TEXT-001 &lt;/P&gt;&lt;P&gt;                   FOR FIELD PARM. &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN POSITION POS_LOW. &lt;/P&gt;&lt;P&gt;  PARAMETERS PARM LIKE SAPLANE-PLANETYPE. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other option is to provide F1 help for the selection screen input box.&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;Thanks,&lt;/P&gt;&lt;P&gt;Harikrishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 07:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379455#M811451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T07:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379456#M811452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a selection screen,input field can be defined using PARAMETER or SELECT-OPTIONS components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In your case,PARAMETERS is a better option. &lt;/P&gt;&lt;P&gt;However using PARAMETERS,the maximum length of the input field is 132. The maximum visible length of the input field is between 39 and 45, depending on the nesting depth in blocks with frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Keeping this in mind,you can declare different parameters with max. length of 132 to write a paragraph of lengh 500 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1. &lt;/P&gt;&lt;P&gt;    PARAMETERS:&lt;/P&gt;&lt;P&gt;        ROW1(132)  TYPE  C,&lt;/P&gt;&lt;P&gt;        ROW2(132)  TYPE  C,&lt;/P&gt;&lt;P&gt;       - - - - - - - - - - - - - - - - - - - - -&lt;/P&gt;&lt;P&gt;       - - - - - - - - - - - - - - - - -- - - --  &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you wish to make the contents of the paragraph visible in the input field,you need to declare parameters with max. visible length of the input field between 39 and 45.&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;Regards,&lt;/P&gt;&lt;P&gt;  Kaveri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379456#M811452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379457#M811453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edited by: priya padhee on Feb 18, 2008 11:56 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: priya padhee on Feb 18, 2008 11:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379457#M811453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379458#M811454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BLCK1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_EBELN FOR EKKO-EBELN MODIF ID RD1,&lt;/P&gt;&lt;P&gt;                S_ANFNR FOR EKPO-ANFNR MODIF ID RD2,&lt;/P&gt;&lt;P&gt;                S_EKORG FOR EKKO-EKORG.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_PO  RADIOBUTTON GROUP RAD1 USER-COMMAND USR DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            P_KON  RADIOBUTTON GROUP RAD1,&lt;/P&gt;&lt;P&gt;            P_RFQ RADIOBUTTON GROUP RAD1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BLCK1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF P_PO = 'X' OR P_KON = 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'RD2'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'RD1'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 18, 2008 2:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 11:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379458#M811454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T11:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: text box.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379459#M811455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Look at class cl_gui_textedit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Screen&lt;/P&gt;&lt;P&gt;In dynpro create a custom container, call it 'INPUTBOX' or so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) In program top, declare&lt;/P&gt;&lt;P&gt;codeDATA: container TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;editor TYPE REF TO cl_gui_textedit.[/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) in PBO&lt;/P&gt;&lt;P&gt;if editor is initial.&lt;/P&gt;&lt;P&gt;CREATE OBJECT: container EXPORTING container_name = 'TEXTBOX',&lt;/P&gt;&lt;P&gt;editor EXPORTING parent = container&lt;/P&gt;&lt;P&gt;wordwrap_mode = 2&lt;/P&gt;&lt;P&gt;wordwrap_position = 80&lt;/P&gt;&lt;P&gt;wordwrap_to_linebreak_mode = 1.&lt;/P&gt;&lt;P&gt;CALL METHOD editor-&amp;gt;set_text_as_r3table&lt;/P&gt;&lt;P&gt;EXPORTING table = texttab.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(4) in PAI&lt;/P&gt;&lt;P&gt;read the text&lt;/P&gt;&lt;P&gt;codeIF NOT init IS INITIAL.&lt;/P&gt;&lt;P&gt;CALL METHOD editor-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;IMPORTING table = texttab.[/code]&lt;/P&gt;&lt;P&gt;exit and release&lt;/P&gt;&lt;P&gt;code CALL METHOD editor-&amp;gt;free.&lt;/P&gt;&lt;P&gt;CALL METHOD container-&amp;gt;free.&lt;/P&gt;&lt;P&gt;CLEAR: editor, container.&lt;/P&gt;&lt;P&gt;ENDIF.[/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at SAP Textedit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 11:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-box/m-p/3379459#M811455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T11:24:13Z</dc:date>
    </item>
  </channel>
</rss>

