02-18-2006 7:38 AM
Hi Gurus
I'm sending mail with PDF attachment using FM SO_NEW_DOCUMENT_ATT_SEND_API1. My problem is sometimes it works but othertimes the attachment does not open and message comes "There was an error opening this document.The file is damaged and could not be repaired "
I have tried all the options but still the problem is coming ................
Any idea?????????
Regards
Swatantra
Swatantra
02-18-2006 7:52 AM
Hi swatnatra,
1. In the FM,
we give ATT_TYPE (attachment type)
2. give it as 'PDF'
objpack-doc_type = 'PDF'
regards,
amit m.
Message was edited by: Amit Mittal
02-18-2006 9:30 AM
Hi Amit
I have aleady taken objpack-doc_type = 'PDF', but where to assign att_type?????????
Thanks in advance
02-18-2006 9:35 AM
Hi again,
1.Well as u said , u have already done that. 'PDF'.
( i was talking about that only )
2. What kind of data
list/sapscript otf etc
are u converting in to pdf ?
(SCOT settings are ok?)
regards,
amit m.