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

Error when reading a released CDS view from a released BADI

rammel_sapdev
Participant
0 Kudos
352

Hi,

I am getting this error whenever I retrieve data via a released CDS view with access control from a released BADI for VA02.

S4 version: Private Cloud 2023 FPS00

Enhancement spot: ES_SD_SLS_EXTEND

BADI: SD_SLS_CHECK_BEFORE_SAVE

rammel_sapdev_1-1734364678865.png

rammel_sapdev_0-1734364603044.png

We are selecting from I_BusinessPartner CDS view. Is there anyway to achieve this in Tier 1 or we have to create our own custom CDS view without access control setup?

Accepted Solutions (1)

Accepted Solutions (1)

junwu
SAP Champion
SAP Champion

try adding this "WITH PRIVILEGED ACCESS" to the select

rammel_sapdev
Participant
0 Kudos
Thank you!

Answers (0)