Symptom
- Custom business object failed to publish.
- When checking using transaction code SLG1 the following message is displayed for the failing Custom Business Object "Field <YY1_Field_Name> is still being used as a view field in view <YY1_Object_Name>."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Custom Business Objects app.
- Search for the Custom Business Object "YY1_ObjectName".
- Click on the "Publish" button.
- Observe that the publishing process fails.
Cause
- There is a field being referenced in a Custom CDS View that is preventing the Custom Business Object to publish.
- The CBO cannot be published if the field is referenced by another extensibility object.
Resolution
- Open the Custom CDS View that contains the field that is causing the Custom Business Object to fail.
- Locate the field in the elements tab.
- Remove the field from the Custom CDS View.
- Save and Republish the Custom CDS View.
- Attempt to publish the Custom Business Object again.
Keywords
custom business object, publishing failed, YY1, field, custom cds view, field reference, extensibility object, publish error, sap s/4hana cloud, elements , KBA , BC-SRV-APS-EXT-BO , Custom Tables and Nodes , How To
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public