SAP Datasphere - How to handle document deletion o... - SAP Community
source link: https://community.sap.com/t5/technology-q-a/sap-datasphere-how-to-handle-document-deletion-or-reversal-in-s-4hana-cds/qaq-p/13590743
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Hello Experts,
We have created a custom CDS view equivalent to SAP BW datasource 2LIS_11_VAKON.
This data source has a delta process type as ABR, which also captures deletion.
We have an existing logic as below -
IF SOURCE_FIELDS-ROCANCEL EQ 'R'
OR SOURCE_FIELDS-ROCANCEL EQ 'D'.
RESULT = '-1'.
ELSE.
RESULT = '1'.
ENDIF.
How to achieve this in CDS as ROCANCEL/RECODMODE is not available like BW data source?
Thanks!
Regards,
Mandar
- SAP Managed Tags:
- SAP Datasphere
Accepted Solutions (0)
Answers (1)
6m ago
I think this is more an issue of how you created the CDS. If you have some records that you must identify but DSP does not receive the information that allows you to identify them, there is little you can do.
You will have to implement in the CDS itself some logic that allows you to return that field or similar.
Perhaps in the S4 community, they will be able to help you more in that aspect.
Regards,
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK