cancel
Showing results for 
Search instead for 
Did you mean: 

Adding multiple documents to same DMS document number

0 Kudos

Hello,

We are trying to attach images to notifcation through DMS. We can attach upto 5 images for a notification.

Each image comes from odata service as seperate call. But all these documents should be uploaded under same DMS document number.

We are using BAPI 'BAPI_DOCUMENT_CREATE2' to attach images, but for each image this BAPI is creating versions with the same Document number, instead of adding it to the originals of the Document number.

Kindly Help

Accepted Solutions (0)

Answers (1)

Answers (1)

sammar81
Advisor
Advisor
0 Kudos

Hi Rakesh,

You should use change document instead of create. As you are using create system will keep on creating new version for each document upload.

For the first time you can use create BAPI, after that it should be change DIR BAPI.

Hope it helps..

Regards

Sammar