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: 

Sales Order VA02 or Invoices VF02 - Output as mail and send to printer in background

former_member210252
Contributor
0 Kudos

Hi Experts,

I have a requirement like, we will create sum n number of  Sales Order. And want all these Sales Orders in pdf format to the mail id and also should send them to the printer for printer.

Can this be done in background. If so please share your thoughts on it.

1. Sales Orders or Invoices to be sent to spool.

2. Processing the spool and then sending to mail or printer.

Regards,

Mohammed

4 REPLIES 4

Former Member
0 Kudos

hi

you can make report for sale orders and scheduled it in background.and also you can enter mail ids.whom you want to send mail.these sale orders.

nabheetscn
Active Contributor
0 Kudos

Hi

You can do this by configuring output type if they are getting created or changed. Or you can do as suggested above if business needs a separate report.

Nabhbeet

Former Member
0 Kudos

HI,

Check these OSS note and you will easily do it:

Note 454893 : Sales document output as an email.

Note 753622 : Sending body text and pdf attachment

Note 960088 : Sending External SD message

Regards

Ajit

Former Member
0 Kudos

Hi,

Check program BCS_EXAMPLE_8 in se38

which is a program to convert the spool id to pdf and then send pdf attachment as mail.

Also check FM 'CONVERT_ABAPSPOOLJOB_2_PDF' which also has background parameters to set.

Let me know if it works.

Regards,

Varun D.