Skip to Content
author's profile photo Former Member
Former Member

Usage of CL_GUI_ALV_GRID in table control subscreens.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2005 at 11:21 PM

    Hello Prabs.

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

    Cheers

    Dom

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2005 at 04: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • Posted on Aug 02, 2005 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.