02-14-2011 10:19 AM
Hello Experts,
I have ZProgram where I want to execute in foreground as well as background. In Foreground I am using Grid display and in background list display.
When i set a layout change in foreground where suppose I filter the fields or change the sequence of fields the same is not triggering in background how can I achieve this.
Thanks,
Nikhil.
02-14-2011 12:17 PM
Hi ,
You have to pass tha layout name to parameter IS_VARIANT of reuse_alv_list_display programatically. If its passed initial it will choose the default layout.
02-14-2011 12:41 PM
I thought the GRID switches automatically to LIST when run in background? Why program this explicitely?
Thomas
02-14-2011 12:47 PM
Hi Thomas,
No when I execute the program in background its getting cancelled.
Thanks,
Nikhil
02-14-2011 12:51 PM
I've just tried with a REUSE_ALV... and also one CL_SALV_TABLE grid, works OK. What error are you getting exactly? Which ALV Grid technique are you using?
Please paste the section of the job log.
Thomas
02-14-2011 1:22 PM
Hi,
if you have several application servers, call report BALVBUFDEL in 1st job step and then your report in 2nd step in batch. ALV buffers should be cleared then.
Regards,
Klaus
Edited by: Klaus Babl on Feb 14, 2011 2:22 PM