2008 Aug 01 9:29 AM
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.
2008 Aug 01 9:41 AM
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>
2008 Aug 01 9:45 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |