2007 Sep 27 12:11 PM
Hi,
I have given the option to user to run the report both in foreground and background.
I am using SO_DOCUMENT_SEND_API1 FM to send mails, when I run in foreground, mails are going and I am able to see it in SOST but when I run the report in background then mail are not going.
How to solve this issue?
Thanks in advance.
Regards,
Balaji Viswanath.
2007 Sep 27 12:15 PM
2007 Sep 27 12:16 PM
I think you can't execute the report as it is using SO_DOCUMENT_SEND_API1and this FM
SO_DOCUMENT_SEND_API1 does not work in the back ground.
See the diff between back ground execution and foreground execution.
Using fore ground execution, you can send mails and files but when you execute it back ground the desktop files and mails etc, can't be processed.
Regards,
Pavan
2007 Sep 27 12:28 PM
2007 Oct 02 2:08 PM
Actually FM SO_DOCUMENT_SEND_API1 works fine in background also.
In my background logic, adversely I was refreshing i_receiver internal table, so it was not working in background. Sorry.
Regards,
Balaji Viswanath.