Application Development 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: 

can we control the output screen area of alv grid list

Former Member
0 Kudos

Hi All,

can we control the screen area of grid control in alv's , not using ooalv's. By default grid list is displaying in the whole screen, but i want to display this grid list in specific area in output screen , not in full screen, how to set these screen area for this grid control. Please let me know.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Don't think you can do that using the Function module. I would suggest implementing using the class CL_GUI_ALV_GRID. Then you can put the control anywhere you want.

Regards,

Rich Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Don't think you can do that using the Function module. I would suggest implementing using the class CL_GUI_ALV_GRID. Then you can put the control anywhere you want.

Regards,

Rich Heilman

0 Kudos

Hi,

If you use the following parameters

    • I_SCREEN_START_COLUMN = 0

    • I_SCREEN_START_LINE = 0

    • I_SCREEN_END_COLUMN = 0

    • I_SCREEN_END_LINE = 0

you will get the output in the size expected but it will be in the form of a pop up box and a blank screen at the back and user action like cancel etc will take you back to the selection screen.

abdul_hakim
Active Contributor
0 Kudos

hi

you cannot control it using the Function Module approach.

but you can use the oo approach to control it.

have a look at the below sample program using oo.

<b>BCALV_GRID_02</b>

Cheers,

Abdul

Mark all useful answers..