SAP CDS HIERA CLIENT HANDLING



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS - Client Handling in CDS Hierarchies
For CDS hierarchies, client handling cannot be defined using annotations. Instead client handling is defined in advance as follows:
Client dependency is determined in the same way as when the annotation @ClientHandling.type : #INHERITED is specified for a ABAP_CDS_V1_VIEWS . The client dependency of a hierarchy is determined by the client dependency of the CDS view used as its data source.
In a client-dependent CDS hierarchy, and before the hierarchy is generated, all rows are removed implicitly from the result set of the CDS view specified as a data source that do not match the client ID currently specified in the session variable $session.client.