Application Development 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: 

same layout in foreground and background program

former_member333737
Active Participant
0 Kudos

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.

5 REPLIES 5

kesavadas_thekkillath
Active Contributor
0 Kudos

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.

ThomasZloch
Active Contributor
0 Kudos

I thought the GRID switches automatically to LIST when run in background? Why program this explicitely?

Thomas

0 Kudos

Hi Thomas,

No when I execute the program in background its getting cancelled.

Thanks,

Nikhil

0 Kudos

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

former_member195402
Active Contributor
0 Kudos

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