cancel
Showing results for 
Search instead for 
Did you mean: 

sending an email of the layout in PDF attachement

Former Member
0 Kudos

Hello All,

I have written a program to send the layout in PDF format to send in a mail to the customer.

The email is going fne with the PDF attachement in the development box, but it is not working in Quality box.

In the Quality box the email is going but the attachement is not opening.

I have used CONVERT_OTF function module for converting OTF format to PDF format. As per my analysis it is returning the PDF format properly in Developement box but not the same in Quality. In Quality the the data returning in PDF format is not in proper manner. It is giving some junk data with symbols like traingle, rectange..etc..

I am using FM SO_OBJECT_SEND for sending an email.

Can you please suggest me what may be problem?

Valuable answers will be rewarded.

Thanks & Regards,

Satish.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

you need to save the File in PDF format not in the text format.

check whether the file is saved in pdf format or not.

Regards,

Raj.

Former Member
0 Kudos

Please have a look at below weblog. It will give you more details.

[PDF Output|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8613] [original link is broken] [original link is broken] [original link is broken];

Though it is related to smart form, but the mail sending part with PDF attachment will give you the required details.

I hope it helps.

Thanks,

Vibha

Please mark all the useful answers