cancel
Showing results for 
Search instead for 
Did you mean: 

How to send invoice through E-mail

Former Member
0 Kudos

hi,

The client has Z programme to print its invoice and that is assigned to aTcode

Now how to send the output through E-mail.

because in standard programme it can be done in NACE and VV31

Since Z programme how to go about it.

Regards

Anil

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

thank you

Former Member
0 Kudos

hi,

If your SD output configuration is set up correctly, an e-mail from SAP using medium 5 should go through just fine via SAP connect (transaction SCOT). When it works, the external recipient should receive an e-mail with a PDF attachment containing the form image, regardless of whether it has been created via SAP script or Smart Forms. Depending on your output determination settings, this even can happen in the background, without any interaction with the SAP front end (e.g. for invoices created automatically by a batch job).

Typically, a failed send will be flagged in the message control table (NAST), and this table should be monitored closely. However, there are many reasons why a document hasn't gone through, and this can be the case with both outgoing faxes and e-mails from SAP. The solution to both is the same: After identifying the failed document, re-send it manually by going inside it in change mode and repeating the appropriate output. If an obsolete customer e-mail address was the culprit, a customer master change would also be required, along with an audit of any docs recently created for this customer.

If any underlying data has changed since initial issuance, a re-sent document may not appear identical to the (failed) original. Sometimes, as when address info has been corrected, this can be a good thing. After all, the new document is more accurate than the old one.

In other cases, such as when pricing info has changed, it might be a cause for serious concern. There are several ways to deal with this concern:

1) Limit the types of changes allowed on certain docs after creation

2) Set up a doc image archive via Archive Link and re-issue output from there instead of from the current doc; or

3) For highly sensitive docs, consider a more secure delivery method.

REFER BELOW LINK

Sending a Smart Form output via e-mail

you need to maintain the email address of the customer in the customer master and then need to configure the output type in the NACE transaction .and in the settings choose the medium as email.

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/69/e5cb365f6511d2b458006094b9476a/content.htm

check the above links

CHAN

former_member198268
Participant
0 Kudos

Hi,

First maintain the following in the output condition records for Billing.

1)Transmission Media(Whether Simple mail or External send) and

2)Maintain the Email Address in the Customer Master.

In the Program,if the form used is a Smartform for example then incase of using the FM 'WFMC_PREPARE_SMART_FORM',it is very necessary to furnish details in these two importing parameters i.e.,pe_recipient = ' '

pe_sender = ' '

Hope that helps.

Regards,

Sophia Xavier

Former Member
0 Kudos

Hi Anil,

When the output is generated in the sytem before print out, a spool number is generated in the system (TCode SP02). This spool number is then passed on to a function module CONVERT_OTFSPOOLJOB_2_PDF. After this the soft copy of the invoice is converted in the PDF format. You can then send it to your customer.

An ABAP guy can also create a report with input as this spool number and can create a PDF file.

Reward points, if useful.

Regards,

Gaurav Grover

former_member274400
Active Participant
0 Kudos

Hi,

This standard SAP Functionality. You need to carry out output determination. In procedure, mainatin output type and then carry out complete configuration. That will resolve issue. Whether mail has been delivered or not can be checked in SOST. In some cases, clien do not open port so cannt be tested in development.

Regards,

former_member183879
Active Contributor
0 Kudos

Hi

You have to do it through output determination.

In NACE, you have to create an output type, copying the standard output type MAIL and then customise it for your reqmt. In the forms and reqmts, you can give your program and smartform.

You have to select "SIMPLE MAIL" or "external send" based on yoru reqmt for the medium of transmission.

Please consult with your peer consultants to know the basics of output determination.

Hope this helps.

Reward if this helps you-

Former Member
0 Kudos

hi,

well i am not talking about the standard output determination

how i can send the invoice output by making some changes in the Zprogrmme it self which is runs by Z transaction.

Regards

Anil