Application Development 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: 

SO_DOCUMENT_SEND_API1 in background

Former Member
0 Kudos
128

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.

4 REPLIES 4

abdulazeez12
Active Contributor
0 Kudos
76

The following link may be helpful..

Former Member
0 Kudos
76

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

Former Member
0 Kudos
76

sorry

Former Member
0 Kudos
76

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.