<?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 container in splitter container? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110436#M1617455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temporarily set to "not answered" to allow further replies as requested here:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="2016588"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2011 13:32:36 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2011-08-12T13:32:36Z</dc:date>
    <item>
      <title>docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110424#M1617443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to generate a view (dynpro) with is seperated in 3 vertical (resizable) areas. I have solved this with the splitter container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i would like to fill the 3 areas with dynamic content, i. e. different table views. These different contents should be nested in containers, so i can push my predefined containers into the splitter areas. (just the contents the user would like to see...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion, the docking container is the right choise, because i have not to carry about positioning the container at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now theres a problem in adapting the docking container to the splitter container and i am not sure if it is possible at all?!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create the docking object with the splitter object as parent, but the debugger calls a run time error?!? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT docking_container
  EXPORTING
    parent                      = splitter_container
*    repid                       =
*    dynnr                       =
*    side                        = docking_container-&amp;gt;dock_at_left
*    extension                   = 50
*    style                       =
*    lifetime                    = lifetime_default
    caption                     = 'MyDock'
*    metric                      = 0
*    ratio                       =
*    no_autodef_progid_dynnr     =
*    name                        =
  EXCEPTIONS
    cntl_error                  = 1
    cntl_system_error           = 2
    create_error                = 3
    lifetime_error              = 4
    lifetime_dynpro_dynpro_link = 5
    others.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help? Different solutions are also welcome... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110424#M1617443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T10:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110425#M1617444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try assigning the 'Sub Containers' instead of the whole Splitter as parent of the Docking one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: c1 TYPE REF TO cl_gui_splitter_container,
      c2 TYPE REF TO cl_gui_container,
      c3 TYPE REF TO cl_gui_docking_container.

  CREATE OBJECT c1
    EXPORTING
      rows              = 3
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3.

  CALL METHOD c1-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 1
    RECEIVING
      container = c2.


  CREATE OBJECT c3
    EXPORTING
      parent                      = c2
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS                      = 6
      .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 12:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110425#M1617444</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-11T12:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110426#M1617445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion, but it sadly does not solve the problem... the same error message occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create the docking container without a parent, the container appears besides the splitter container... ?!?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110426#M1617445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110427#M1617446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure? I 've tried the above code in my own system and I got no errors at all....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110427#M1617446</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-11T13:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110428#M1617447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jose, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my complete code and I cannot find any differences to your example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
        splitter_container TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
        splitter_cont1 type ref to cl_gui_container,

        dock_container TYPE REF TO CL_GUI_DOCKING_CONTAINER. 


* custom container
*-----------------
* the name 'CUSTOM_CONTROL_BASE' references to the
* custom control on the main dynpro 100!!!
  CREATE OBJECT custom_container
    EXPORTING
      container_name              = 'CUSTOM_CONTROL_BASE'
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      others                      = 6
      .
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    exit.
  ENDIF.


* set splitscreen container
*--------------------------
  CREATE OBJECT splitter_container
    EXPORTING
      parent            = custom_container
      rows              = 1
      columns           = 3
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      others            = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    exit.
  ENDIF.

  CALL METHOD splitter_container-&amp;gt;GET_CONTAINER
    EXPORTING
      ROW       = 1
      COLUMN    = 1
    RECEIVING
      CONTAINER = splitter_cont1.



