C_FunctionalLocation
Functional Location
C_FunctionalLocation is a Consumption CDS View that provides data about "Functional Location" in SAP S/4HANA. It reads from 1 data source (I_FunctionalLocation) and exposes 45 fields with key field FunctionalLocation.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FunctionalLocation | I_FunctionalLocation | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.representativeKey | FunctionalLocation | view | |
| EndUserText.label | Functional Location | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CFUNCTLLOCATION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FunctionalLocation | FunctionalLocation | Object ID | |
| FunctionalLocationLabelName | ||||
| FuncnlLocPrimaryLabelName | _PrimaryLabel | FunctionalLocationLabelName | Functional Loc. | |
| FunctionalLocationName | ||||
| FunctionalLocationCategory | FunctionalLocationCategory | FunctLocCat. | ||
| FunctionalLocationCategoryDesc | ||||
| WorkCenterInternalID | WorkCenterInternalID | Work Center | ||
| WorkCenterTypeCode | WorkCenterTypeCode | Object Type | ||
| TechnicalObjectType | TechnicalObjectType | Text object | ||
| TechnicalObjectTypeDesc | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| AssetManufacturerName | AssetManufacturerName | Manufacturer | ||
| ManufacturerPartTypeName | ManufacturerPartTypeName | Model number | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| MaintenanceWorkCenter | ||||
| MaintenancePlant | _LocationAccountAssignment | MaintenancePlant | Plant | |
| PlantSection | _LocationAccountAssignment | PlantSection | Plant Section | |
| AssetLocation | _LocationAccountAssignment | AssetLocation | Location | |
| AssetRoom | _LocationAccountAssignment | AssetRoom | Room | |
| MaintObjectFreeDefinedAttrib | _LocationAccountAssignment | MaintObjectFreeDefinedAttrib | Sort Field | |
| ABCIndicator | _LocationAccountAssignment | ABCIndicator | ABC Indicator | |
| BusinessArea | _LocationAccountAssignment | BusinessArea | Business Area | |
| ControllingArea | _LocationAccountAssignment | ControllingArea | Controlling Area | |
| CostCenter | _LocationAccountAssignment | CostCenter | Cost Center | |
| CompanyCode | _LocationAccountAssignment | CompanyCode | Receiver Company Code | |
| Division | _LocationAccountAssignment | Division | Internal Division ID | |
| MainWorkCenter | _WorkCenter | WorkCenter | Work Center | |
| MainWorkCenterPlant | _WorkCenter | Plant | Valuation Area | |
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| CatalogProfile | CatalogProfile | Catalog Profile | ||
| SalesOrganization | _LocationAccountAssignment | SalesOrganization | Sales Organization | |
| DistributionChannel | _LocationAccountAssignment | DistributionChannel | RefDistCh-Cust/Mat. | |
| SalesOffice | _LocationAccountAssignment | SalesOffice | Sales Office | |
| OrganizationDivision | _LocationAccountAssignment | OrganizationDivision | Org. Division | |
| SalesGroup | _LocationAccountAssignment | SalesGroup | Sales Group | |
| MaintObjectInternalID | MaintObjectInternalID | Object number | ||
| _Status | _Status | |||
| _FunctionalLocationCategory | _FunctionalLocationCategory | |||
| _FunctionalLocationText | _FunctionalLocationText | |||
| _TechnicalObjectType | _TechnicalObjectType | |||
| _WorkCenter | _WorkCenter |
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 C_FunctionalLocation.
-- 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: CFUNCTLLOCATION
-- Parameters: P_Language : sylangu
CREATE VIEW C_FunctionalLocation AS
SELECT
FunctionalLocation,
cast( _FunctionalLocationLabel.FunctionalLocationLabelName as ilom_strno ) AS FunctionalLocationLabelName,
_PrimaryLabel.FunctionalLocationLabelName AS FuncnlLocPrimaryLabelName,
_FunctionalLocationText[1: Language = $parameters.P_Language ].FunctionalLocationName AS FunctionalLocationName,
FunctionalLocationCategory,
_FunctionalLocationCategory._Text[1: Language = $parameters.P_Language ].FunctionalLocationCategoryDesc AS FunctionalLocationCategoryDesc,
WorkCenterInternalID,
WorkCenterTypeCode,
TechnicalObjectType,
_TechnicalObjectType._Text[1: Language = $parameters.P_Language ].TechnicalObjectTypeDesc AS TechnicalObjectTypeDesc,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
AssetManufacturerName,
ManufacturerPartTypeName,
AuthorizationGroup,
_LocationAccountAssignment._WorkCenter.WorkCenter AS MaintenanceWorkCenter,
_LocationAccountAssignment.MaintenancePlant AS MaintenancePlant,
_LocationAccountAssignment.PlantSection AS PlantSection,
_LocationAccountAssignment.AssetLocation AS AssetLocation,
_LocationAccountAssignment.AssetRoom AS AssetRoom,
_LocationAccountAssignment.MaintObjectFreeDefinedAttrib AS MaintObjectFreeDefinedAttrib,
_LocationAccountAssignment.ABCIndicator AS ABCIndicator,
_LocationAccountAssignment.BusinessArea AS BusinessArea,
_LocationAccountAssignment.ControllingArea AS ControllingArea,
_LocationAccountAssignment.CostCenter AS CostCenter,
_LocationAccountAssignment.CompanyCode AS CompanyCode,
_LocationAccountAssignment.Division AS Division,
_WorkCenter.WorkCenter AS MainWorkCenter,
_WorkCenter.Plant AS MainWorkCenterPlant,
MaintenancePlanningPlant,
MaintenancePlannerGroup,
CatalogProfile,
_LocationAccountAssignment.SalesOrganization AS SalesOrganization,
_LocationAccountAssignment.DistributionChannel AS DistributionChannel,
_LocationAccountAssignment.SalesOffice AS SalesOffice,
_LocationAccountAssignment.OrganizationDivision AS OrganizationDivision,
_LocationAccountAssignment.SalesGroup AS SalesGroup,
MaintObjectInternalID
FROM I_FunctionalLocation
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA