cancel
Showing results for 
Search instead for 
Did you mean: 

Attach existing PDF to DMS

Former Member
0 Kudos

Hello,

i would like to ask question about DMS.

My goal is to attach PDF files to every material (packaging specification).

I already have a directory which i can see using AL11.

I already managed to create DMS (using BAPI_DOCUMENT_CREATE2) but now i need to atach those files. I dont need to copy/transfer anything. Just tell each DMS to use/attach this PDF.

I already tried  CVAPI_DOC_CHECKIN where i read that file using read dataset into drao-orblk. That sucesfully attached the file - but the file in cv02n was really small (~3kb) and adobe readed says it is corrupted.

Original PDF has 50-80MB - so i would rather not to save them into database.

Thank you for your help!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I figured it out.

FM CVAPI_DOC_CHECKIN is not for attaching documents from content server. It is for uploading documents from PC.