cancel
Showing results for 
Search instead for 
Did you mean: 

Email triggering for Invoice

Former Member
0 Kudos

Hi Gurus,

My requirement is to trigger an E-mail when ever invoice is saved.we have out put type MAIL in the output types and no access sequence assigned to it.should we use this codition type for triggering an Email..

and can you please say me the configuration settings for triggering an Email.

Regards

Narayana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manam,

Try creating a new output type by copying MAIL, and make the transmission medium as 5 - External Send. Maintain the email address in customer master and set your dispatch time as 4 - Send immedieately while saving.

Now create an invoice and try saving it, get help from your basis guy and see if the server is configured for sending emails.

You can go to transaction SCOT and SOST to see whether your emails are now getting triggered.

If you find this useful, reward points for contribution.

Regards

Ravi

Former Member
0 Kudos

Hi ,

I dont think so Output type MAIL is to send to external Ids of customers.I think MAIL output type is used for internal mails.So can any one give clarification or throw some light on this..

Regards

Narayana

Former Member
0 Kudos

Hi Manam,

Previously i have checked and used to get mails to my personal mail id using MAIL output type. You have to maintain the mail id in customer master record address data, you will get it to the id which you have maintained.

Reward if helps you.

Venkat Cheedalla

Former Member
0 Kudos

Hi Venkateswarlu,

This is bit encouraging for me and output MAIL output type is not getting determined automatically in the billing document.can you say me the reason .and as you said i need to do some configuration changes in the programme.can you please list me the configuration changes i need to make.and when i issue output in VF02 to screen.It is saying that no output has been selected for printing..Please help me out

Regards

Narayana

Edited by: manam narayana on Feb 25, 2008 2:13 PM

Former Member
0 Kudos

Hi,

As you know without access sequence it is not possible to maintain the condition records.

First generate a condition table as you require on what condition you want to generate a mail. EX: Sales Org/ Customer (SP)

maintain an access sequence with the table you generated.

Take a copy of MAIL rename it and assign the above access sequence.

Maintain the output type in the procedure. Now maintain the condition records for the above output type, as below.

partner function SP( to whom you want to send mail), Medium : External send.

Time of dispatch: Send immediately while saving.

Using the above settings i can able to send the mail to customers. You have to maintain the E mail address in the customer master record.

Manam, Nothing new in this, this is all SAP standard process. You can have changes in form or program as per your requirement.

Hope this will solve your issue, then reward me.

still have issue let me know.

Thanks.

Venkat Cheedalla

Former Member
0 Kudos

Hi Venkateswarlu.

For out put type MAIL the partner function assighned is Mail partner and while maintaining the condition records i couldnt maintain the records for a customer.and wen i maintain the output type manually in the Invoice in comunication method it is asking for the mail reciepts...

I found in OSS notes 510122 that SAP gave some standard condition types for triggering an Email those are FIN0,FIN1,FIN2. and it is clearly mentioned in the tutorials that MAIL condition type is used to send mails internally.

I used the condition type FIN0 and in the Analasys it is showing that requirement 406 not satified.Can any one say wat the requirement 406 does.

So any one of you can throw some light on this.

Regards

Narayana.

Former Member
0 Kudos

Hi Narayana,

You can assign the partner functions to the out put type in it's details tab. select the output type and select the partner functions, change as per u r requirements and do it again. Maintain sold to party instead of mail recipient and maintain the mail id in the sold to party, now maintain the condition records and run the transaction now.

Hope this will clear your issue.

Thanks

Venkat.

Former Member
0 Kudos

Hi venkateswarlu,

I hav done the config and able to get the output but some basis settings need to be done and wen we trigger a mail at the time of saving a document i think we can see that in T.code SOST.but i couldnt see the document there in SOST.can u please resolve this.

Regards

Narayana

Former Member
0 Kudos

Hi,

As mentioned in my earlier thread

Go to transaction NACE,

For Application V3, select your output type, and maintain entries under condition records (Sales Org / Billing Type) depending on the access sequence that must have assigned by creating a new output type.

Make sure you have assigned your output type to procedure V10000 - Billing Output

Also cross verify whether in your condition type , you have maintained the transmission medium as 5 and dispatch time as 4 .

Now maintain email address of the customer in transaction BP or XD02.

Now try creating a new sales order for this customer and create an invoice.

You can monitor trigerring of your emails through transaction SCOT and SOST.

Contact your Basis team if you need confirmation of configuration of trigerring emails.

If helpful, please dont forget to reward points for contribution.

Regards

Ravi

Former Member
0 Kudos

Hi,

I am very sorry that i am not aware of SOST and SCOT, it is better you maintain the email id of yours in the customer and do the transaction, now check it.

Thanks

Venkat Cheedalla

Former Member
0 Kudos

Hi Friends,

I am using the SAP standard output type FN00 for email triggering and it is showing that the output triggered.But i couldnt see the spool numbers and also i couldnt track then in SOST.

any ansers on this appreciated.

Regards

Narayana

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Pls chk the following links

SAP SDN link :-

/thread/468481 [original link is broken]

Thanks

SD Novice

Former Member
0 Kudos

check out the configuration in T.code: NACE

Former Member
0 Kudos

Hi,

In NACE we configure the output.can any one please share their experience and help me in configuration of triggering an Email wen the nvoice is saved.

Regards

Narayana

Former Member
0 Kudos

Hi,

Is this is your requirement for all the customers or for few customers. If it is for few customers take a copy of MAIL output type, and create an access sequence as per your requirement and assign it to the output type. Now do the rest of configuration including changes in program and form. Maintain the condition records. in condition records maintain dispatch trigger as Send Immediately ( when saving the document).

Try this now and let me know if you have any further issues in it. I hope it will work.

Thanks

Venkat