‎2008 Feb 07 11:33 AM
Im haveing a problem in this same FM.
I want to send via e.mail the file attach of service object .
I use the fm SO_DOCUMENT_READ_API1 to to read file.
The problem is that I can not get the FM, I think I wrong to set some information, since sending is correct but the file is not readable.
Someone has to send me an example?
tanks in advance
‎2008 Feb 07 11:41 AM
Hi,
check out this sample code:
data: objcont like solisti1 occurs 10 with header line.
data: doc_data like sofolenti1.
call function 'SO_DOCUMENT_READ_API1'
exporting
document_id = '545645555'
importing
document_data = doc_data
tables
object_content = objcont
exceptions
others = 1.
reward appropriate points.
Regards,
mansi.
‎2008 Feb 07 2:03 PM
ok mansi, but my question relates to the use of function
SO_NEW_DOCUMENT_ATT_SEND_API1.
However you do it a good score.
ok i resolve. tanks
Edited by: francesco calzone on Feb 7, 2008 4:24 PM