A_ReferenceFunctionalLocation

DDL: A_REFERENCEFUNCTIONALLOCATION Type: view_entity CONSUMPTION

Reference Functional Location

A_ReferenceFunctionalLocation is a Consumption CDS View that provides data about "Reference Functional Location" in SAP S/4HANA. It reads from 1 data source (R_RefFunctionalLocationTP) and exposes 28 fields with key field ReferenceFunctionalLocation.

Data Sources (1)

SourceAliasJoin Type
R_RefFunctionalLocationTP R_RefFunctionalLocationTP projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Reference Functional Location view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.personalData.blocking #NOT_REQUIRED view
OData.entityType.name RefFunctionalLocation_Type view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY ReferenceFunctionalLocation ReferenceFunctionalLocation FunctLocation
RefFunctionalLocationName RefFunctionalLocationName Reference Functional Location Name
RefFunctionalLocationStructure RefFunctionalLocationStructure
RefFunctionalLocationCategory RefFunctionalLocationCategory
SuprRefFunctionalLocation SuprRefFunctionalLocation
RefFuncLocCreationDate RefFuncLocCreationDate
RefFuncLocCreatedByUser RefFuncLocCreatedByUser
RefFuncLocLastChangeDate RefFuncLocLastChangeDate
RefFuncLocLastChangedByUser RefFuncLocLastChangedByUser
TechObjAuthorizationGroup TechObjAuthorizationGroup AuthorizGroup
ConstructionMaterial ConstructionMaterial ConstType
EquipmentInstallationIsAllowed EquipmentInstallationIsAllowed
OnePieceOfEquipmentIsAllowed OnePieceOfEquipmentIsAllowed
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
WorkCenter WorkCenter Work Center
WorkCenterTypeCode WorkCenterTypeCode Object Type
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterPlant WorkCenterPlant Plant
CatalogProfile CatalogProfile Catalog Profile
TechObjectABCIndicatorCode TechObjectABCIndicatorCode ABC Indic.
MaintObjectInternalID MaintObjectInternalID Object number
RefFuncLocDescription RefFuncLocDescription
StatusCode StatusCode Statuscode
RefTechObjectSystemStatusName
RefTechObjectSystemStatusText
RefFuncnlLocExtIdentifier RefFuncnlLocExtIdentifier
RefFuncnlLocIsExternal RefFuncnlLocIsExternal

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 A_ReferenceFunctionalLocation.
-- 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.

CREATE VIEW A_ReferenceFunctionalLocation AS
SELECT
  ReferenceFunctionalLocation,
  RefFunctionalLocationName,
  RefFunctionalLocationStructure,
  RefFunctionalLocationCategory,
  SuprRefFunctionalLocation,
  RefFuncLocCreationDate,
  RefFuncLocCreatedByUser,
  RefFuncLocLastChangeDate,
  RefFuncLocLastChangedByUser,
  TechObjAuthorizationGroup,
  ConstructionMaterial,
  EquipmentInstallationIsAllowed,
  OnePieceOfEquipmentIsAllowed,
  MaintenancePlanningPlant,
  MaintenancePlannerGroup,
  WorkCenter,
  WorkCenterTypeCode,
  WorkCenterInternalID,
  WorkCenterPlant,
  CatalogProfile,
  TechObjectABCIndicatorCode,
  MaintObjectInternalID,
  RefFuncLocDescription,
  StatusCode,
  _StatusText[1:StatusCode = statuscode].StatusShortName AS RefTechObjectSystemStatusName,
  _StatusText[1:StatusCode = statuscode].StatusName AS RefTechObjectSystemStatusText,
  RefFuncnlLocExtIdentifier,
  RefFuncnlLocIsExternal
FROM R_RefFunctionalLocationTP
;