‎2009 Jan 22 9:54 AM
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
‎2009 Jan 22 10:00 AM
Hi,
Try using SUPPRESS DIALOG before popup when u run in back ground.
Venkat
‎2009 Jan 22 10:02 AM
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.