<?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: Flow text within selection sceen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000517#M955801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this work on Selection Screens, too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2008 14:00:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-17T14:00:08Z</dc:date>
    <item>
      <title>Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000515#M955799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a chance to have an input field with more lines on a selection screen? Like an input text box on va01-&amp;gt; head-&amp;gt; texts? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say, users can type in a text which is printed on a form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 13:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000515#M955799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000516#M955800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use class 'CL_GUI_TEXTEDIT'. &lt;/P&gt;&lt;P&gt;Check the program 'DEMO_CUSTOM_CONTROL'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 13:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000516#M955800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000517#M955801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this work on Selection Screens, too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 14:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000517#M955801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000518#M955802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use class CL_GUI_TEXTEDIT or if you are working on ECC6 (Netweaver7) then please check demo program RSMDS_DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 14:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000518#M955802</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-06-17T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000519#M955803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pl. follow the steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 - 	Create a sub-screen using screen painter in the repot program.&lt;/P&gt;&lt;P&gt;Step 2 -	Set the size of the sub-screen.&lt;/P&gt;&lt;P&gt;Step 3 -	Place a custom control on the screen set its name to u2018C_CONTAINERu2019 and set the size of the custom control to the size of the required multi-line input output field.&lt;/P&gt;&lt;P&gt;Step 4 -	Save and activate the sub-screen.&lt;/P&gt;&lt;P&gt;Step 5 -	Code the Data Declarations&lt;/P&gt;&lt;P&gt;	Code snippet: -	&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;Create a reference to the custom control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;DATA: v_text TYPE REF TO c_textedit_control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_line(72),&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;internal table to hold user entered text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      i_tab LIKE STANDARD TABLE OF v_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 6 - 	Define Selection Screen.&lt;/P&gt;&lt;P&gt;Displaying a sub-screen in a sub-screen area on a selection screen is a special case of a tab-strip control on a selection screen. A sub-screen area on a selection screen, is defined using following statements: &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF TABBED BLOCK  &amp;lt;sub_area&amp;gt; &lt;/P&gt;&lt;P&gt;FOR &amp;lt;n&amp;gt; LINES,&lt;/P&gt;&lt;P&gt;     END OF BLOCK &amp;lt;sub_area&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code snippet: -	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER matnr LIKE mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;Data transfer error. Your installation is faulty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF TABBED BLOCK sub FOR 6 LINES,&lt;/P&gt;&lt;P&gt;                  END OF BLOCK sub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTION	 DATE	FOR SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 7 - 	Before the selection screen is displayed, the subscreen must be assigned to the subscreen area &amp;lt;sub_area&amp;gt;. This is done in the initialization event by using the components PROG and DYNNR of the structure &amp;lt;sub_area&amp;gt;, which is created automatically when the subscreen area is defined . The program name of the sub-screen screen is assigned to the component PROG, and its screen number to DYNNR.&lt;/P&gt;&lt;P&gt;	Then Create the Multi-line Input Output custome control instance and set its properties.&lt;/P&gt;&lt;P&gt;The Constructor parameters are explained below &lt;/P&gt;&lt;P&gt;a) wordwrap_mode  can have following values.&lt;/P&gt;&lt;P&gt;WORDWRAP_OFF = 0: No line break&lt;/P&gt;&lt;P&gt;WORDWRAP_AT_WINDOW_BORDER = 1: Line break at the edge of the window&lt;/P&gt;&lt;P&gt;WORDWRAP_AT_FIXED_POSITION = 2: Line break at a fixed position&lt;/P&gt;&lt;P&gt;b) wordwrap_position	 Position for the automatic line break in a line (if &amp;lt;wordwrap_mode&amp;gt; = 2)&lt;/P&gt;&lt;P&gt;c) wordwrap_to_linebreak_mode  Converts soft line breaks to hard ones when you save in the R/3 System.&lt;/P&gt;&lt;P&gt;0 or false: Soft line breaks are ignored when you save&lt;/P&gt;&lt;P&gt;1 or true: Soft line breaks are converted to hard breaks when you save&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	The method set_statusbar_mode allows to show or hide the status bar of the control. It has following parameter possible values.&lt;/P&gt;&lt;P&gt;a)	statusbar_mode&lt;/P&gt;&lt;P&gt;True: Status bar visible&lt;/P&gt;&lt;P&gt;False: Status bar invisible&lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;	The method set_toolbar_mode allows to show or hide the toolbar. It has following parameter possible values.&lt;/P&gt;&lt;P&gt;b)	toolbar_mode&lt;/P&gt;&lt;P&gt;True: Toolbar visible&lt;/P&gt;&lt;P&gt;False: Toolbar invisible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Code snippet: -	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  sub-prog = sy-repid.&lt;/P&gt;&lt;P&gt;  sub-dynnr = 110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;create an object of class c_textedit_control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CREATE OBJECT v_text &lt;/P&gt;&lt;P&gt;EXPORTING repid = sy-repid&lt;/P&gt;&lt;P&gt;                       dynpro_container = u2018C_CONTAINERu2019&lt;/P&gt;&lt;P&gt;                       wordwrap_mode = 2&lt;/P&gt;&lt;P&gt;                       wordwrap_position = 70&lt;/P&gt;&lt;P&gt;                       wordwrap_to_linebreak_mode = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;set the status bar display off&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD v_text -&amp;gt;set_statusbar_mode &lt;/P&gt;&lt;P&gt;EXPORTING statusbar_mode = '0'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;set the toolbar display off&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD v_text -&amp;gt;set_toolbar_mode   &lt;/P&gt;&lt;P&gt;EXPORTING toolbar_mode   = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 8 -	Code the flow logic of the sub-screen.&lt;/P&gt;&lt;P&gt;	Code snippet: -	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt; MODULE PAI.&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;Step 9 - 	Code the PBO and PAI modules.&lt;/P&gt;&lt;P&gt;	Code snippet: -	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****PBO Module.&lt;/P&gt;&lt;P&gt;MODULE PBO OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD v_text -&amp;gt;set_text_as_r3table &lt;/P&gt;&lt;P&gt;EXPORTING table = i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Synchronize the front and back ends&lt;/P&gt;&lt;P&gt;  CALL METHOD c_textedit_control=&amp;gt;flush&lt;/P&gt;&lt;P&gt;                     EXCEPTIONS&lt;/P&gt;&lt;P&gt;                             flush_error = 01.&lt;/P&gt;&lt;P&gt;  IF NOT sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;Data transfer error. Your installation is faulty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE a001(cndp).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " PBO  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****PAI Module.&lt;/P&gt;&lt;P&gt;MODULE PAI INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD v_es_1-&amp;gt;get_text_as_r3table &lt;/P&gt;&lt;P&gt;IMPORTING table = i_sys_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " PAI  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 10 - 	Save and activate the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 14:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000519#M955803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T14:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flow text within selection sceen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000520#M955804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will work in Module Pool programs. You can upload data from this textbox in the PAI module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 15:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flow-text-within-selection-sceen/m-p/4000520#M955804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T15:00:25Z</dc:date>
    </item>
  </channel>
</rss>

