P_LocationAuthGroupEval

DDL: P_LOCATIONAUTHGROUPEVAL SQL: PLOCAUTHGRPEVAL Type: view BASIC

P_LocationAuthGroupEval is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_LocationMap) and exposes 1 field with key field LocationUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LocationMap _LocationMap from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_LocationAuthorizationGroup _LocAuthGrpDet _LocationMap.LocationType = _LocAuthGrpDet.LocationType and _LocationMap.BusinessSystemGroup = _LocAuthGrpDet.BusinessSystemGroup and _LocationMap.CompanyCode = _LocAuthGrpDet.CompanyCode
[0..1] I_LocationAuthorizationGroup _LocAuthGrpGen _LocationMap.LocationType = _LocAuthGrpGen.LocationType and _LocAuthGrpGen.BusinessSystemGroup = '' and _LocAuthGrpGen.CompanyCode = ''

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PLOCAUTHGRPEVAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #NONE view
VDM.private true view
VDM.viewType #BASIC view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY LocationUUID LocationUUID UUID

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_LocationAuthGroupEval.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PLOCAUTHGRPEVAL

CREATE VIEW P_LocationAuthGroupEval AS
SELECT
  LocationUUID
FROM I_LocationMap AS _LocationMap
LEFT OUTER JOIN I_LocationAuthorizationGroup AS _LocAuthGrpDet ON _LocationMap.LocationType = _LocAuthGrpDet.LocationType AND _LocationMap.BusinessSystemGroup = _LocAuthGrpDet.BusinessSystemGroup AND _LocationMap.CompanyCode = _LocAuthGrpDet.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_LocationAuthorizationGroup AS _LocAuthGrpGen ON _LocationMap.LocationType = _LocAuthGrpGen.LocationType AND _LocAuthGrpGen.BusinessSystemGroup = '' AND _LocAuthGrpGen.CompanyCode = ''  -- association [0..1]
;