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 in running a program in Background

rajan_venkatachalam
Product and Topic Expert
Product and Topic Expert
0 Likes
1,012

Hi Guys,

Execution of a report interactively gave no errors. We tried to schedule job in background, with variants for the respective cases. But this resulted in the

following error in the joblog: "Error in function module POPUP_TO_CONFIRM"

I know this function module expects a user input.How can I supress this

dialog when I run the report in background.

Thanks and Regards,

Rajan

2 REPLIES 2
Read only

Former Member
0 Likes
573

Hi,

Try using SUPPRESS DIALOG before popup when u run in back ground.

Venkat

Read only

JozsefSzikszai
Active Contributor
0 Likes
573

you have to check before the FM call is the report runs in background/foreground:

IF sy-batch IS INITIAL.
=> foreground, you cam call POPUP_TO_CONFIRM.
ELSE.
=> background
ENDIF.