cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Appending existing standard CDS view with CDC annotation

arvshar2
Explorer
0 Likes
1,259

Hi Gurus,
What is the best practice to change existing standard CDS view (example I_Actualplanjournalentryitem) to CDC enable. I understand, we can create custom view on top of this CDS view, but wanted to validate if this is correct and only way.
Any clue would be helpful.

Accepted Solutions (0)

Answers (1)

Answers (1)

MKreitlein
Active Contributor

Hello @arvshar2 

I would try to avoid changing a SAP Standard View... it might cause trouble later in the next release upgrade.

I went through some of the underlying views, and in this one I_GLACCOUNTLINEITEMRAWDATA you can find a CDC annotation. So I would create my own view with a CDC annotation on top of the one you named ... similar to that CDC example, if you cannot use that view. To be honest I did not check what happens in between.

BR, Martin

arvshar2
Explorer
0 Likes
Thanks BR, Martin for quick reply. I tried to create custom CDS view on top of I_Actualplanjournalentryitem standard view but getting error: Namespace of DDL 'ZI_ACTUALPLANJOURNALENTRYITEM' does not match namespace of VIEWNAME 'IFIACTPLNJEICSQL'. I have not used any CDC annotation yet. Any clue.
MKreitlein
Active Contributor
0 Likes

Hello @arvshar2,
without seeing your actual coding I don't know what is wrong... maybe this page helps you?
https://blogs.sap.com/2019/12/16/cds-based-data-extraction-part-ii-delta-handling/
BR, Martin