SAP Message CC582 - You can only create one revision level for each object

Diagnosis
When you created a revision level via API, the fields for material anddocument were filled at the same time. You can only assign a revisionlevel for one object.

Procedure
Enter a value either for the material field or for the document inforecord fields.