09-26-2008 10:47 AM
Hi all abap gurus,
I am using REUSE_ALV_GRID_DISPLAY, now wat is want is that i have 15 fields in my fieldcatalog but when alv grid is displayed first time i want to display only 10 fields, after the display user can display the remaning fields by changing the layout settings at display level itself,
now i can abe to change the the number of fields displayed at screen level that is the standard func. ALV provides but first time ALV grid is displayed all the fields are displayed which i want to restrict to fewer fields.
thanks
Devender.
09-26-2008 10:53 AM
>ALV grid is displayed all the fields are displayed which i want >to restrict to fewer fields.
If you Don't want all the fields then you can use NO_OUT option in the fieldcatalog for the column which you Don't want them in first display.
fieldcat-no_out = 'X'. "mention for the columns which you want
"to hide.
09-26-2008 10:55 AM
Try like this
add a Push button at the application toolbar, assign a function code to it, and give the code for that function in user-command.
09-26-2008 10:56 AM
hi
use NO_OUT in field catalog which fields are not need to display at first time display. User can select in layout setting for display
09-26-2008 11:25 AM
hai ,
use variant option such that to display 10 fields in output .
resue_variant_get.
shan.
09-26-2008 1:28 PM
I was missing that i got if afterwards, but anyways thanks all of u for helping