Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Error while reading CDC annotation: Mapping field does not exist.

sharmaar
Explorer
0 Kudos
522

Hi Gurus,

The standard CDS view, I_StatisticalKeyFigureItem, does not support data extraction and Change Data Capture (CDC) capabilities. The requirement is to enable these capabilities in the standard I_StatisticalKeyFigureItem CDS view.
We developed a custom CDS view ZI_StatisticalKeyFigureItem, but encountered the error: 'Error while reading CDC annotation: Mapping field does not exist.', for which this support case is created.

We believe this issue is related to the key field FiscalPeriod, which does not physically exist in the COSR table. In the I_StatisticalKeyFigureItem CDS view definition, the FiscalPeriod field has a constant value key cast as cast(cast('001' as abap.numc(3)) as fins_fiscalperiod preserving type) This field is used in Mapping of @analytics annotation.

Could you please suggest an approach or best practice to handle such scenarios?

Best Regards
Arvind

0 REPLIES 0