RAP OData V4: Fix “Deep Parameter for Functions Not Supported”

Your RAP business object activates, but opening the OData V4 service or its $metadata fails. If ADT reports the error below, check the exposed function’s parameters first.

Action Exposure: Deep Parameter for Functions not supported.

Why it happens

Deep parameters can work when a RAP function is called through EML, while exposing that function through OData has different restrictions. Changing the browser URL does not remove that limitation.

ADT OData V4 service binding editor with the system identifier and authorization value redacted
Service binding editor example, adapted from SAP Help. Identifying values masked. This is a development-system example.

What to change

  1. If the operation must remain a function, redesign it around supported non-deep parameters.
  2. If the interface needs a deep payload, evaluate a RAP action and its POST request body. Check that the operation’s semantics and authorization design fit.
  3. For an internal-only use case, consider EML without exposing the deep function through OData.

After changing the model, activate the affected objects, review the service-binding warnings and test metadata loading and the intended request again.

References

SAP KBA 3736346 · SAP Help: RAP Parameters

You May Also Like

Leave a Reply?