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

Starting new task 'latepy'

Former Member
0 Likes
575

Hi all,

Do I have to create the task 'latepy' here at somewhere?

CALL FUNCTION 'ZHR_SENDMAIL STARTING NEW TASK 'latepy'

exporting ...

importing ...

exceptions ...

When I have removed the " starting new task 'latepy' "

mails are sent but if not, mails are not sent and assigned their properties as 'No entry in queue yet'.

As last remedy, I can remove the 'latepy' to handle the problem but I wonder this task matter.

Thanks.

Deniz.

Hi all,

Do I have to create the task 'latepy' here at somewhere?

CALL FUNCTION 'ZHR_SENDMAIL STARTING NEW TASK 'latepy'

exporting ...

importing ...

exceptions ...

When I have removed the " starting new task 'latepy' "

mails are sent but if not, mails are not sent and assigned their properties as 'No entry in queue yet'.

As last remedy, I can remove the 'latepy' to handle the problem but I wonder this task matter.

Thanks.

Deniz.

2 REPLIES 2
Read only

Former Member
0 Likes
530

no..you don't have to create the task anywhere else...the task is just meant for executing the FM in a separate session in asynchronous mode..

you can check the results of this task using the RECEIVE RESULTS FROM FUNCTION to see if your function has executed successfully

RECEIVE RESULTS FROM FUNCTION 'ZHR_SENDMAIL'

<parameter list>

Read only

Former Member
0 Likes
530

Are you doing any parallel processing here...?