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

CDS views that can be used to Distinguish fields changed using Sales order change log

Gahan_Narayan1
Explorer
0 Kudos
605

Hello Experts,

I am currently trying to find a Released CDS view to distinguish between fields that are changed in the sales order once its created in Public cloud to perform some check on them in cloud BADI's.

Currently i had identified few views (i.e I_SlsDocChangeDocumentItem and C_SlsDocChangeDocumentItem)  but they are not released and i am not able to use them, could you pleas help if any of you know any CDS views that can satisfy this requirement or if there is any other alternative to distinguish the fields from change log of the sales order that can be used as conditions to perform some changes in cloud BADI.

Thank you in advance.

SAP S/4HANA Cloud Public Edition Extensibility 

ABAP Extensibility 

SAP S/4HANA Cloud Public Edition Sales 

View Entire Topic
Joey_Tan1
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Gahan, You can try CDS view C_SalesChangeDocItemDEX (C1 Released).
Gahan_Narayan1
Explorer
0 Kudos
Hello, I already tried this CDS view but its not visible on Data Browser, nor are there any entries in them when i access it using eclipse. I am not able to use it in Create Custom CDS view also.
Joey_Tan1
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi
Joey_Tan1
Product and Topic Expert
Product and Topic Expert
Hi Gahan, Yes, currently, I don't find C1-released CDS view which can be used as data source(can be used in Data Browser or build to Custom CDS view). The view C_SalesChangeDocItemDEX is for data extraction purpose, and it DCL0 by default(no data when select). can you try with privileged access? e.g. SELECT * FROM C_SalesChangeDocItemDEX WITH PRIVILEGED ACCESS INTO TABLE @DATA(lt_slsdocchangedocitem).