on 2023 Dec 24 8:39 AM
We are facing an issue while trying to create a service consumption model as "edm:ComplexType not supported".
We need to call an API for which we have created the required destinations and Communication arrangement for communication scenario, but still we are getting this error. Can someone help please?
Request clarification before answering.
Complex EDM have some restrictions for the Service Consumption Model. We checked this in the documentation here - Service Consumption Model (https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/ed5d88ea66ce439398c37fe3dfc2cfd5.html) and below is what is mentioned:
Constraints
Not all OData service model features are supported for Service Consumption Models. For example, you might not be able to create a Service Consumption Model for your underlying OData service. This is the case if your Service Model contains Complex Collections, Actions, or Functions.
In such cases please look into the use of BO Interface CDS view available as a part of developer extensibility which can be found here - https://api.sap.com/products/SAPS4HANACloud/developerextensibility/bointerface
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
8 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.