2006 Apr 10 10:33 AM
hi,
I wrote a code for allowing the user to choose a display variant in the selection screen. The user chooses the required variant in the selection screen and views the ALV grid accordingly. This code is working fine in the development server but as it was transported to the quality server, somehow it has stopped working.
Any new variants that are created are displayed in the selection screeN F4 help, but somehow the variants are not working.
Could anyone suggest where i am going wrong?
Thanks,
Aviroop
hi,
I wrote a code for allowing the user to choose a display variant in the selection screen. The user chooses the required variant in the selection screen and views the ALV grid accordingly. This code is working fine in the development server but as it was transported to the quality server, somehow it has stopped working.
Any new variants that are created are displayed in the selection screeN F4 help, but somehow the variants are not working.
Could anyone suggest where i am going wrong?
Thanks,
Aviroop
2006 Apr 10 10:48 AM
Hi,
Did you Check is there any default variant is set to your layout.
Regards
vijay
2006 Apr 10 10:57 AM
Yes,
I have . There is a default variant set to the program.
This code is working absolutely fine in the Dev box but not in the QA box
thanks
2006 Apr 10 11:04 AM
Hi Aviroop,
that is overriding your layout what ever you choose it from selection screen.
are you sure it is working in DEV box, is both the Programs are same or is there any differences...
Regards
vijay
2006 Apr 10 11:24 AM
hi,
I think that you might be right. How do i prevent the default variant from overriding this?
Thanks
Aviroop
2006 Apr 10 11:29 AM
Hi,
in you alv call are you passing the parameter
<b>default = 'X'.</b>
Regards
vijay
2006 Apr 10 11:37 AM
2006 Apr 10 11:41 AM
try to comment it and see./
it will work..
you are telling that alv Fm set the default variant.
if you don't want then comment it, then what ever you choose in selection screen will come in the output otherwise defaut variant overrides the selected one.
Regards
vijay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |