cancel
Showing results for 
Search instead for 
Did you mean: 

Error reading CDC annotations: mapping field does not exist [Analytics] - CDS Views :

Hello Experts ,

I am facing the error --> Error reading CDC annotations: mapping field does not exist [Analytics]

Please find the following code implemented. Please find the attached image.

--------

@AbapCatalog.sqlViewName: 'Zview'

@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'CATS De-Duplication'

@Analytics:

{

dataCategory:#FACT,

dataExtraction:

{

enabled: true,

delta.changeDataCapture:

{

mapping:

[

{ table: 'CATSDB',

role: #MAIN,

viewElement: ['COUNTER'],

tableElement: ['COUNTER']

},

{ table: 'PA0001',

role: #LEFT_OUTER_TO_ONE_JOIN,

viewElement: ['PERNR'],

tableElement: ['PERNR']

}

]

}

}

}

define view Zcdsview as select from catsdb as a

left outer join pa0001 as I

on a.pernr = I.pernr

and a.workdate <= I.endda

and a.workdate >= I.begda

{

key a.counter as COUNTER,

a.pernr as PERNR,

a.workdate as WORKDATE,

a.ersda as ERSDA,

a.erstm as ERSTM,

a.ernam as ERNAM,

a.laeda as LAEDA,

a.laetm as LAETM,

a.aenam as AENAM,

a.catshours as CATSHOURS

}

--------

Following link didn't helped.

https://answers.sap.com/questions/13764770/error-reading-cdc-annotations-mapping-field-does-n.html

Thanks,

Vijay

Paresh_Dalvi
Discoverer
0 Kudos
Hi, Did you found any solution to the above error I am also facing the same error

Accepted Solutions (0)

Answers (0)