<?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 CONTROL  ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564467#M857779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;refer to the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c2/27e14e59ed11d29bd90000e8a47b2e/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c2/27e14e59ed11d29bd90000e8a47b2e/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 04:45:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-25T04:45:08Z</dc:date>
    <item>
      <title>CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564464#M857776</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;&lt;/P&gt;&lt;P&gt;please give the idea of how to use DEMO CUSTOM CONTROL in screen painter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 14:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564464#M857776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564465#M857777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/index.html" target="test_blank"&gt;http://www.saptechnical.com/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/ABAP" target="test_blank"&gt;http://en.wikipedia.org/wiki/ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sowjanya.b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 04:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564465#M857777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T04:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564466#M857778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Custom Controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A custom control is an area on a screen. You create them in the Screen Painter, and, like all other screen objects, they have a unique name. You use custom controls to embed controls. A control is a software component on the presentation server, which can be either an ActiveX control or a JavaBean, depending on the SAPgui you are using. They allow you to perform tasks, such as editing texts, locally on the presentation server. The control is driven by the application logic, which still runs on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Control Framework&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The controls on the presentation server and the ABAP application programs on the application server communicate using the Structure link SAP Control Framework. This is programmed in ABAP Objects, and contains a set of global classes that you can find in the Class Browser under Basis ® Frontend services. These classes encapsulate the communication between the application server and presentation server, which is implemented using Remote Function Call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All application controls are encapsulated in a global class. You can find the SAP Basis controls in the Class Browser under Basis ® Frontend Services or Basis ® Component Integration. Programs that use controls on a screen work with the methods and events of the global classes that encapsulates them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through these link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/e4/6013361d5af835e10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/e4/6013361d5af835e10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/06/01/alv-reporting-using-controls--part-i&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/06/01/alv-reporting-using-controls-control-layouts--part-ii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_CUSTOM_CONTROL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 04:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564466#M857778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T04:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564467#M857779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;refer to the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c2/27e14e59ed11d29bd90000e8a47b2e/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c2/27e14e59ed11d29bd90000e8a47b2e/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 04:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564467#M857779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T04:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564468#M857780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls Refer the program 'RSDEMO_CUSTOM_CONTROL'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 08:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564468#M857780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564469#M857781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi subasha,&lt;/P&gt;&lt;P&gt;see below it.. custom container program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : ztext_demo2 type standard table of ztext_str.&lt;/P&gt;&lt;P&gt;data : it_demo type standard table of ztext_str,&lt;/P&gt;&lt;P&gt;       wa_demo type ztext_str.&lt;/P&gt;&lt;P&gt;DATA: V_SAVE TYPE I.&lt;/P&gt;&lt;P&gt;data : begin of ztext_demo1 occurs 0,&lt;/P&gt;&lt;P&gt;         sttext type ztext_str-sttext,&lt;/P&gt;&lt;P&gt;         counts type ztext_demo-counts,&lt;/P&gt;&lt;P&gt;         lines type ztext_demo-lines,&lt;/P&gt;&lt;P&gt;       end of ztext_demo1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  it_summ type TABLE OF ztext_demo.&lt;/P&gt;&lt;P&gt;data : wa_demo1 type ztext_demo.&lt;/P&gt;&lt;P&gt;data : it_display type standard table of ztext_str.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;data : incr1 type i .&lt;/P&gt;&lt;P&gt;data: incr2 type i.&lt;/P&gt;&lt;P&gt;data : test type i value 1.&lt;/P&gt;&lt;P&gt;data : test1 type c.&lt;/P&gt;&lt;P&gt;data : test_char1(200).&lt;/P&gt;&lt;P&gt;data : incr type i.&lt;/P&gt;&lt;P&gt;data : line_count type i.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&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;data : 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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include zinput1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include zoutput1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;zinput1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;*&amp;amp;      Module  USER_COMMAND_2000  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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;module user_command_2000 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;    when 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;get_line_text exporting line_number = test&lt;/P&gt;&lt;P&gt;                                         importing text = test1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                               exceptions&lt;/P&gt;&lt;P&gt;                               error_cntl_call_method = 0  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;get_text_as_r3table importing table = ztext_demo2&lt;/P&gt;&lt;P&gt;                                                          is_modified = test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                exceptions&lt;/P&gt;&lt;P&gt;                                error_dp = 1&lt;/P&gt;&lt;P&gt;                                error_cntl_call_method = 2&lt;/P&gt;&lt;P&gt;                                error_dp_create = 3&lt;/P&gt;&lt;P&gt;                                potential_data_loss = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      it_demo[] = ztext_demo2[].&lt;/P&gt;&lt;P&gt;      incr = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at it_demo into wa_demo.&lt;/P&gt;&lt;P&gt;        incr1 = incr1 + 1.&lt;/P&gt;&lt;P&gt;        clear wa_demo1.&lt;/P&gt;&lt;P&gt;        wa_demo1-sttext = wa_demo-sttext.&lt;/P&gt;&lt;P&gt;        wa_demo1-counts = incr.&lt;/P&gt;&lt;P&gt;        wa_demo1-lines = incr1.&lt;/P&gt;&lt;P&gt;        insert ztext_demo from  wa_demo1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'LC'.&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;get_line_count importing lines = line_count.&lt;/P&gt;&lt;P&gt;    when 'GET_DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      select sttext from ztext_demo into corresponding fields of table it_display where lines = '1'.&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;set_text_as_r3table exporting table = it_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'MODIFY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;get_line_text exporting line_number = test&lt;/P&gt;&lt;P&gt;                                               importing text = test1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                     exceptions&lt;/P&gt;&lt;P&gt;                                     error_cntl_call_method = 0  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;get_text_as_r3table importing table = ztext_demo2&lt;/P&gt;&lt;P&gt;                                                          is_modified = test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                exceptions&lt;/P&gt;&lt;P&gt;                                error_dp = 1&lt;/P&gt;&lt;P&gt;                                error_cntl_call_method = 2&lt;/P&gt;&lt;P&gt;                                error_dp_create = 3&lt;/P&gt;&lt;P&gt;                                potential_data_loss = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      it_demo[] = ztext_demo2[].&lt;/P&gt;&lt;P&gt;      incr = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at it_demo into wa_demo.&lt;/P&gt;&lt;P&gt;        incr1 = incr1 + 1.&lt;/P&gt;&lt;P&gt;        clear wa_demo1.&lt;/P&gt;&lt;P&gt;        wa_demo1-sttext = wa_demo-sttext.&lt;/P&gt;&lt;P&gt;        wa_demo1-counts = incr.&lt;/P&gt;&lt;P&gt;        wa_demo1-lines = incr1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       modify ztext_demo from  wa_demo1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        modify it_summ from  wa_demo1 INDEX incr1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;V_SAVE = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'SETNAME'.&lt;/P&gt;&lt;P&gt;      data : name type string value 'Hai'.&lt;/P&gt;&lt;P&gt;      call method : editor-&amp;gt;set_name(&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          name           = name&lt;/P&gt;&lt;P&gt;           exceptions&lt;/P&gt;&lt;P&gt;             cntl_error     = 1&lt;/P&gt;&lt;P&gt;             parent_no_name = 2&lt;/P&gt;&lt;P&gt;             illegal_name   = 3&lt;/P&gt;&lt;P&gt;             ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if sy-subrc &amp;lt;&amp;gt; 0.&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;     endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " USER_COMMAND_2000  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;zoutput1&lt;/STRONG&gt;&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;*&amp;amp;  Include           ZOUTPUT1&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;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_2000  OUTPUT&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;module STATUS_2000 output.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&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 editor IS INITIAL.&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;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;P&gt;&lt;/P&gt;&lt;P&gt;*Disabling the Textarea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*call method : custom_container-&amp;gt;set_visible  exporting visible = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*call method : custom_container-&amp;gt;reg_event_size_control  exporting register = 0.&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;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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To make invisible the buttons above the textarea(Toolbar)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL METHOD editor-&amp;gt;set_toolbar_mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To make invisible the Status bar.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL METHOD editor-&amp;gt;set_statusbar_mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_WIDTH TYPE I VALUE 20.&lt;/P&gt;&lt;P&gt;CALL METHOD : editor-&amp;gt;GET_WIDTH IMPORTING WIDTH = V_WIDTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;We cant type when we give enable = ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; CALL METHOD : editor-&amp;gt;set_enable exporting enable = 'X'.&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " STATUS_2000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program for sample custom container..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;s.suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564469#M857781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564470#M857782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rengith Skariah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how is the display for image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what code for it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply me soon,&lt;/P&gt;&lt;P&gt;s.suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 10:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564470#M857782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM CONTROL  ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564471#M857783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can display the image by calling the method &lt;STRONG&gt;load_picture_from_url&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to load the image from local system give the image path as url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;  call method pic1-&amp;gt;load_picture_from_url&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;            url    =  'file://C:\WINDOWS\Web\Wallpaper\home.jpg'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where pic1 is the object of picture control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 09:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-control/m-p/3564471#M857783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T09:19:52Z</dc:date>
    </item>
  </channel>
</rss>

