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

How to create a container

Former Member
0 Likes
690

Hello All,

How to create a container without designing at screen layout.

Can any post some simple code for it.

Regards,

Lisa

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
666

Check this


data docking type ref to cl_gui_docking_container.
    create object docking
                  exporting repid     = repid
                            dynnr     = dynnr
                            side      = docking->dock_at_left
                            extension = 180.

check for more details regarding this please check program

RSDEMO_DOCKING_CONTROL

Hello All,

How to create a container without designing at screen layout.

Can any post some simple code for it.

Regards,

Lisa

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
667

Check this


data docking type ref to cl_gui_docking_container.
    create object docking
                  exporting repid     = repid
                            dynnr     = dynnr
                            side      = docking->dock_at_left
                            extension = 180.

check for more details regarding this please check program

RSDEMO_DOCKING_CONTROL

Read only

0 Likes
666

Hi a®s ,

Yes i have already used the docking container but the problem is when we use docking container we will get a container and it looks like it's is splitted.

I don't want in this way i need a plain container where i can put my alv tree.

I have browsed all alv examples in package SLIS. but all this containers are created with custom container.

Regards,

Gupta

Read only

0 Likes
666

If you don't want splitter then after creating the docking container disable the left pan by calling


    call method g_docking_container_1->set_visible
      exporting
        visible           = ' '
      exceptions
        cntl_error        = 1
        cntl_system_error = 2
        others            = 3.