Application Development 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: 

Version problem in DMS

Former Member
0 Kudos

Hi All,

In DMS

When i create a document with bapi_document_create2 it is creating the document with what i have given the inputs

documentnumber

documenttype

documentpart

documentversion

but version problem is there . Ex: if i give version as 03 but is creating the docuemnt with version from 01 . next if i give 10 as a version it is creating the document with version 02...like that..

Please advice me .. i want to create the document with the version what iam giving.

Regards,

RSK

3 REPLIES 3

benu_mariantony2
Participant
0 Kudos

Hi RSK,

It would had been configured in such a way....

Functional consultants would have configured while setting up a document type in SPRO -->Cross Appa --> Document management --> Control Data --> Define document types.

Regards,

Benu

0 Kudos

Hi Benu,

That version has been set like that in the standard function module bapi_document_creat2.

Do we need to implement any enhancement for this? to skip that check?

Regards

RSK

0 Kudos

Hi,

Transaction Code: SE18

Selecting the radio button "BADI name" and enter "DOCUMENT_NUMBER01" in the text box to right to see the definition.

The method is: DOCVERSION_CHECK

Hope this helps.

Regards,

Benu