Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

diffrence between custom container & docking container in alv object model

Former Member
0 Likes
8,999

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.

1 ACCEPTED SOLUTION
Read only

jayanthi_jayaraman
Active Contributor
2,530

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.

3 REPLIES 3
Read only

Former Member
0 Likes
2,530

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!

Read only

Former Member
0 Likes
2,530

Hi,

Custome Container - you can disply any where you want - Example - module pool

Docking Container - Starting from the First position.

Thanks,

Anitha

Read only

jayanthi_jayaraman
Active Contributor
2,531

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.