Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubt in using SO_NEW_DOCUMENT_ATT_SEND_API1

Former Member
0 Likes
400

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

2 REPLIES 2
Read only

Former Member
0 Likes
373

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.

Read only

0 Likes
373

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