<?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 multiple lines in screen painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046568#M1173145</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;How can i enable multi lines entry in screen painter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sigle line text right now but user wants ability to enter multiple line since single lines dont suffice their requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tahnks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 10:34:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-20T10:34:27Z</dc:date>
    <item>
      <title>multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046568#M1173145</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;How can i enable multi lines entry in screen painter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sigle line text right now but user wants ability to enter multiple line since single lines dont suffice their requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tahnks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046568#M1173145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046569#M1173146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Text Box in screen painter and in the properties of the text box, we have an option to enable Multiple line entry. The option is called "&lt;STRONG&gt;Scrollable&lt;/STRONG&gt;". You would find it just below the option Dropdown. You need to check that option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram Kumar on Jan 20, 2009 4:15 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram Kumar on Jan 20, 2009 4:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046569#M1173146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046570#M1173147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the steps that i had given and i think it is not possible.&lt;/P&gt;&lt;P&gt;So searched in sdn and found a link that might be useful for your requirement. Kindly check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link: [&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6699366"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046570#M1173147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046571#M1173148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Ram that almost solves my problem but the user requires to see all the text he/she enters, which means i have to make the text box bigger, and not just a single line size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046571#M1173148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046572#M1173149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashsih,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please verify the above given thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046572#M1173149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046573#M1173150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish.&lt;/P&gt;&lt;P&gt; If u want multiple line in screen u can go for container (implimenting text edit control).this is oops concept if u are intrested i can share u sample program of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 12:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046573#M1173150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046574#M1173151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Raghu , that will be very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 13:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046574#M1173151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T13:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046575#M1173152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1: Creating the TextEdit control&lt;/P&gt;&lt;P&gt;This is a simple example of how to implement a text edit control.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;1.	Create a report &lt;/P&gt;&lt;P&gt;2.	In the start of selection event add: SET SCREEN '100'. &lt;/P&gt;&lt;P&gt;3.	Create screen 100 &lt;/P&gt;&lt;P&gt;4.	Place a custom control on the screen by choosing the custom control icon which can be recognized by the letter 'C', and give it the name MYCONTAINER1. &lt;/P&gt;&lt;P&gt;5.	To be able to exit the program, add a pushbutton with the function code EXIT. &lt;/P&gt;&lt;P&gt;6.	In the elements list enter the name OK_CODE for the element of type OK.&lt;/P&gt;&lt;P&gt;The code&lt;/P&gt;&lt;P&gt;REPORT sapmz_hf_controls1 .&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;  line_length TYPE i VALUE 254.&lt;/P&gt;&lt;P&gt;DATA: ok_code LIKE sy-ucomm.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create reference to the custom container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  custom_container TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create reference to the TextEdit control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  editor TYPE REF TO cl_gui_textedit,&lt;/P&gt;&lt;P&gt;  repid LIKE sy-repid.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SET SCREEN '100'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      MODULE USER_COMMAND_0100 INPUT                                *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The TextEdit control should only be initialized the first time the&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PBO module executes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF editor IS INITIAL.&lt;/P&gt;&lt;P&gt;    repid = sy-repid.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Create obejct for custom container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CREATE OBJECT custom_container&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name              = 'MYCONTAINER1'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        cntl_error                  = 1&lt;/P&gt;&lt;P&gt;        cntl_system_error           = 2&lt;/P&gt;&lt;P&gt;        create_error                = 3&lt;/P&gt;&lt;P&gt;        lifetime_error              = 4&lt;/P&gt;&lt;P&gt;        lifetime_dynpro_dynpro_link = 5&lt;/P&gt;&lt;P&gt;        others                      = 6&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Create obejct for the TextEditor control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CREATE OBJECT editor&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;         wordwrap_mode          =&lt;/P&gt;&lt;P&gt;                cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;         wordwrap_position      = line_length&lt;/P&gt;&lt;P&gt;         wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;        parent                  = custom_container&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        error_cntl_create      = 1&lt;/P&gt;&lt;P&gt;        error_cntl_init        = 2&lt;/P&gt;&lt;P&gt;        error_cntl_link        = 3&lt;/P&gt;&lt;P&gt;        error_dp_create        = 4&lt;/P&gt;&lt;P&gt;        gui_type_not_supported = 5&lt;/P&gt;&lt;P&gt;        others                 = 6&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;The result&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;hope this will be helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 03:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-screen-painter/m-p/5046575#M1173152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-21T03:55:53Z</dc:date>
    </item>
  </channel>
</rss>

