‎2010 Jan 07 4:28 AM
Hi friends,
I am new for this topic interested to learn
Is the only way to do ALV with the custom container should place on a screen and call the fm in program through container
If any other ways please can u give me some clear links.
I am trying to find in previous but i am not clear
Thanks in Advance
Krishna
‎2010 Jan 07 4:38 AM
Hi Kishan ,
No it is not necessary to have a container on the scree, you can use predefined screens provided in the class CL_GUI_CONTAINER.
So what can be done is insted of having a custom control on the screen , you can directly create the grid and in that pass the parent as one of the screen defined in the class CL_GUI_CONTAINER.
e.g. CL_GUI_CONTAINER=>screen0.
Hope this helps.
Regards,
Arun
‎2010 Jan 07 4:38 AM
Hi Kishan ,
No it is not necessary to have a container on the scree, you can use predefined screens provided in the class CL_GUI_CONTAINER.
So what can be done is insted of having a custom control on the screen , you can directly create the grid and in that pass the parent as one of the screen defined in the class CL_GUI_CONTAINER.
e.g. CL_GUI_CONTAINER=>screen0.
Hope this helps.
Regards,
Arun
‎2010 Jan 07 4:46 AM
Thanks for this,
But my question is like we have to use container as mandatory with out this we cant pass alv to screen like in normal ALV
‎2010 Jan 07 4:49 AM
Hello Krishna
If you are using the new ALV Object model (CL_SALV_TABLE) you do NOT need any container.
For standard ALV class (CL_GUI_ALV_GRID) you always need a container.
Regards
Uwe