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

problem while displaying data in spool using oops alv

Former Member
0 Likes
453

Hi,

I have created a oops alv, in which iam displaying 2 ALV's on 2 containers..

Iam able to display the data which i need when i execute the program in foreground , But when i execute the program in background iam not able to see the 2nd ALV in the spool....

The ALV displays one below the other.

How i can i correct it..?

Vishwa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
370

Hi,

The container created in ALV will work only in foreground as this is the framework the background cannnot initiate the container object and assign the ALV to the container.

Hence you cannot create the container object and assign the same to the ALV screen in background. Instead you need to use the factory method/ALV FM to display in background mode.

For background ALV processing, don't use OOPS! U can use this fm : REUSE_ALV_GRID_DISPLAY.

You can also refer below threads:

Regards

Shiva

2 REPLIES 2
Read only

Former Member
0 Likes
370

is your problem resolved if yes plaese tell me the solution

Read only

Former Member
0 Likes
371

Hi,

The container created in ALV will work only in foreground as this is the framework the background cannnot initiate the container object and assign the ALV to the container.

Hence you cannot create the container object and assign the same to the ALV screen in background. Instead you need to use the factory method/ALV FM to display in background mode.

For background ALV processing, don't use OOPS! U can use this fm : REUSE_ALV_GRID_DISPLAY.

You can also refer below threads:

Regards

Shiva