2007 Aug 01 8:28 AM
Hi ,
In my final internal table i have 55 fields but my requirement is that only 20 fields will get display and rest of the fields will be selected by user from change layout button.How to fulfill this please send me detail step..
Thanks
Prince
2007 Aug 01 10:45 AM
Hi Prince,
Execute Your Report then save your layout containg 10-15 fields as per your requirement starting with prefix '\z' then use the function module "REUSE_ALV_VARIANT_EXISTENCE" and look in the internal table of type gsvarinat and get your created variant name and pass this in the function module "REUSE_ALV_GRID_DISPLAY" parameter is_variant = "your itab name"..
Hope this will solve your problem..
Regards
sajid
Hi ,
In my final internal table i have 55 fields but my requirement is that only 20 fields will get display and rest of the fields will be selected by user from change layout button.How to fulfill this please send me detail step..
Thanks
Prince
2007 Aug 01 10:45 AM
Hi Prince,
Execute Your Report then save your layout containg 10-15 fields as per your requirement starting with prefix '\z' then use the function module "REUSE_ALV_VARIANT_EXISTENCE" and look in the internal table of type gsvarinat and get your created variant name and pass this in the function module "REUSE_ALV_GRID_DISPLAY" parameter is_variant = "your itab name"..
Hope this will solve your problem..
Regards
sajid
2007 Aug 01 10:53 AM
Set the NO_OUT parameter in the field catalog for the fields you do not want to appear initially to 'X'. Only those fields which have NO_OUT as space will appear initially on the output.
Please mark points if the solution was useful.
Regards,
Manoj