cancel
Showing results for 
Search instead for 
Did you mean: 

Put the file to correct folder in DMS with CV_API_CREATE

christoph_nagl
Participant
0 Kudos

Hey,

I wrote an webdynpro and the dynpro works fine. But where can I configure in which folder in dms the file is stored. I only find the file when I search in easydms. I use the following functions:

- CVAPI_DOC_CREATE

- CVAPI_DOC_CHECKIN

Thanks for your support.

BR,

Christoph

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Christoph,

the folders in DMS are nothing else then document BOM headers. So if you create a new document info record and you want

to add it to a DMS folder you have to hand over the document BOM header data as well. Generally I would recommend you to use BAPI_DOCUMENT_CREATE2 or API_DOCUMENT_MAINTAIN2 for creating the documents correctly.

Best regards,

Christoph

christoph_nagl
Participant
0 Kudos

Hi,

Thanks for the repsonse.

Can you give me an example for creating a file in the correct folder. I don't understand the concept of BOM headers.

Thanks.

BR,

Christoph