08-01-2005 11:33 PM
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.
08-02-2005 12:21 AM
Hello Prabs.
If you go to SE38, and search for programs with the mask ALVGRID* , you will find lots of sample code.
Cheers
Dom
08-02-2005 12:21 AM
Hello Prabs.
If you go to SE38, and search for programs with the mask ALVGRID* , you will find lots of sample code.
Cheers
Dom
08-02-2005 4:21 AM
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
08-02-2005 5:11 AM
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.
08-02-2005 6:05 AM
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.
08-02-2005 6:09 AM
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.