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

Report doesn't get executed in Background

Former Member
0 Likes
538

Hi Experts,

I got a report which works fine in foreground but it takes lot of time while running in background.

The program calls a screen '1000' while displaying output.

The program while running in background keeps toggling between PAI and PBO.

While running the same program in foreground the report displays an output once it completes PAI.

Please let me know has anyone tried to display a module program output in background ?

What is the possible solution to remove this error.

Please help.

Thanks in advance for your support.

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
481

Hi Experts,

>

> I got a report which works fine in foreground but it takes lot of time while running in background.

> The program calls a screen '1000' while displaying output.

> The program while running in background keeps toggling between PAI and PBO.

> While running the same program in foreground the report displays an output once it completes PAI.

>

> Please let me know has anyone tried to display a module program output in background ?

> What is the possible solution to remove this error.

>

> Please help.

>

> Thanks in advance for your support.

It is module pool program and you have a custom screen which you are calling then the program wont run in the background. in the background, there is no connection to SAPGUI so this wont run.

if you can code it in ALV then you better code it in ALV to run in foreground and background. There are blogs for ALV.

good luck

Hi Experts,

I got a report which works fine in foreground but it takes lot of time while running in background.

The program calls a screen '1000' while displaying output.

The program while running in background keeps toggling between PAI and PBO.

While running the same program in foreground the report displays an output once it completes PAI.

Please let me know has anyone tried to display a module program output in background ?

What is the possible solution to remove this error.

Please help.

Thanks in advance for your support.

2 REPLIES 2
Read only

former_member191735
Active Contributor
0 Likes
482

Hi Experts,

>

> I got a report which works fine in foreground but it takes lot of time while running in background.

> The program calls a screen '1000' while displaying output.

> The program while running in background keeps toggling between PAI and PBO.

> While running the same program in foreground the report displays an output once it completes PAI.

>

> Please let me know has anyone tried to display a module program output in background ?

> What is the possible solution to remove this error.

>

> Please help.

>

> Thanks in advance for your support.

It is module pool program and you have a custom screen which you are calling then the program wont run in the background. in the background, there is no connection to SAPGUI so this wont run.

if you can code it in ALV then you better code it in ALV to run in foreground and background. There are blogs for ALV.

good luck

Read only

0 Likes
481

Thanks.