Skip to Content
0
Jan 22, 2010 at 01:22 PM

Smartform in action profiles : not able to send as pdf attachment.

37 Views

Hi Friends,

I am working on CRM 7.0,IC WEB CLIENT.

I have developed a smartform, which contains two pages.

When action is triggerd, mail has to get triggered(sost) .In mail One page should go as body, one page should go as pdf attachment. Main thing is second page(certificate) has to go as attachment.

I have copied standard class(CL_DOC_PROCESSING_CRM_ORDER) to custom class(zclass), in that i have edited the method 'CRM_ORDER_EXEC_SMART_FORM'.

I used the FMs 'CONVERT_OTF_2_PDF', 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

Please reply me suggestions or code ....

Waiting your reply,

regards,

raj