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

FM Create Attachments

Former Member
0 Likes
598

Hi experts, i'm looking for a function module to attach a document into a FI Document.Documents are stored in the server. Do you know a function module to do this?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
533

Hi Lopez,

Welcome.

There are basically three fm's you need to call in order to attach your document:

SO_FOLDER_ROOT_ID_GET

Get the folder id where to place the attachement.

2)SO_OBJECT_INSERT

Create the document

3) BINARY_RELATION_CREATE

Create the relation between the created document/link and the transaction

document(FI Invocice, etc).

thanks

karthik''

reward me if usefull

2 REPLIES 2
Read only

Former Member
0 Likes
533

UP

Read only

Former Member
0 Likes
534

Hi Lopez,

Welcome.

There are basically three fm's you need to call in order to attach your document:

SO_FOLDER_ROOT_ID_GET

Get the folder id where to place the attachement.

2)SO_OBJECT_INSERT

Create the document

3) BINARY_RELATION_CREATE

Create the relation between the created document/link and the transaction

document(FI Invocice, etc).

thanks

karthik''

reward me if usefull