2008 Aug 11 9:52 AM
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
2008 Aug 11 10:04 AM
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
2008 Aug 11 10:04 AM
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.
2008 Aug 11 10:05 AM
HI,
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
2008 Aug 11 10:09 AM
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
2008 Aug 19 8:17 AM
i think its the other way round.
Custom control wraps custom container which in turn wraps application control.
Correct me if i'm wrong
2008 Aug 21 11:18 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |