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

Regarding ALV oops

Former Member
0 Likes
547

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

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

3 REPLIES 3
Read only

Former Member
0 Likes
523

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

Read only

0 Likes
522

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

Read only

0 Likes
522

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