on 02-25-2011 7:53 PM
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
Hi,
I already solve the problem doing what I described into the previous post plus one validation into the method DOCVERSION_CHECK of BADI DOCUMENT_NUMBER01.
Now the customer wants to validate that the user can create a new version for a document only if the last one is in an specific status. I think I could implement this into the method named before, but i haven't the doc_number to find the latest version.
Does anybody knows if there is an EXIT or BADI where I can implement that?
Regards.
Gregory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.