‎2009 Jan 12 4:38 AM
Hi All,
I have a layout field on the selection screen. When I run the program in foreground, iam able to see the change in the layout in the output. When I select a layout name and run the report in background, Iam sending a file to the application server. Now, when I give the layout and run the report in background, the file iam sending to the app server should have the same layout which i have selected in the selection screen.
Please help with some example code.
Thanks,
Guru Charan.
‎2009 Jan 12 4:47 AM
If you are using OPEN DATASET to download the data then are you modifying the table with the layout selected before downloading?
That layout is for ALV (I guess you are using it for ALV), then it will be only used for ALV and data downloaded using ALV functionality as its already handling it.
‎2009 Jan 12 5:05 AM
Hi Amit,
Thanks for the reply. The program can be run both the ways. When it is run in the foreground, Iam changing the layout with the help of REUSE_ALV_GRID_DISPLAY. It is working.
But when iam running in the background, I have to send a file to application server with the same layout.
thanks,
Guru Charan.