cancel
Showing results for 
Search instead for 
Did you mean: 

prevent creating new document version if document is at a specific status

Former Member
0 Kudos

Hi,

i don't want system to allow creation of a new document version when the document say is at a specific status say in-process

at the moment when a document is in-process and user run CV01N, system creates new one with new version.

would appreciate if someone can tell how this can be controlled.

Reg. Daher Abdeen.

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi,

I think the best way would be to implement a BADI to control the creation of the new version. Maybe you can use BADI DOCUMENT_MAIN01 or DOCUMENT_NUMBER01.

Please check the different BADI methods in transaction SE18. But I think with method 'BEFORE_READ_DATA' from BADI DOCUMENT_MAIN01 you should be able to implement a control and if necessary cancel the creation process of the new version.

Best regards,

Christoph

Former Member
0 Kudos

THANKS christoph,

i'll try the solution