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

Create a Note / External Document for Suppliers

SimoneMilesi
Active Contributor
0 Likes
516

Hi Gurus!

I'm developing a new procedure for a customer in which i've to create a supplier (Transaction XK01) and then manage the creation/modify/deletion of Notes and External Document.

With FM SO_DOCUMENT_READ_API1 i can read the Notes/Ext. Doc.

With Fm SO_DOCUMENT_UPDATE_API1 i can update them

With FM SO_DOCUMENT_DELETE_API1 i can delete also.

But i'm in big trouble with the creation of them.

I was thinking to use FM SO_DOCUMENT_INSERT_API1 but i cannot find a documentation for it and seems to need some information like FOLDER_ID that i cannot retrieve.

Can you help me?

1 REPLY 1
Read only

SimoneMilesi
Active Contributor
0 Likes
447

Found:

SO_FOLDER_ROOT_ID_GET

Passing REGION = 'B'

The problem is that 'B' isn't a value you can find in the matchcode, but it works anyway!