SAP Message 28102 - Variable declaration for object expected

Diagnosis
The syntax check found an error in the definition of an abbreviatedcharacteristic-specific name, or a preceding declaration was not closedcorrectly.

System Response
The cursor shows where the error occurs.

Procedure
In the constraint header (keyword OBJECTS:), definitions ofcharacteristic-specific variables are expected after the keyword WHEREor after a semicolon (';'). For example:
OBJECTS:
?T IS_A POST
WHERE ?L = LENGTH ;
?C = COLOR
At the cursor, no correct variable declaration was found. Correct thevariable declaration or the preceding declarations.