An item which is part of an OCCURS ... DEPENDING ON (ODO) table entry is being used as a subscript to the table, or to another ODO table earlier in the group. This is not allowed.
Resolution:
Move the item to a location outside the ODO and use that item in this statement.