SAP Message R-347 - For class supplements, there has to be a reference to the ID number

Diagnosis
A status 9 generic transaction (class supplement) must haveprecisely one reference to a Treasury ID number (meaning an elementarytransaction of transaction form 402).

Procedure
Correct your entry.