Symptom
When trying to call an OData Service which exposed by a CDS view with parameters, the following error occurs:
<code>LCX_MISSING_PARAMETER</code>
<message>The caller violated a precondition for a method call</message>
<propertyref/>
<severity>error</severity>
<target/>
</errordetail>
<errordetail>
<code>/IWBEP/CX_MGW_MED_EXCEPTION</code>
<message>An exception was raised</message>
or the following error might occur
<code>CX_SADL_CONTRACT_VIOLATION</code>
<message>The entity '*YY1_xxxxxxx' was not found</message>
<propertyref/>
<severity>error</severity>
<target/>
</errordetail>
<errordetail>
<code>/IWBEP/CX_MGW_MED_EXCEPTION</code>
<message>An exception was raised</message>
Read more...
Environment
SAP S/4HANA Cloud Public Edition
Product
Keywords
LCX_MISSING_PARAMETER CDS OData, OData with Parameter S/4HANA, CX_SADL_CONTRACT_VIOLATION, sy530, Entity, Parameter entity set, cannot be used for read, /IWFND/CM_MGW004, custom CDS view, API. , KBA , lcx_parameter_derivation_fail , lcx_missing_parameter , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview