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

classes..

Former Member
0 Likes
1,079

hi all,

what is the difference between the classes:

cl_gui_easy_splitter_container and cl_gui_splitter_container?

when are they used?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,007

Hi Reshmi ,

I am not quiet sure about the diffrence between the two classes , but the splitter class cl_gui_splitter_container is used to split the container into subcontainers which can be used to display diffrent set of data .

e.g. in one screen itself you want to display 2 or more ALV then you can use a splitter to split the container into parts , where each part can be used to display one ALV.

Regards

Arun

5 REPLIES 5
Read only

Former Member
0 Likes
1,008

Hi Reshmi ,

I am not quiet sure about the diffrence between the two classes , but the splitter class cl_gui_splitter_container is used to split the container into subcontainers which can be used to display diffrent set of data .

e.g. in one screen itself you want to display 2 or more ALV then you can use a splitter to split the container into parts , where each part can be used to display one ALV.

Regards

Arun

Read only

Former Member
0 Likes
1,007

Hi Rashmi,

<b>

This thread might help you

Please see below demo programs

http://www.geocities.com/victorav15/sapr3/utilities/zvvooa1.txt

<b>RSDEMO_EASY_SPLITTER_CONTROL</b>

++++

https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566

http://www.sap-basis-abap.com/abap/display-two-level-interactive-list-in-alv.htm

+++++++

Use

Use the SAP Splitter Container to construct a group of control within an area, each of which is placed in a separate cell. The Splitter Control manages and displays the cells. You can change the size of the cells using a splitter bar. Enlarging one cell reduces the size of the adjacent cell.

You can only use the Splitter Container within another container (parent), for example, a Custom Container or Docking Container. You can embed a Splitter Control within a cell of another Splitter Container and thus nest them.

The default setting for the splitter grid is 0X0. The maximum division is 16X16. You can specify the size of lines and columns either in pixels (absolute) or as a percentage (relative). The default setting is relative. You can set the splitter bar to immovable.

If you want to divide a sector into only two cells (either horizontally or vertically), use the SAP Easy Splitter Container.

http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/2955360b00a115e10000009b38f839/frameset.htm

Regards, ABY

Read only

0 Likes
1,007

hi,

i have seen the programs for both easy_splitter and splitter_container but not being able to understand exact what is the difference those two?they are used for the same purpose that is to split the parent container into cells...but what is the exact difference between the two??

Read only

0 Likes
1,007

Hi,

SAP Easy Splitter Container

Use

The SAP Easy Splitter Container is a version of the SAP Splitter Container with a reduced set of features. Use the Easy Splitter Container when you want to display controls in a sector divided into two cells. You can set the splitter bar between the two cells either horizontally or vertically.

You can only use the Easy Splitter Container within another container (parent), for example, a Custom Container or Docking Container.

You can nest Easy Splitter Containers to any depth.

If you need more features than are offered by the Easy Splitter Container, use the SAP Splitter Container.

Read only

0 Likes
1,007

Hi Reshmi ,

The diffrence i find looking at the classes is that in case of CL_GUI_EASY_SPLITTER_CONTAINER there is a restriction on the number of subcontainers that can be created , compare the CONSTRUCTOR of both the classes CL_GUI_EASY_SPLITTER_CONTAINER does not have ROWS and COLUMNS , this id where we specify into how many parts must the container be split .

I feel we can split the container into two parts using the Easy Split class , the sections being TOP_LEFT_CONTAINER and BOTTOM_RIGHT_CONTAINER , where as this is not the case when we use CL_GUI_SPLITTER_CONTAINER.

Hope this helps.

Regards

Arun