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

ALV Grid

Former Member
0 Likes
663

Hi,

I have read about ALV grid . I have failed to understand terms like

1 Control

2.Wrapper Class.How its related to ALV control

In documentation its written that " ALV Grid Control is a special case as it uses a control that is already wrapped: the

grid control".

Can someone please clarify about the relation between Control and container and wrapper.

<removed_by_moderator>

Regrds

Varun

Edited by: Julius Bussche on Aug 21, 2008 10:23 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
625

Hi ,

ALV grid by OOPS method ,you declare a container or pass a container name which in turns wraps ALV grid control ,it is like wrapper .

Container is like custom container of class cl_gui_custom_container

It is like a blank box and you can display ALV grid ,alv tree or both using spillter container ,which means container wraps ALV GRID control.

Hi,

I have read about ALV grid . I have failed to understand terms like

1 Control

2.Wrapper Class.How its related to ALV control

In documentation its written that " ALV Grid Control is a special case as it uses a control that is already wrapped: the

grid control".

Can someone please clarify about the relation between Control and container and wrapper.

<removed_by_moderator>

Regrds

Varun

Edited by: Julius Bussche on Aug 21, 2008 10:23 AM

5 REPLIES 5
Read only

Former Member
0 Likes
626

Hi ,

ALV grid by OOPS method ,you declare a container or pass a container name which in turns wraps ALV grid control ,it is like wrapper .

Container is like custom container of class cl_gui_custom_container

It is like a blank box and you can display ALV grid ,alv tree or both using spillter container ,which means container wraps ALV GRID control.

Read only

Former Member
0 Likes
625

HI,

Wrapper : https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/wrapper%2bclass%2bfor%2bexecuting%2bexte...

Container : Column separator,(list of alv fields)

http://help.sap.com/saphelp_nw04/helpdata/en/22/a3f5ecd2fe11d2b467006094192fe3/frameset.htm

Control: Action over on it (display, change,click,drag over drag drop)

Thanks,

Sendil

Read only

Former Member
0 Likes
625

Hi,

Here control means custom control that you can create in SE51. Custom control ALV grid control, Tree control, picture control.

Container provides the technical connection between custom control and Screen.Custom contol is always embeb in Container control.

The ALV grid control uses grid control to display the table, so we can say that ALV grid control is a wrapper.This wrapper spares the developer from having to register the events on the frontend to simplify event handling.

Regards,

Sujit

Read only

0 Likes
625

i think its the other way round.

Custom control wraps custom container which in turn wraps application control.

Correct me if i'm wrong

Read only

Former Member
0 Likes
625

got the idea