06-29-2013 6:27 AM
Hi All,
The purpose of the program is to send vendor invoices to individual vendors.
I am facing issues in PDF attachment to mail which are very different .
1. The PDF gets generated and when i check the same in SOST for a Vendor i find the wrong invoice being generated.
But when my functional opens the same in SOST he opens the right invoice and the User ID is same from which we trigger the mail.
Just want to know whether this is any system configuration error or OS error ? I am confused. (Mail doest get delivered due to some other issue)
2. And When my functional executes the program only one vendor invoice is wrongly generated and rest all are correct. And if i debug and check the proper data is being passed to the CONVERT_OTF FM but the generated PDF is wrong. Single invoice repeats for all the vendors.
I am also clearing and refreshing the Internal tables and work areas.
Please throw some lite on why and how this peculiar errors comes up.Any help wud be gratefull.
thanks,
Naren
06-29-2013 1:06 PM
Hi Naren,
I suppose you are checking in foreground and the mail gets generated for all vendors together in background is that the case.
Regards
07-02-2013 6:07 AM
thanks Shah,
we have three options in the selection screen-Print,Download and Mail.
PDF generation is working fine for the first 2 options,except for the mail.
And the program is for foreground only.
regards,
07-02-2013 7:00 AM
Can you put your code for mail it would be a missing clear some where and the wrong attachment would be going.
put the entire mail code in a single perform or method. and process it entirely in one place.
Regards