Application Development 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: 

Usage of CL_GUI_ALV_GRID in table control subscreens.

Former Member
0 Kudos

Hi Experts,

I want to create subscreens in a main screen as table control screens using CL_GUI_ALV_GRID classes, does anyone have sample code or program on how to create making use of this classes.

It will be of great help to me.

Thanks,

Prabs.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Prabs.

If you go to SE38, and search for programs with the mask ALVGRID* , you will find lots of sample code.

Cheers

Dom

5 REPLIES 5

Former Member
0 Kudos

Hello Prabs.

If you go to SE38, and search for programs with the mask ALVGRID* , you will find lots of sample code.

Cheers

Dom

Former Member
0 Kudos

U can have a look into this for creating subscreen area

in Tabstrip.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/alv grid/abap code sample for tab strip in alv.pdf

Former Member
0 Kudos

Hello Prabs,

In your post, you say "<i>.....table control screens using CL_GUI_ALV_GRID classes....</i>". I'm not quite sure what you mean by that.

A table control and an ALV grid are two different UI elements altogether. ALV Grid is based on the Control Technology and the Table Control is similar to a normal screen element.

Could you please state in clearer terms what you mean? That would enable us to give you a more accurate and helpful answer.

regards,

Anand Mandalika.

0 Kudos

Hi Anand,

I was referring to the literal meaning for grid, actually i wanted to use CL_GUI_ALV_GRID within a subscreen.

Thanks,

Prabs.

0 Kudos

Hello Prabs,

You can use the CL_GUI_ALV_GRID to create an ALV Grid in a screen. Whether it's a main screen or a subscreen, it doesn't matter. The only requirement is that the screen in question should have a custom control container.

The class CL_GUI_ALV_GRID cannot be used to create any subscreens. And nor does the grid created using this class behave as if it were on a subscreen.

Hope my answer is making sense to you.

Regards,

Anand Mandalika.