on 12-11-2015 10:29 AM
Hello All,
I am trying to simulate a constraints scenario in VC where I have created a table. Following the e.x. of the below blog
I have created a variant table
Created the dependency net in transaction code cu21 and assigned the object dependency to it. However I am getting a syntax error
Kind Regards
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Flavio,
Thank you for the quick response.
I am looking the code snip let of point No 6.2 in the document which looks at error messages with regards to validations of characteristics.
The code got saved.
However no such message appeared or the red cross below in cu50 transaction code
Please advice further.
Kind Regards
Atul
Hello Atul,
let's try to see with Trace what's happening with the Constraint:
I do hope this will reveal something.....
Thanks and regards,
Flavio
Hello Atul,
looking at the above messages, I believe that the constraint is not triggered (we cannot see the part at the bottom saying 'Use of Constraint...' with the variables (PC.CH_....) evaluated, here how it should look like:
This could be due to the dependency status (Locked / not released).
Could you please check the constraint dependency status in the Basic data:
It shout be 'Released'.
Please also check the Dependency net status, again 'Released'.
Hopefully it should work......
Thank you and regards,
Flavio
Hello Atul,
you are welcome!
Constraint dependency status could be checked with CU02 (Change Dependency), entering the dependency (CONSTRAINT_COMPUTER1). It's in Basic data tab.
Alternatively, from within the Dependency net, in Assignments, select the dependency and click on Basic data.
Thanks and regards,
Flavio
Hello Flavio,
Brilliant response. My Object dependency code was in preparation mode. I changed to it release and the constraint code worked.
I was trying to change the dependency using transaction code cu02 however the system does not allow for the same
The same needs to be changed using the second point which you mentioned above.
Alternatively, from within the Dependency net, in Assignments, select the dependency and click on Basic data.
Thank you for helping out again and going all out to resolve my issue.
Kind Regards
Atul
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.