‎2010 Jan 08 9:35 AM
Hello experts,
Here I am tryin to convert smart form to pdf and attach to email.
some how I manage to get through the method
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'SAP'
i_att_content_hex = conhex.
program goes into it and its dumping at SO_ATTACHMENT_INSERT_API1.Am I missing something here...Plz advise
btw the exception is DOCUMENT NOT EXIST!!
Thanks
Edited by: BrightSide on Jan 8, 2010 9:38 AM
Edited by: BrightSide on Jan 8, 2010 9:39 AM
‎2010 Jan 08 10:09 AM
Hi
can u try with this Function module
any one of these.
SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
'CONVERT_OTFSPOOLJOB_2_PDF'
Thanks & ragrads,
santhosh
‎2010 Jan 08 10:26 AM