cancel
Showing results for 
Search instead for 
Did you mean: 

Variable Error in Constraints syntax after OBJECTS:

syerazvi
Participant
0 Kudos
501

syntax-error.png

Dear VC,

I am getting the attached error for the variable declared before class. Please advise.

000010 OBJECTS:

000020 Z_Z IS_A(300)SKEY'FORA-123'

000030 where A =Z_Z.COLOR; B =Z_Z.COLOR_INT.

000040

000050 RESTRICTIONS:

000060 B = '03' if A = '1'.

Note i am using SKEY since my class has a hyphen

View Entire Topic
syerazvi
Participant
0 Kudos

Dear Flavio, thanks for the reply

Yes thanks for confirming on the SKEY part.

i think in my piece of syntax i was also including the variable before the class but the variant table itself is not mentioned which is why syntax check was throwing the attached error. As per what i read the variable before class is only used if you are using a variant table to auto populate your CHARs correct. Hope i am correct