Skip to Content
author's profile photo Former Member
Former Member

Invoice PDF download & sent via email to customer

Hi SD Gurus,

Need your help for the below bussiness req;

Now my comp requirement is Invoices should downlod to PDF & sent vai email to customers [SP] can be single/multiple Recipient..?

Currently we have a ZRD0 output type,setting as below:

Tranmission med: 1

Procesing time : 4

Printer name : mentioned.

Print immed : indicator off.

Can i use the same above ouput configuration especially Tranmission med as 1.

I will maintain multiple emial ids for customer KNA1-SMTP_ADDR & will give the logic to apber to do some modification in prog..like when ever the invoice is created & output triggered,the sys should first check for customer emailds & then PDF should be download & sent via mail ,If found sys should sent the PDF inv vial email...ELSE...if the conditon fails like no emial-id found in the customer master then sys should only gerneate the spool & later the user maully will print the spool# on the printer.

Kinldy Advice..!

Thx

Add a comment
10|10000 characters needed characters exceeded

Related questions

8 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2007 at 06:57 AM

    The same output can be used. First in SPRO- Sd _ basic Function- Output control - Output determination-

    Maintain Output Determination for Billing Documents-

    Maintain Output Types

    Here copy the print output entry and maintain medium as 5 for email. Keep output program & script name same.

    Modify the print program for email logics.

    On selecting this output type the mail will be generated automatically with invoice as PDF attachment for those email are maintained. For this SCOT should be configured and track outgoing mails thru SOST.

    Hope it helps.

    anya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2007 at 08:16 AM

    Hi,

    Thanks for the quick responce.

    Kindly confirm for below:

    1. If we use T.medium as 5 the spool# will not be generated.

    2. why can't i use T.medium as 1,which allow to create the spool# & later also fulfills my 2nd requirement as for non-PDF customers the user can issue the spool# for printing manually.

    3. If we use T,med as 5 it will missout my 2nd req.

    Kinldy correct me,If i am wroung.

    Thx

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2007 at 08:57 AM

    Hi Rahul,

    Follow this link it will give you a clear idea and it will help to solve your problem..

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9

    Reward If Helpful..

    Regards..

    Praveen Kumar.D

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2007 at 08:58 AM

    In case of T medium 5 the mail is automatically triggered and invoice is attached as PDF attachment.

    Since requirement is both for mail and spool use the T medium as 1 and code the whole logic of sending mail & conversion to PDF in program itself.

    hope your doubs are clear.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 03:24 AM

    Hi Anya,

    Thanks for solution,I will follow the same.

    I have 1 more question regarding the email send.

    I had tried to input the multiple emial-ids in the customer master for field E-mail,But while maintaing multiple email-ids, i see 2nd coloum having a radio button under Standered,Whats this..?it allow us to select only 1 email-id.

    So,My concern is whether the sys is going to trigger email only for this selected emial-id[Radio button selected] orelse the sys will trigger the mail to all the email-ids maintained here...?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 07:13 AM

    Kindly refer to input help on that standard radio button

    Standard Sender Address in this Communication Type

    Use

    If a user sends a message externally from the SAP System, their standard address is set as the sender address in the communication type used. This indicator is then important if several addresses are maintained for one communication type.

    So single mail will be sent to address which is maintained under standard button.

    hope this will help.

    anya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 09:18 AM

    Hi Anaya,

    Then how the invoice will the send to multiple customers,If i maintain multiple email-ids in the customer master & 1 id will be defalult as standered.

    Kinldy advice the solution.

    Thx

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 03:02 AM

    Hi Anya,

    My concern is,If i maintain 10 email-ids in the customer master record,is't the sys going to trigger my invoice to all these 10 email-ids or not..?

    For which email-id ,i should select that standered radio button..?

    Kinldy Advice.

    Thx

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rahul Roy,

      As per my knowledge based on redio butten we can send email to specific Mail ID which we select, if tyou want to send more than one Mail ID you need to go for Enhancement with the help of ABAPer.

      I hope it will help you,

      Regards,

      Murali.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.