<?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: Docking Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462447#M552633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   A dialog box container is created, and a splitter container with 2 rows and 1 column is placed on it.&lt;/P&gt;&lt;P&gt;To keep the example simple row 1 of the splitter container is not used, but you can use it to place a control.&lt;/P&gt;&lt;P&gt;Row 2 is used to place a toolbar control in the button of the dialog box. The toolbar has an OK and a Cancel button. To keep the example simple, these 2 buttons only closes the dialog screen. The dialog box can also be closed by using the close button in the top right corner of the dialog box. This button is standard functionality, however you have to do the coding for closing the dialog box yourself.&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;&amp;#149;	Create a screen &lt;/P&gt;&lt;P&gt;&amp;#149;	Place dynpro button on the screen that opens the dialog box. Name: DIALOG_BUTTON. Caption: Show dialog box. Function code: DIALOG &lt;/P&gt;&lt;P&gt;&amp;#149;	Place another dynpro on the screen to exit the program. Name: EXIT_BUTTON. Caption: Exit. Function code: EXIT. &lt;/P&gt;&lt;P&gt;&amp;#149;	Place a custom control on the screen for the dialog box. Name: DIALOG_CONTAINER &lt;/P&gt;&lt;P&gt;&amp;#149;	Place a custom control on the screen for the toolbar control. Name: TOOLBAR_CONTAINER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample program which implements a docking container with a splitter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: docking_left     type ref to cl_gui_docking_container,&lt;/P&gt;&lt;P&gt;      dock_sub_cont1   type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;      dock_sub_cont2   type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;      alv_bottom       type ref to cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      splitter         type ref to cl_gui_splitter_container,&lt;/P&gt;&lt;P&gt;      html_viewer type ref to cl_gui_html_viewer.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_check.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  data: it001w type table of t001w with header line.&lt;/P&gt;&lt;P&gt;  data: repid type sy-repid.&lt;/P&gt;&lt;P&gt;  data: url(255).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  repid = sy-repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if docking_left 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 the docking and splitter containers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    create object:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         docking_left&lt;/P&gt;&lt;P&gt;                exporting repid     = repid&lt;/P&gt;&lt;P&gt;                          dynnr     = sy-dynnr&lt;/P&gt;&lt;P&gt;                          side      = docking_left-&amp;gt;dock_at_left&lt;/P&gt;&lt;P&gt;                          extension = 525,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         splitter&lt;/P&gt;&lt;P&gt;                  exporting parent = docking_left&lt;/P&gt;&lt;P&gt;                            rows    = 2&lt;/P&gt;&lt;P&gt;                             columns = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set the splitters.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;set_border&lt;/P&gt;&lt;P&gt;                  exporting border = space,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;get_container&lt;/P&gt;&lt;P&gt;                  exporting row            = 1&lt;/P&gt;&lt;P&gt;                            column         = 1&lt;/P&gt;&lt;P&gt;                            receiving container = dock_sub_cont1,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;set_row_height&lt;/P&gt;&lt;P&gt;                  exporting id             = 1&lt;/P&gt;&lt;P&gt;                            height         = '25',&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;get_container&lt;/P&gt;&lt;P&gt;                  exporting row            = 2&lt;/P&gt;&lt;P&gt;                            column         = 1&lt;/P&gt;&lt;P&gt;                            receiving container = dock_sub_cont2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HTML control in the first container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    create object html_viewer&lt;/P&gt;&lt;P&gt;            exporting  parent              = dock_sub_cont1&lt;/P&gt;&lt;P&gt;            exceptions cntl_error         = 1&lt;/P&gt;&lt;P&gt;                       cntl_install_error = 2&lt;/P&gt;&lt;P&gt;                       dp_install_error   = 3&lt;/P&gt;&lt;P&gt;                       dp_error           = 4.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    html_viewer-&amp;gt;load_mime_object&lt;/P&gt;&lt;P&gt;               exporting&lt;/P&gt;&lt;P&gt;                 object_id  = 'HTMLCNTL_TESTHTM2_SAPLOGO'&lt;/P&gt;&lt;P&gt;                 object_url = 'SAPLOGO.GIF'&lt;/P&gt;&lt;P&gt;               importing&lt;/P&gt;&lt;P&gt;                 assigned_url = url&lt;/P&gt;&lt;P&gt;               exceptions object_not_found     = 1&lt;/P&gt;&lt;P&gt;                          dp_error_general     = 2&lt;/P&gt;&lt;P&gt;                          dp_invalid_parameter = 3,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     html_viewer-&amp;gt;show_data&lt;/P&gt;&lt;P&gt;         exporting url   = url&lt;/P&gt;&lt;P&gt;         exceptions cntl_error = 1.&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;ALV grid in second splitter container.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    select * into corresponding fields of table it001w&lt;/P&gt;&lt;P&gt;                from t001w.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    create object alv_bottom&lt;/P&gt;&lt;P&gt;                  exporting i_parent = dock_sub_cont2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method alv_bottom-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;             i_structure_name       = 'T001W'&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;             it_outtab       = it001w[].&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 10:21:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T10:21:34Z</dc:date>
    <item>
      <title>Docking Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462445#M552631</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;Can someone tell me as to how we can create the docking control,like what we have in MD04??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone give me the steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Supriya Manik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462445#M552631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Docking Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462446#M552632</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;refer this.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declarations *****************************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;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;  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;  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: &lt;/P&gt;&lt;P&gt;           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 &lt;/P&gt;&lt;P&gt;              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 &lt;/P&gt;&lt;P&gt;                  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.&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-003.&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  &lt;/P&gt;&lt;P&gt;         EXPORTING new_code = 'F1'.          &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;&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-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;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;&lt;/P&gt;&lt;P&gt;Rewards all helpfull answers.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:19:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462446#M552632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Docking Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462447#M552633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   A dialog box container is created, and a splitter container with 2 rows and 1 column is placed on it.&lt;/P&gt;&lt;P&gt;To keep the example simple row 1 of the splitter container is not used, but you can use it to place a control.&lt;/P&gt;&lt;P&gt;Row 2 is used to place a toolbar control in the button of the dialog box. The toolbar has an OK and a Cancel button. To keep the example simple, these 2 buttons only closes the dialog screen. The dialog box can also be closed by using the close button in the top right corner of the dialog box. This button is standard functionality, however you have to do the coding for closing the dialog box yourself.&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;&amp;#149;	Create a screen &lt;/P&gt;&lt;P&gt;&amp;#149;	Place dynpro button on the screen that opens the dialog box. Name: DIALOG_BUTTON. Caption: Show dialog box. Function code: DIALOG &lt;/P&gt;&lt;P&gt;&amp;#149;	Place another dynpro on the screen to exit the program. Name: EXIT_BUTTON. Caption: Exit. Function code: EXIT. &lt;/P&gt;&lt;P&gt;&amp;#149;	Place a custom control on the screen for the dialog box. Name: DIALOG_CONTAINER &lt;/P&gt;&lt;P&gt;&amp;#149;	Place a custom control on the screen for the toolbar control. Name: TOOLBAR_CONTAINER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample program which implements a docking container with a splitter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: docking_left     type ref to cl_gui_docking_container,&lt;/P&gt;&lt;P&gt;      dock_sub_cont1   type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;      dock_sub_cont2   type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;      alv_bottom       type ref to cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;      splitter         type ref to cl_gui_splitter_container,&lt;/P&gt;&lt;P&gt;      html_viewer type ref to cl_gui_html_viewer.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_check.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  data: it001w type table of t001w with header line.&lt;/P&gt;&lt;P&gt;  data: repid type sy-repid.&lt;/P&gt;&lt;P&gt;  data: url(255).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  repid = sy-repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if docking_left 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 the docking and splitter containers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    create object:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         docking_left&lt;/P&gt;&lt;P&gt;                exporting repid     = repid&lt;/P&gt;&lt;P&gt;                          dynnr     = sy-dynnr&lt;/P&gt;&lt;P&gt;                          side      = docking_left-&amp;gt;dock_at_left&lt;/P&gt;&lt;P&gt;                          extension = 525,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         splitter&lt;/P&gt;&lt;P&gt;                  exporting parent = docking_left&lt;/P&gt;&lt;P&gt;                            rows    = 2&lt;/P&gt;&lt;P&gt;                             columns = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set the splitters.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;set_border&lt;/P&gt;&lt;P&gt;                  exporting border = space,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;get_container&lt;/P&gt;&lt;P&gt;                  exporting row            = 1&lt;/P&gt;&lt;P&gt;                            column         = 1&lt;/P&gt;&lt;P&gt;                            receiving container = dock_sub_cont1,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;set_row_height&lt;/P&gt;&lt;P&gt;                  exporting id             = 1&lt;/P&gt;&lt;P&gt;                            height         = '25',&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                splitter-&amp;gt;get_container&lt;/P&gt;&lt;P&gt;                  exporting row            = 2&lt;/P&gt;&lt;P&gt;                            column         = 1&lt;/P&gt;&lt;P&gt;                            receiving container = dock_sub_cont2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HTML control in the first container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    create object html_viewer&lt;/P&gt;&lt;P&gt;            exporting  parent              = dock_sub_cont1&lt;/P&gt;&lt;P&gt;            exceptions cntl_error         = 1&lt;/P&gt;&lt;P&gt;                       cntl_install_error = 2&lt;/P&gt;&lt;P&gt;                       dp_install_error   = 3&lt;/P&gt;&lt;P&gt;                       dp_error           = 4.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    html_viewer-&amp;gt;load_mime_object&lt;/P&gt;&lt;P&gt;               exporting&lt;/P&gt;&lt;P&gt;                 object_id  = 'HTMLCNTL_TESTHTM2_SAPLOGO'&lt;/P&gt;&lt;P&gt;                 object_url = 'SAPLOGO.GIF'&lt;/P&gt;&lt;P&gt;               importing&lt;/P&gt;&lt;P&gt;                 assigned_url = url&lt;/P&gt;&lt;P&gt;               exceptions object_not_found     = 1&lt;/P&gt;&lt;P&gt;                          dp_error_general     = 2&lt;/P&gt;&lt;P&gt;                          dp_invalid_parameter = 3,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     html_viewer-&amp;gt;show_data&lt;/P&gt;&lt;P&gt;         exporting url   = url&lt;/P&gt;&lt;P&gt;         exceptions cntl_error = 1.&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;ALV grid in second splitter container.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    select * into corresponding fields of table it001w&lt;/P&gt;&lt;P&gt;                from t001w.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    create object alv_bottom&lt;/P&gt;&lt;P&gt;                  exporting i_parent = dock_sub_cont2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method alv_bottom-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;             i_structure_name       = 'T001W'&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;             it_outtab       = it001w[].&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462447#M552633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T10:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Docking Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462448#M552634</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;Check this link.I am explaining steps for creating alv using docking container.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-7" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-7&lt;/A&gt;&lt;EM&gt;Steps&lt;/EM&gt;to&lt;EM&gt;create&lt;/EM&gt;OOPS&lt;EM&gt;ALV(for&lt;/EM&gt;beginners)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 10:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-control/m-p/2462448#M552634</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-26T10:23:54Z</dc:date>
    </item>
  </channel>
</rss>

