Issue:
I have created a Custom Business Object (YY1_TABLE_MM_001) in SAP S/4HANA Cloud (Public Edition) and want to expose it as an OData service for API consumption. However, after enabling the necessary settings and publishing the object, the service is not being generated.
Steps to Reproduce:
- Open the Custom Business Objects app.
- Create or open the object YY1_TABLE_MM_001.
- Enable the following options:
- ✅ "Back End Service"
- ✅ "Can Be Associated with UI and Reports"
- Click Publish to activate the changes.
- Check for the generated OData service name under "Service Generation" – no service appears.
- Attempt to call the API endpoint:
ruby
https://my401583-api.s4hana.cloud.sap/sap/opu/odata/sap/YY1_TABLE_MM_001_CDS
but receive an error stating that the HTTP method is not allowed.
Expected Behavior:
- After enabling "Back End Service", publishing the object should generate an OData service.
- The OData service name should be visible in the Custom Business Object settings.
- The API should allow POST requests to create new entries.
Questions:
- Is there an additional step required to generate the OData service?
- Are there any restrictions preventing the service from being created?
- How can I verify whether the service is correctly generated and accessible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.