SAP Knowledge Base Article - Public

2990711 - Error "Key does not correspond to mask: xxxx.xxxx" occurs when calling CDS view API

Symptom

When calling a CDS View API containing WBS element, error occurs.
e.g. Key does not correspond to mask: xxxx.xxxxx.xxxx
      Call 'CONVERSION_EXIT_ABPSP_OUTPUT' for 'WBSELEMENTINTERNALID' failed

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Create a custom CDS view containing field WBS element
  2. Consume the CDS view as an API.
  3. Call the API 

Cause

This is a general issue occurs when creating a CDS view using internal WBS element ID. 

Resolution

If the CDS view contains external WBS element ID, please use it instead of internal WBS element ID. 
Otherwise, please try to associate the CDS view with other CDS views containing external WBS element.

Keywords

CDS view, API, WBS, Key does not correspond to mask, CONVERSION_EXIT_ABPSP_OUTPUT, WBSELEMENTINTERNALID , KBA , PS-ST , Structures , Problem

Product

SAP S/4HANA Cloud all versions