Skip to Content
avatar image
Former Member

condition record for sending email

Hello ,

i am using report RSTXPDFT4 , it will convert the spool request to pdf , i tried and it worked .

But this was all done manually .i.e. se38 and execute the report and then enter the spool number .

What i want is that the pdf should be send automatically to the user by email.

So ,in NACE if in the output type i chnage the print program to RSTXPDFT4 and then i create a condition record for the user to receive an email , will the user get the pdf in email .

Please let me know , if i am missing anything .

Is there any way i can get the pdf in my inbox for testing

Sumit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 26, 2010 at 12:58 PM

    Sai is on the right track. My answer is constent with his.

    Here is how we do it in our version 4.7 system.

    The print program assigned to an output type is a standard SAP print program (like RLE_DELNOTE). They are designed to handle messages (output) for several MEDIA, include MEDUIM = 5 u2013 external send.

    The output condition record is where the MEDIUM = 5 gets assigned.

    You maintain the output recipientu2019s email address in their master record.

    When the output is generated successfully by the application (indicated by a green marker on the output record screen of the document), you should find the email output in the SAPconnect grid (t-code SOST). The status there will go green when SAP successfully passes the message to an external email system for delivery.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks ken for the reply.

      let me explain step by step what i have done .

      in nace , i have maintained the program and medium as my previous meassges and then in NACe only , control records for pdf where i have defined the ZZ function for the partner and also given the partner number

      this partner number has a email attached to it in the hr master data (pa20)

      Sumit

  • avatar image
    Former Member
    May 26, 2010 at 12:33 PM

    Yes it is possible. First you need to create a spool request and then the pdf convertor can work on the spool and convert it to pdf and send it as mail. . The output program first need to generate a print (spool ) of the order confiramtion and then the pdf convertor will convert this spool to pdf.

    Condition record can be set up as medium 5 - External send.

    Regards

    Sai

    Edited by: Sai on May 26, 2010 8:33 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      my response was for Senya. For your requirement you can please follow the steps I mentioned in my post . it is very much possible to with one output type .

      Regards

      Sai