CREATE OBJECT dock_container
  EXPORTING
    parent                      = splitter_cont1
  EXCEPTIONS
    cntl_error                  = 1
    cntl_system_error           = 2
    create_error                = 3
    lifetime_error              = 4
    lifetime_dynpro_dynpro_link = 5
    others                      = 6
    .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug - mode I can see, that 'splitter_cont' is initalized... The code only breakes when a parent is set to dock_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error comes from CL_GUI_CONTAINER-&amp;gt;GET_FRAME_CONTAINER where the compiler runs into 'RAISE CNTL_ERROR'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHOD GET_FRAME_CONTAINER.
    DATA: PARENTID TYPE I.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV' FIELD PARENTID.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV_UI' FIELD PARENTID.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    IF CONTAINER IS INITIAL.
        CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    ELSEIF CONTAINER-&amp;gt;H_CONTROL-SHELLID = -1.
        CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    ELSE.
        PARENTID = CONTAINER-&amp;gt;H_CONTROL-SHELLID.
    ENDIF.

    IF PARENTID BETWEEN 10 AND 19.    " this are the dynpro areas
        PARENTID = PARENTID - 10.     " now its the corresponding frame
    ENDIF.

    data: new_dummy_parent_container type ref to CL_GUI_CONTAINER.

    IF PARENTID BETWEEN 0 AND 9.
    "    CREATE OBJECT DUMMY_PARENT_CONTAINER
    "        EXPORTING CLSID = SPACE.
    "    DUMMY_PARENT_CONTAINER-&amp;gt;H_CONTROL-SHELLID = PARENTID.
    "    FRAME_CONTAINER = DUMMY_PARENT_CONTAINER.
        CREATE OBJECT NEW_DUMMY_PARENT_CONTAINER
            EXPORTING CLSID = SPACE.
        NEW_DUMMY_PARENT_CONTAINER-&amp;gt;H_CONTROL-SHELLID = PARENTID.
        FRAME_CONTAINER = NEW_DUMMY_PARENT_CONTAINER.
    ELSEIF PARENTID = 99.
        FRAME_CONTAINER = CONTAINER.
    ELSE.
        IF CONTAINER_MUST_BE_TOPLEVEL = 0.
            FRAME_CONTAINER = CONTAINER.
        ELSE.
            RAISE CNTL_ERROR.
        ENDIF.
    ENDIF.
ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found further solutions like yours on the web, so it seems to be right. I cannot understand why the compiler runs into error?!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 14:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110428#M1617447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110429#M1617448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I try to create the docking object with the splitter object as parent, but the debugger calls a run time error?!? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can't, docking containers are to be attached at any side of the whole &lt;STRONG&gt;classic&lt;/STRONG&gt; screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't understand very well what you wanted to achieve exactly. What I understood so far:&lt;/P&gt;&lt;P&gt;- In your dynpro, you have a custom container area defined A.&lt;/P&gt;&lt;P&gt;- In A, you define dynamically a splitter of 3 rows * 1 column (= 3 containers).&lt;/P&gt;&lt;P&gt;- In each of these containers, you attach any GUI control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to achieve exactly now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 15:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110429#M1617448</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-08-11T15:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110430#M1617449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; You can't, docking containers are to be attached at any side of the whole &lt;STRONG&gt;classic&lt;/STRONG&gt; screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am not sure about it. But Jose writes, that his code works fine and I have found further examples on the web...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I didn't understand very well what you wanted to achieve exactly. What I understood so far:&lt;/P&gt;&lt;P&gt;&amp;gt; - In your dynpro, you have a custom container area defined A.&lt;/P&gt;&lt;P&gt;&amp;gt; - In A, you define dynamically a splitter of 3 rows * 1 column (= 3 containers).&lt;/P&gt;&lt;P&gt;&amp;gt; - In each of these containers, you attach any GUI control.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; What do you want to achieve exactly now?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Sandra&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So far, you are right. (3 cols and 1 row, but there are 3 containers anyway...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, that I cannot attach a docking container (GUI control) to one of the 3 containers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I would like to fill the 3 container with different collections of several GUI contols like tables, pictures, toolbars, whatever...  The collection should be merged through a container and I think, a docking container could be the right choice?!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;splitter_container
  inherits 3 containers
    container_1 inherits docking_container_1_1
       docking_container_1_1 inherits a toolbar and a grid_view
    container_1 inherits docking_container_1_2
       docking_container_1_2 inherits another toolbar and a picture
    container_2 inherits docking_container_2_1
       docking_container_2_1 inherits a tree_view
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, you understand what I am planning to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think, docking container is not the right choise, let me know your alternative. docking container is not a must be!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 15:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110430#M1617449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-11T15:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110431#M1617450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never saw that docking controls could be used another way. I'd be glad to see a full working example. The doc just says that we can add a docking control on another docking control, but the primary one is to be put onto a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;splitter_container
  inherits 3 containers
    container_1 inherits docking_container_1_1
       docking_container_1_1 inherits a toolbar and a grid_view
...&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Why don't you use another splitter container inside container_1, with 2 rows to store toolbar and grid controls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 16:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110431#M1617450</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-08-11T16:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110432#M1617451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'docking_container_1_1' is (only) for grouping toolbar and grid control. The controls in container_1, container_2 and container_3 should be dynamically attached and kicked in according to the users preferences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'groups' docking_container_1_1, docking_container_1_2, ... should be predefined. So the program can attach and destroy the full container if the user decides to. If I would take another splitter container instead of the docking containers, I would have to worry about the number of splitters (rows), because the count of 'groups' changes... This is the reason, why docking containers seems to be the first choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I have tested attaching a docking container to another docking container and it does not work either?!? So it seems like there are other problems in general...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 05:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110432#M1617451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-12T05:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110433#M1617452</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'docking_container_1_1' is (only) for grouping toolbar and grid control. The controls in container_1, container_2 and container_3 should be dynamically attached and kicked in according to the users preferences.&lt;/P&gt;&lt;P&gt;The 'groups' docking_container_1_1, docking_container_1_2, ... should be predefined. So the program can attach and destroy the full container if the user decides to. If I would take another splitter container instead of the docking containers, I would have to worry about the number of splitters (rows), because the count of 'groups' changes... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I really don't understand the issue with "dynamic" attachment. Control framework is dynamic by definition. You can detach and attach at any time, as you want. I can program an example code for you if you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, about the docking container, and I hope that'll be the final discussion about it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I have tested attaching a docking container to another docking container and it does not work either?!? So it seems like there are other problems in general...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That comes back to what I said. If you don't believe me, look at the documentation and demo programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the reason, why docking containers seems to be the first choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope that now you understand that docking containers are not the first choice, I don't understand why you think so much it can be the "first choice", as according to the documentation about docking containers, it doesn't correspond to what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Help, forum, tell Dennis what you think about docking containers! &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 07:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110433#M1617452</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-08-12T07:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110434#M1617453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I just re-checked again my code, and this is the result I got, so in this case we're able to assign a Docking Container to a Spitter Sub-Container. &lt;/P&gt;&lt;P&gt;I've also noticed that you used a Custom Container as Splitter Container's parent, I don't think this is neccesary in this case.&lt;/P&gt;&lt;P&gt;(Maybe that's the source of the error ¿?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://img694.imageshack.us/img694/5060/testcod.jpg"&gt;Test&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: c1  TYPE REF TO cl_gui_splitter_container,
      c2  TYPE REF TO cl_gui_container,
      c3  TYPE REF TO cl_gui_container,
      c4  TYPE REF TO cl_gui_container,
      cd1 TYPE REF TO cl_gui_docking_container,
      cd2 TYPE REF TO cl_gui_docking_container,
      cd3 TYPE REF TO cl_gui_docking_container.

