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: 

SetProperties in ALV GRID

Former Member
0 Kudos

Hi all,

does anyone know how to change the resizing attributes of a control at runtime?

The method setProperties is protected so it cannot be used from outside.

Thanks in advance

Karsten

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi,

i think it is not possible, but you can make the screen full.

for that you need to check the following..

Go to SE51 and enter the program <b>SAPLSLVC_FULLSCREEN</b>

screen number <b>500</b>

go to screen attributes..

and give the properties like the below as it is..

Give Default length <b>240</b>

visible length <b>240</b>

Height <b> 200</b>

regards

vijay

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I wonder if you could use the following methods. These are public.

SET_HEIGHT

SET_WIDTH

Regards,

Rich Heilman

former_member188685
Active Contributor
0 Kudos

Hi,

i think it is not possible, but you can make the screen full.

for that you need to check the following..

Go to SE51 and enter the program <b>SAPLSLVC_FULLSCREEN</b>

screen number <b>500</b>

go to screen attributes..

and give the properties like the below as it is..

Give Default length <b>240</b>

visible length <b>240</b>

Height <b> 200</b>

regards

vijay

0 Kudos

Hi,

dynamically it is not possible to change,

but if you want to make it full screen then

copy all properties of the custom control, window height,

visible length, default length etc..

just check with full screen properties..

of <b>SAPLSLVC_FULLSCREEN</b> and screen <b>500</b>

you will be able to set the screen as full screen,

regards

vijay

Former Member
0 Kudos

Hi,

I think You can use this method, this is public.

IF_CACHED_PROP~SET_PROP

Regards,

Sudheer