Splitter Container can be used to display data either from two or more tables or from a single table based on particular conditions in ALV format using a single container at a time.

The classes that are used for achieving this are as follows,

1. CL_GUI_CUSTOM_CONTAINER .

2. CL_GUI_SPLITTER_CONTAINER .

3.CL_GUI_CONTAINER .

4. CL_GUI_ALV_GRID .

5. CL_DD_DOCUMENT.

Procedure:

1. First we have to design a modulepool screen (Screen No.100 ) with two custom controls, each for ALV and Heading as below,

2. Name the first control as “HEADING”.

3. Name the second control as “MAIN_CONT”.

4. Save and activate the screen.

5. Do the below coding in the report program.

6. Here i took a case of displaying the material details of a particular material type ‘ZSEM’, in the parent split alv list and the descriptions of those materials that are listed in parent split alv in child split alv.

7. The heading being maintained for this ALV is ‘Material Master Report’.