CALL SCREEN 1.


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0001  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE status_0001 OUTPUT.

  CHECK NOT c1 IS BOUND.

  CREATE OBJECT c1
    EXPORTING
      rows              = 3
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3.

  CALL METHOD c1-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 1
    RECEIVING
      container = c2.

  CALL METHOD c1-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 2
    RECEIVING
      container = c3.

  CALL METHOD c1-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 3
    RECEIVING
      container = c4.


  CREATE OBJECT cd1
    EXPORTING
      parent                      = c2
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS                      = 6.

  CREATE OBJECT cd2
    EXPORTING
      parent                      = c3
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS                      = 6.

  CREATE OBJECT cd3
    EXPORTING
      parent                      = c4
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS                      = 6.




ENDMODULE.                 " STATUS_0001  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 07:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110434#M1617453</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-12T07:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110435#M1617454</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;in the end I give up on handling my problem with docking containers because I think, docking containers can only be attached at screens and not at containers. Anyway...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Jose: Are you shure your program works like you think it does? In my point of view, only the docking containers are displayed at the screen. I cannot see any splitters (you have created them as rows = horizontal)?!? Your code is running on my system also, but while debugging the gui containers (your parents for the docking containers) are initial, so I think the compiler decides to show the docking containers at the 'base' screen as default. I think you need a custom container to initialize them accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My way around will be using splitter containers instead of docking containers. This solution is not as nice as docking containers would have been, but it is an acceptable workaround. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks for your helps and inputs in finding the right way! &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 12:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110435#M1617454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-12T12:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110436#M1617455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temporarily set to "not answered" to allow further replies as requested here:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="2016588"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 13:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110436#M1617455</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-08-12T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110437#M1617456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;This solution is not as nice as docking containers would have been&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just a little/final question (I hope &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; By "nice", I guess that's not a matter of visual effect, as they look identical, so do you mean that :&lt;/P&gt;&lt;P&gt;- a docking container at a container side would have allowed you to add a container at any side at the moment you want&lt;/P&gt;&lt;P&gt;- while the other solution implies that you have to prepare empty containers at all 4 sides so that to be able to later fill the side you want (so that to not have to rebuild existing controls (not containers))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always saw SAP transactions place controls at only one predefined side. Now, about the applications where controls can be moved by the user, the new debugger for instance: it is made of up to 4 panels corresponding to custom containers, moving the tools from one panel to another is made by rebuilding the controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 15:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110437#M1617456</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-08-12T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110438#M1617457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;You're completely right, sorry about confusing you with the sample (I didn't have the time to check it properly)&lt;/P&gt;&lt;P&gt;So now, there's no doubt, a Docking Container can not be assigned to a splitter container or any subcontainers it may have.&lt;/P&gt;&lt;P&gt;Taking a look at the Docking Constructor's code we can find the reason why:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: MY_PARENT TYPE REF TO CL_GUI_CONTAINER.
  MY_PARENT = GET_FRAME_CONTAINER( CONTAINER = PARENT
                       *CONTAINER_MUST_BE_TOPLEVEL* = 1 ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe we could try creating a copy ZCL_GUI_DOCKING_CONTAINER and bypass this restriction, but I'm pretty sure it won't work anyway since there must be some further design restrictions on using this kind of container.&lt;/P&gt;&lt;P&gt;Best of luck on your final decision.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 21:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110438#M1617457</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-12T21:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: docking container in splitter container?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110439#M1617458</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;Yes Sandra, you are right. It is not a visual problem... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jose, I cannot believe that the restriction is set without any further reason. So thank you for the hint but I will not try to 'manipulate' the standard sap controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, since I have decided to solve the situation with splitter container, my coding proceeds and everything works fine... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2011 14:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docking-container-in-splitter-container/m-p/8110439#M1617458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-14T14:58:37Z</dc:date>
    </item>
  </channel>
</rss>

