Skip to Content
0
Feb 25, 2011 at 07:53 PM

Custom version assignment

145 Views

Hi all.

I'm configuring some Document Types into DMS and the customer did a special requirement to me:

He wants that the version number sequence for documents created by the BAPI: BAPI_DOCUMENT_CREATE2 be XX, 00...99 and for documents created by T-CV01N be 00...99.

Into the T-DC10 I've found that the "Version Number Increment Control" field could have the value 'Z - Own sequence definition'. I did select this value and create entries into the table TDWA_VERSION with 'Z' as the value into the field DOKVR_INC and then set to 'Z' the field "Version Sequence" and it works, the versions goes from XX then 00 to 99. The problem is that its working for every type of creation (BAPIs/Standard Transactions).

The customer don't want to implement BADIs for this purpose.

I hope that somebody could help me.

Regards.

Gregory.

Edited by: Gregory Mayorga on Feb 25, 2011 6:37 PM