cancel
Showing results for 
Search instead for 
Did you mean: 

How to send an ouput as PDF attachment to email

Former Member
0 Kudos

Hi,

We have a 'Z' output for a delivery document. The output has the standard RLE_DELNOTE driver program and a Zsmart form assigned to it. We need to send the output as an attachment to email. Can some one please adivice how this can be achieved?

Thanks in advance

Kat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Plz try following steps.

1. Note the spool request No.

2. In T/code SE38, Enter The programme and execute.

3. In sub Object- Click Documentation and then do debuggung.

4.Enter spool request no and desired location and execute.

5. In ABAP Debugger- Use F8 key.

6. Select the desired location and file name and save.

View the desired output in PDF and can be sent through mail.

Hope this helps.

Regards,

Jaiprakash.P.T

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

To suppliment GSL's posting:

To get spool number use transaction:SP01

Murali

Former Member
0 Kudos

Thank you all for the response! Can you pl see the requirement in light of the details below:

As mentioned earlier, this is about a Z output with standard driver program and a Z Smartform,

For the output type, we had created an additonal medium ( External send), used communication strategy CS01 and assigned Partner as Ship to party. We have also created a new logical printer PDF that has capability to read output as PDF. The user and vendor masters have the emails maintained.

With all above settings If I trigger an output that has medium "External Send", i am unable to process successfully and there in no communication log so I dont know where I am stuck.

Pl advise!

Thank you

KAT

Former Member
0 Kudos

Is SAPConnect configured. Check tcode SCOT.

Regards,

GSL.

Former Member
0 Kudos

Hi

See the below link to a thread which explains about emailing PO from SAP the steps for delivery would be the same instead of Vendor it will be customer where you need to maintain the email address.

And also the output type etc config should be done in SD

Former Member
0 Kudos

Run report RSTXPDF4 in SE38 transaction and give the spool number. The output will be saved into a PDF file which can be sent to the customer as an attachment. This is a manual process.

If you want to send automatically from delivery itself then SAPConnect has to be configured by BASIS guys. From SD side output type should be modified to include medium 5 External send.

Regards,

GSL.