on 11-02-2012 8:12 AM
Hello,
Continuing the thread http://scn.sap.com/thread/1878779
I have some problem with making characteristic 'entry required' according to the values of another characteristic...
I use classification in Addnl Data in DMS document.
I have class ZDOC with char TYPE (values A and B), CHAR1 and CHAR2.
When I set TYPE as A, I need CHAR1 to be 'entry required' and CHAR2 not to be 'entry required'.
When I set TYPE as B, I need CHAR2 to be 'entry required' and CHAR1 not to be 'entry required'.
Thanks.
Former Member,
Create your characterstic CHAR1 & CHAR2 with tick mark in entry required on very first page of characterstic creation transaction.
and write a dependency type precondition with syntax , $SELF.TYPE = 'A' and assign it to characterstic CHAR2.
write another dependency type precondition with syntax , $SELF.TYPE = 'B' and assign it to characterstic CHAR1.
So now as soon as you will select A or B depend upon this selection only one from CHAR1 or CHAR2 will be visible to user and as this is the mandatory characterstic untill and unless user assign value to it , he/she cant go further with document creation.
Please check out and revert back.
Hope it will help you.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Former Member,
Seems it will not work this way , as due to restriction of this entry required , system will lock the configuration for being further used.
so change your both characterstics from Mandatory to non mandatory ( by removing tick mark in entry required ) , and in addition to earlier precondition please attach a selection condition to both of them like.
$SELF.TYPE SPECIFIED
with this the earlier information message will be not appear.
please test it and revert back.
Thanks
Ritesh
and in detail
Message no. C1809
A characteristic with the Entry required indicator was hidden, because, for example, a precondition is not fulfilled. This means that no value can be assigned to the characteristic. However, the configuration process is not complete until all required characteristics have value assigned to them.
so is it acceptable to you then you can go ahead with first option.
Thanks
Ritesh
I read the information message details.
If I use the first option: tick mark in entry required and write a dependency type precondition - then I can see what characteristic doesn't assign, but I have so many information message C1809 how much mandatory characteristics I have and all of them excluded by the precondition.
If I use the second option: removing tick mark in entry required and write a dependency type precondition and selection condition - then I don't need to close a lot of times the information message C1809 (because I have a lot of mandatory characteristics which will be excluded by the precondition), but I can't see what characteristic doesn't assign (message C1823 - 'The assigned values are incomplete' - Diagnosis - You have executed a value assignment function. The system found that at least one required characteristic has no value assigned to it).
The first option is more acceptable for me, and I'll ask to developer about possibility to hide the information message C1809.
Thank you very much.
Please open a new thread for asking questions, if you see any resemble to previous thread you can use link to those threads while explaining your issue.
Thanks
Ritesh
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.