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: 

Email Not generated from VF06 - more than one invoice created same BP

Former Member
0 Kudos
128

Customer is creating invoice in VF01, they need a email output (medium 5) along with SAP Script attached . I coded the logic in subroutine Entry of the print program. Email is getting generated successfully .

But it production the customer is creating invoices by VF06, infact VF06 is a batch Job to create Invoices.

For eg: using VF06 if they run batch job, 2 or more invoices are getting created for the same business partner, only for the first invoice email is getting generated, but it only sends one email related to the first invoice generated. Though the outputs are getting processed for other invoices we are not getting any emails.

We are sending email by using the FM SO_DOCUMENT_SEND_API1, if i use commit = 'X', and run Vf06, its sending an error notification stating error doing commit.

Also I checked all the sort options in VF06, Still it wont work.

Can any body please help me how to proceed. Your valuable help is appreciated <removed by moderator>.

Regards

Ravi

Edited by: Thomas Zloch on Jul 2, 2011 7:24 PM

1 REPLY 1

Former Member
0 Kudos
49

Standard program is modified by customer.