I am using set src.device_man (rename=(serge=meter_id)) key=meter_id /unique;
I have checked the src.device_man tables and there is already an index on serge (which I then rename to meter_id).
I am confused as the error is on MANDT for the table src.dev?? This table doesn't exist.
I have found this in the help file;
SETKEY works only after SET is called in the SCL program or when a list identifier is passed. The list identifier must point to a list that contains the values of the index key columns. Once an active key is set through SETKEY, it remains active until
the table is closed
another key is set
the current setting is cleared by passing the table identifier alone to SETKEY.