2006 Jan 16 4:59 PM
Hi,
I have a query regarding ALV report.
The requirement is as follows:-
When the user executes the ALV report and if he sums one numeric field column values and filters out some of the field columns ( for example there r 5 columns in the report and the user has filtered out 2 of them and viewing only 3 columns)
and now the requirements is that when the user runs the report later he should see the modified report ( i mean only 3 cloumns and the total value of the column which he has made) but not the original output which was there when the report was developed.
First of all i wanna know is it possible to do r not. If yes then how
Hope u have got what i want.
eagerly waiting for ur reply.
regards,
maqsood
Hi,
I have a query regarding ALV report.
The requirement is as follows:-
When the user executes the ALV report and if he sums one numeric field column values and filters out some of the field columns ( for example there r 5 columns in the report and the user has filtered out 2 of them and viewing only 3 columns)
and now the requirements is that when the user runs the report later he should see the modified report ( i mean only 3 cloumns and the total value of the column which he has made) but not the original output which was there when the report was developed.
First of all i wanna know is it possible to do r not. If yes then how
Hope u have got what i want.
eagerly waiting for ur reply.
regards,
maqsood
2006 Jan 16 5:03 PM
Hi Maqsood,
After the first run, do the totalling, filter the columns and save the list layout.. set the saved list varinat as the default..
Regards,
Suresh Datti
2006 Jan 16 5:04 PM
Whatever the user has done on the ALV list can be saved in a ALV variant. You can provide the variant as a parameter on the selection screen and pass the variant value to the ALV call.
Read the documentation for ALV variants.
2006 Jan 16 5:04 PM
Hi,
let your users save their own variants within the ALV Grid.
Regards,
Hendrik
2006 Jan 16 5:07 PM
Hi
Yes you can! You have to manage the layout variant.
So when you call your ALV you have to set the parameter I_SAVE = 'A'.
In this way you'll allow the user to save the variants for layout.
After you has to have a chance to choose the variant in selection-screen.
See the demo program BCALV_GRID_11 to manage the variant in selection-screen.
Max
2006 Jan 16 5:09 PM
Hi Maqsood,
Yes You can do that.
Do the changes in the output of the ALV report & then go to
Settings>Layout>Save.
Here you specify the Save layout & a Name to it.Here you have option of making that output style as Default by selecting the Default setting check-box,so that next time it is run,you can see the saved layout.
Here you can specify any no. of types & save them.Wheever you want to see the layouts you can select by going to the same path & selecting one you require.