cancel
Showing results for 
Search instead for 
Did you mean: 

Email action - Smartform sent in PDF attachment as well as in mail body

Former Member
0 Kudos

Hi Experts,

I have several email actions configured in the CRM system - some actions should send smartform as PDF attachment (it is working), and some to send smartform directly in the email body (it is not working).

Current SCOT setting is PDF, so how can I make the other smartform be sent in the email body?

PS: In the actions configuration, I am using processing class CL_DOC_PROCESSING_CRM_ORDER and method CRM_SRVORDER_EXEC_SMART_FORM.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

pedro_rondn2
Explorer
0 Kudos

Hello,

I had I similar requierment once. The standard SAP usually provides a processing class that provides a method for sending a PDF document.

However in note 935670 SAP provides two methods that you can use for sending a mail in text format or html format.

I don't know if it will solve your particular inquiry, but it might I think it worth checking.

Best Regards,

Pedro

Former Member
0 Kudos

Anyone with hints?

Former Member
0 Kudos

Hi,

The SCOT setting will take precedence over the standard smartform format. I think the standard smartform format is .rtf. What you can do is to change the scot setting to 'No Conversion' and use an FM to convert the smartform to whatever format you want to send.

Regards,

VImal JOHn

Former Member
0 Kudos

Thanks Vimal,

Do you remember the FM? And can you also provide me the parameters for the FM to send as PDF attachment, as well as in email body?

Former Member
0 Kudos

Try FM's

CONVERT_ABAPSPOOLJOB_2_PDF

CONVERT_OTFSPOOLJOB_2_PDF

CONVERT_OTF_2_PDF

CONVERT_OTF_2_PDF_ARCHIVELINK

Check with an ABAPer. They should be able to help you ou on this.

Thank You,

Vimal JOhn

Former Member
0 Kudos

Hi,

I had the same requirement.Please let us know,How did you solved this problem?

Thanks,

Adi.