<?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: Custom Controls in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756838#M327849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELLO SRI Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I COULD NOT SIMULATE WAT U TOLD ME.......COULD U TELL ME MORE CLEARLY??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;SIRISHA MATTA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2006 08:20:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-12T08:20:35Z</dc:date>
    <item>
      <title>Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756829#M327840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me as to how a Custom Control is handled in module pool programming...............how r they declared n implemented.............can they b handled without the classes n events n methods.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking u in anticipation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sirisha Matta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756829#M327840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756830#M327841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Could you please tell me why you want a custom control in module pool program .&lt;/P&gt;&lt;P&gt;Reagdrs&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756830#M327841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T13:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756831#M327842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out transaction DWDM.  There a lots of example programs which uses custom controls with different frontend controls,  like HTML, Picture, trees and grids.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756831#M327842</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-08T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756832#M327843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, yes, you must use the appropriate class/methods to implement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756832#M327843</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-08T13:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756833#M327844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to put in a text editor in the screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756833#M327844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756834#M327845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the transaction that I mentioned, there is an example of an editor used in the Drag/Drop section,  called  Tree-&amp;gt;Editor.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 13:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756834#M327845</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-08T13:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756835#M327846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sirisha,&lt;/P&gt;&lt;P&gt;This may be helpful for you to put text editor like long text.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to screen layout, in screen painter attribute In Dict tab there ia a drop down box modify .you have to select longtext in that drop down box then save and activate the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if usefull...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SRI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 15:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756835#M327846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T15:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756836#M327847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for text editor use class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GUI_TEXTEDIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and demo program for this&lt;/P&gt;&lt;P&gt;SAPTEXTEDIT_DEMO_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2006 12:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756836#M327847</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-12-09T12:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756837#M327848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sirish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             I have just added a sample code to display a text editor...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS event_handler DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    METHODS: handle_f1 FOR EVENT f1 OF cl_gui_textedit&lt;/P&gt;&lt;P&gt;             IMPORTING sender,&lt;/P&gt;&lt;P&gt;             handle_f4 FOR EVENT f4 OF cl_gui_textedit&lt;/P&gt;&lt;P&gt;             IMPORTING sender.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code LIKE sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok LIKE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: init,&lt;/P&gt;&lt;P&gt;      container TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;      editor    TYPE REF TO cl_gui_textedit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: event_tab TYPE cntl_simple_events,&lt;/P&gt;&lt;P&gt;      event     TYPE cntl_simple_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line(256) TYPE c,&lt;/P&gt;&lt;P&gt;      text_tab LIKE STANDARD TABLE OF line,&lt;/P&gt;&lt;P&gt;      field LIKE line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA handle TYPE REF TO event_handler.&lt;/P&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;Reporting Events ***************************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  line = 'First line in TextEditControl'.&lt;/P&gt;&lt;P&gt;  APPEND line TO text_tab.&lt;/P&gt;&lt;P&gt;  line = '----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------" /&gt;&lt;P&gt;'.&lt;/P&gt;&lt;P&gt;  APPEND line TO text_tab.&lt;/P&gt;&lt;P&gt;  line = '...'.&lt;/P&gt;&lt;P&gt;  APPEND line TO text_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dialog Modules *****************************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;  IF init is initial.&lt;/P&gt;&lt;P&gt;    init = 'X'.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT',&lt;/P&gt;&lt;P&gt;                   editor    EXPORTING parent = container,&lt;/P&gt;&lt;P&gt;                   handle.&lt;/P&gt;&lt;P&gt;    event-eventid = cl_gui_textedit=&amp;gt;event_f1.&lt;/P&gt;&lt;P&gt;    event-appl_event = ' '.                     "system event&lt;/P&gt;&lt;P&gt;    APPEND event TO event_tab.&lt;/P&gt;&lt;P&gt;    event-eventid = cl_gui_textedit=&amp;gt;event_f4.&lt;/P&gt;&lt;P&gt;    event-appl_event = 'X'.                     "application event&lt;/P&gt;&lt;P&gt;    APPEND event TO event_tab.&lt;/P&gt;&lt;P&gt;    CALL METHOD: editor-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;                 EXPORTING events = event_tab.&lt;/P&gt;&lt;P&gt;    SET HANDLER handle-&amp;gt;handle_f1&lt;/P&gt;&lt;P&gt;                handle-&amp;gt;handle_f4 FOR editor.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CALL METHOD editor-&amp;gt;set_text_as_stream EXPORTING text = text_tab.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  CASE save_ok.&lt;/P&gt;&lt;P&gt;    WHEN 'INSERT'.&lt;/P&gt;&lt;P&gt;      CALL METHOD editor-&amp;gt;get_text_as_stream IMPORTING text = text_tab.&lt;/P&gt;&lt;P&gt;    WHEN 'F1'.&lt;/P&gt;&lt;P&gt;      MESSAGE i888(sabapdocu) WITH text-001.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      MESSAGE i888(sabapdocu) WITH text-002.&lt;/P&gt;&lt;P&gt;      CALL METHOD cl_gui_cfw=&amp;gt;dispatch.      "for application events&lt;/P&gt;&lt;P&gt;      MESSAGE i888(sabapdocu) WITH text-003.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  SET SCREEN 100.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Class Implementations **********************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS event_handler IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD handle_f1.&lt;/P&gt;&lt;P&gt;    DATA row TYPE i.&lt;/P&gt;&lt;P&gt;    MESSAGE i888(sabapdocu) WITH text-004.&lt;/P&gt;&lt;P&gt;    CALL METHOD sender-&amp;gt;get_selection_pos&lt;/P&gt;&lt;P&gt;         IMPORTING from_line = row.&lt;/P&gt;&lt;P&gt;    CALL METHOD sender-&amp;gt;get_line_text&lt;/P&gt;&lt;P&gt;         EXPORTING line_number = row&lt;/P&gt;&lt;P&gt;         IMPORTING text = field.&lt;/P&gt;&lt;P&gt;    CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code   "raise PAI for&lt;/P&gt;&lt;P&gt;         EXPORTING new_code = 'F1'.           "system events&lt;/P&gt;&lt;P&gt;    CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;  METHOD handle_f4.&lt;/P&gt;&lt;P&gt;    DATA row TYPE i.&lt;/P&gt;&lt;P&gt;    MESSAGE i888(sabapdocu) WITH text-005.&lt;/P&gt;&lt;P&gt;    CALL METHOD sender-&amp;gt;get_selection_pos&lt;/P&gt;&lt;P&gt;         IMPORTING from_line = row.&lt;/P&gt;&lt;P&gt;    CALL METHOD sender-&amp;gt;get_line_text&lt;/P&gt;&lt;P&gt;         EXPORTING line_number = row&lt;/P&gt;&lt;P&gt;         IMPORTING text = field.&lt;/P&gt;&lt;P&gt;    CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u can develop ur editor..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 06:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756837#M327848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T06:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Controls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756838#M327849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELLO SRI Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I COULD NOT SIMULATE WAT U TOLD ME.......COULD U TELL ME MORE CLEARLY??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;SIRISHA MATTA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 08:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-controls/m-p/1756838#M327849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T08:20:35Z</dc:date>
    </item>
  </channel>
</rss>

