‎2007 May 23 7:57 AM
Hi,
I recently got the job to create a rather comprehensive monitor for WM. I also created several layouts for the users in the ALV in the Monitor. These layouts can be transported via customizing transports.
Now the problem:
Depending on the filled Select-Options it makes sense to show the user specific layouts. Is it possible to switch these layouts at runtime without using different structures for the ALV?
‎2007 May 23 8:11 AM
hi steffen,
we can select only one layout as "default" ..
based on the selection scrren input , it is not possible to change the layout.
but we can do it in another way,
<b>have a set of fcats in various performs.
call that perform based on the selection screen input.</b>
liek this ..
******dont forget to delete that layout which u hav created****8
if radio_1 = 'x'.
perform f_cat1.
elseif radio_2 = 'x'.
perform f_cat2.
endif.
form f_cat1. " fcats
srno
pernr
name
sex
endform.
form f_cat2.
srno
pernr
basic
hra
endform
With Regards,
S.BArani
‎2007 May 23 8:22 AM
Wow, thanks for your very quick response.
That's a possibility which I was already told by my colleagues. In my opinion this solution isn't adequate, because I cut out all the other fields the user might be interested in... I still want the option for the users to create their own layouts!
Someone else got a clue how to solve this?
‎2007 May 23 8:32 AM
yes steffen,
u r right , we have to provide such facility to user,
but sometimes we have to stick in certain things like this...
dont forget to tel me if u got another solution for this...
With Regards,
S.Barani