on 12-23-2010 1:20 PM
Dear Expert,
Can anyone guide me how to set default value for a characteristics in "Additional Data" tab while creating document part?.
Client wants default value should be set for characteristics in "Additional Data" data tab whenever he/she creates document Part 1 for particular document type.
I can see BADI's like
DOCUMENT_MAIN01
DOCUMENT_MAIN02
which we can use one of them but not able to set characteristics value for particular document type.
Thanks in advance...
Bhuwan Tiwari
Edited by: BHUWAN TIWARI on Dec 24, 2010 5:06 AM
Hi,
Also you need FM -. CTMS_DDB_HAS_VALUES to check if values have been populated at on Document_main01-before save.
Phillip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On CV01N -> create
In badi document_main01 - after_read_data use FM -> CTMS_DDB_SET_VALUE. This sets a value in the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think that BADI DOCUMENT_MAIN01 with method BEFORE_SAVE should enable you to hand over a default value for some classification characteristics.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cristoph,
We tried all the way but could not able assign characteristics value before saving the document. it means we can only see the assigned value using transaction CV02N. but our requirement is to check if the user fills any value into characteristics it should check with default value which we would like to assign whenever we create a new part of the document which we are not able to achieve.we tried a lot but could not succeed.
Nay idea if we can achieve this....
Regards
Bhuwan Tiwari
Hi Bhuwan,
You can use templates for this requirement. while creationg DIR document number, document type, document part,document version below this template option is available. This can be used to copy the additional data fields as it is. Instead of making default this will be useful for modifying also in future if requirement comes.
Hope this will help.
Regards,
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.