Get Example source ABAP code based on a different SAP table
ABAP_CDS Access Control in ABAP Release 7.81 ITOC
ABAP_MODIFICATION_NN Quantifier Operators>
With the new addition ALL>, access conditions can express that access shall only be granted when from a set-valued association all values satisfy the condition. WHERE ALL toItem.State = 'A'> To accompany this use case, the BYPASS WHEN> operator has been extended to literal conditions also. A dedicated operator EXISTS> can be used when different access conditions using the same set-valued association shall not be coupled in their fields by means of a common join expression. More Information>