baanhp
23rd November 2010, 09:15
Dear All,

I am using cmf.sendtoperson() for sending email from Ln .I am using spool.fileout for sending ASCIF file ,which is working fine for first Record .

But in a loop for multiple Records the file is not getting created and therefore its picking old file .

The purpose is sending E mail to multiple BP by splitting the report,BP wise .

please suggest how to resolve on urgent basis

Thanks and Regards

sameer.don
23rd November 2010, 12:39
Try to introduce time delay after u call function: cmf.sendtoperson() .
u can use wait() function for the same.

baanhp
27th November 2010, 09:05
thanks for ur reply
now the issue is resolve .
i have used the stpap.end session after sending mails from all bps one by one