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: 

Different PDF attachment for Particular vendor

narendar_naidu
Active Participant
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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,

0 Kudos

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