Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Layout Change when program run in background.

Former Member
0 Likes
1,086

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.

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
637

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.

Read only

0 Likes
637

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.