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

What does this mean?

Former Member
0 Likes
522

CREATE OBJECT alv_grid
     EXPORTING
       i_parent = alv_container.

Thanks.

Moderator message: please search for information before posting, use meaningful titles when posting.

Message was edited by: Thomas Zloch

CREATE OBJECT alv_grid
     EXPORTING
       i_parent = alv_container.

Thanks.

Moderator message: please search for information before posting, use meaningful titles when posting.

Message was edited by: Thomas Zloch

3 REPLIES 3
Read only

reachdebopriya
Active Participant
0 Likes
493

Hi Hemant,

An object will be create with name alv_grid with the container alv_container.

alv_grid is type ref of cl_gui_alv_grid.

Like Module Pool, Oops ALV Grid also need a container.

I am sending you link. Please go through it.

http://abapinho.com/wp-content/uploads/2010/05/BCSRVALV.pdf

Regards,

Debopriya Ghosh

Read only

vinoth_aruldass
Contributor
0 Likes
493

hi

this means

Creation of the ALV object, when we use cl_gui_container=>screen0 as parent, the ALVGrid control will automatically use the full screen to display the grid, NO CONTAINER DEFINITION IS REQUIRED.

hope this helps,

Vinoth

Read only

rosenberg_eitan
Active Contributor
0 Likes
493

Hi,

Asuming alv_grid is CL_GUI_ALV_GRID .

Have a look at BCALV_GRID_DEMO at SLIS Package .

  CREATE OBJECT G_CUSTOM_CONTAINER
           EXPORTING CONTAINER_NAME = G_CONTAINER.
    CREATE OBJECT GRID1
           EXPORTING I_PARENT = G_CUSTOM_CONTAINER.

BCALV_GRID_DEMO_0100_CONT1 is a CL_GUI_CUSTOM_CONTAINER

that will reside within screen 0100.

Regards.