<?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: Module Pool Programming - Calling SAP Standard Text Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643969#M1093063</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;If you don't want to use OO, u can also call the fm EDIT_TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 15:29:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-22T15:29:58Z</dc:date>
    <item>
      <title>Module Pool Programming - Calling SAP Standard Text Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643967#M1093061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus&lt;/P&gt;&lt;P&gt;I am working on Module Pool Programming...In the one of the screen there is a column named "Description"  where I need to keep a Button to call a SAP standard text editing screen and what ever information I enter in the field should be downloadable&lt;/P&gt;&lt;P&gt;is this option possible?If so...Plz send me the Sample code&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643967#M1093061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T15:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Programming - Calling SAP Standard Text Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643968#M1093062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gani,&lt;/P&gt;&lt;P&gt;I can help you till getting the text editor in your module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TOP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PROGRAM  ZREDDY_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: line_length type i value 132.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; reference to wrapper class of control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_editor type ref to cl_gui_textedit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; reference to custom container: necessary to bind TextEdit Control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_editor_container type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_repid like sy-repid,                        " getting program name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_ok_code like sy-ucomm,                " return code from screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_mytable(132) type c occurs 0,        " getting the text of table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_mycontainer(30) type c,                " string for the containers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   v_result(256) type c,                        " getting the text of table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   gw_thead like thead,                        " for header information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   it_line type table of tline with header line. " internal table of type tline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PBO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0900 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZTEXT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if g_editor is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; create control container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   create object g_editor_container&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;   container_name = '&lt;STRONG&gt;CUSTOM_CONTROL&lt;/STRONG&gt;' " Make sure when you create custom container in layout give name as Custom container&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;   g_mycontainer = 'CUSTOM_CONTROL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create calls constructor, which initializes, creates and links&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;TextEdit Control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object g_editor&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;   parent = g_editor_container&lt;/P&gt;&lt;P&gt;   wordwrap_mode =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;cl_gui_textedit=&amp;gt;wordwrap_off&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;cl_gui_textedit=&amp;gt;WORDWRAP_AT_WINDOWBORDER&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;   refresh g_mytable.  " to initialize table upon OK_CODE 'BACK' at PAI&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0900  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Balu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Balu CH on Oct 22, 2008 8:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643968#M1093062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T15:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Programming - Calling SAP Standard Text Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643969#M1093063</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;If you don't want to use OO, u can also call the fm EDIT_TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643969#M1093063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T15:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Programming - Calling SAP Standard Text Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643970#M1093064</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;You can Call Standard SAP Text Editing Screen by using Statement EDITOR-CALL , or you can use the Class cl_gui_textedit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to call these statements in the Case Statement for the Sy-Ucomm field of your Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I am not very sure about your second question.....&lt;/P&gt;&lt;P&gt;When you say "what ever information I enter in the field should be downloadable", Do you want to say that you want to save the entered text into SAP???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please specify.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643970#M1093064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T15:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Programming - Calling SAP Standard Text Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643971#M1093065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus&lt;/P&gt;&lt;P&gt;   Thanks For all the Answers....&lt;/P&gt;&lt;P&gt;Hi Ajay&lt;/P&gt;&lt;P&gt;This text should be able to be downloaded with all information being moved to an Excel spreadsheet.  &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 16:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programming-calling-sap-standard-text-screen/m-p/4643971#M1093065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T16:27:22Z</dc:date>
    </item>
  </channel>
</rss>

