‎2007 Jun 26 8:21 AM
Hi,
Can anyone tell me the actual difference between custom container & docking container in alv oops . Whts the purpose of each one . In which senario v will b using this one .
Vighnesh.
‎2007 Jun 26 8:53 AM
Hi,
There is not much difference.If you are using custom container, you need to drag and drap the container in screen and then use the class cl_gui_custom_container.
If you are using docking container,no need of placing the control in screen.It will be done by coding and you should use cl_gui_docking_container.
‎2007 Jun 26 8:24 AM
Hi,
Custom Container: Use the SAP Custom Container to build a control into an area on a screen or subscreen. You define the area occupied by the control in the Screen Painter.
Use the SAP Docking Container to attach one or more areas to a screen . You can attach an area to any or all of the four edges of the screen (top, bottom, left, or right). The screen is made smaller to accommodate the docking container. You can detach the docking container from the screen (floating) and reattach it.
Docking container :
The behavior of the areas in the container is determined by the sequence in which they are initialized. Docking Containers are attached to the screen from the inside out. This means that when you create a second container, it is attached to the edge of the screen, and the container that was already there is pushed outwards. From a purely technical point of view, you can attach any number of docking containers to a screen. However, remember that using too many can make your application confusing for the user.
Reward if useful!
‎2007 Jun 26 8:37 AM
Hi,
Custome Container - you can disply any where you want - Example - module pool
Docking Container - Starting from the First position.
Thanks,
Anitha
‎2007 Jun 26 8:53 AM
Hi,
There is not much difference.If you are using custom container, you need to drag and drap the container in screen and then use the class cl_gui_custom_container.
If you are using docking container,no need of placing the control in screen.It will be done by coding and you should use cl_gui_docking_container.