Skip to Content
0
Former Member
Aug 09, 2008 at 12:02 PM

Attach a PDF File

37 Views

Hi all,

I have converted a Smart Form output to PDF file using the Function Module CONVERT_OTF.

I need to attach this PDF file to the Transaction CRMD_ORDER, when the user clicks SAVE button.

I am using the method CREATE_WITH_TABLE of the class CL_CRM_DOCUMENTS.

A file is getting attached, but gives an error saying that "Content data for object 'CRM_P_ORD' not found" and "Error in opening in file".

Please tell me the correct usage of the Method or if any other way is available for attaching PDF file.

Thanks,

Preetha