C_ReExAssignFuncLocation
Functional Location Assignment
C_ReExAssignFuncLocation is a Consumption CDS View that provides data about "Functional Location Assignment" in SAP S/4HANA. It reads from 1 data source (I_TechnicalObject) and exposes 18 fields with key fields TechnicalObject, TechObjIsEquipOrFuncnlLoc. Part of development package ODATA_RE_EX.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TechnicalObject | I_TechnicalObject | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CREEXASSFUNCL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Functional Location Assignment | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TechnicalObject | TechnicalObject | ||
| KEY | TechObjIsEquipOrFuncnlLoc | TechObjIsEquipOrFuncnlLoc | ||
| TechnicalObjectDescription | Description | |||
| TechnicalObjectCategory | TechnicalObjectCategory | Category | ||
| TechnicalObjectCategoryDesc | ||||
| TechnicalObjectType | TechnicalObjectType | Type | ||
| TechnicalObjectTypeDesc | Type | |||
| PlantName | _MaintenancePlanningPlant | PlantName | Planning Plant Name | |
| TechObjectWithLeadingZeros | ||||
| BusinessArea | _LocationAccountAssignment | BusinessArea | ||
| CompanyCode | _LocationAccountAssignment | CompanyCode | ||
| CostCenter | _LocationAccountAssignment | CostCenter | ||
| ControllingArea | _LocationAccountAssignment | ControllingArea | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | |||
| MaintenancePlannerGroup | MaintenancePlannerGroup | |||
| AuthorizationGroup | AuthorizationGroup | |||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | |||
| _LocationAccountAssignment | _LocationAccountAssignment |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'CREEXASSFUNCL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Functional Location Assignment'
@VDM.viewType: #CONSUMPTION
@ObjectModel: {
usageType.serviceQuality: #X,
usageType.sizeCategory: #XL,
usageType.dataClass: #MIXED
}
define view C_ReExAssignFuncLocation
with parameters
@Consumption.hidden: true
@Environment.systemField: #SYSTEM_LANGUAGE
P_Language : sylangu
as select from I_TechnicalObject
{
key TechnicalObject,
key TechObjIsEquipOrFuncnlLoc,
@EndUserText.label: 'Description'
_TechnicalObjectText[1:Language = $session.system_language].TechnicalObjectDescription,
@Semantics.text: true
@ObjectModel.text.element: [ 'TechnicalObjectCategoryDesc' ]
@EndUserText.label: 'Category'
TechnicalObjectCategory,
@Semantics.text: true
_TechnicalObjectCategory._Text[1: Language = $parameters.P_Language].TechnicalObjectCategoryDesc,
@EndUserText.label: 'Type'
@ObjectModel.text.element: [ 'TechnicalObjectTypeDesc' ]
TechnicalObjectType,
@EndUserText.label: 'Type'
@Semantics.text: true
_TechnicalObjectType._Text[1: Language = $parameters.P_Language].TechnicalObjectTypeDesc,
//_LocationAccountAssignment.PlantName,
@EndUserText.label: 'Planning Plant Name'
_MaintenancePlanningPlant.PlantName,
cast(TechnicalObject as char40) as TechObjectWithLeadingZeros,
_LocationAccountAssignment.BusinessArea,
_LocationAccountAssignment.CompanyCode,
//DCL fields
_LocationAccountAssignment.CostCenter,
_LocationAccountAssignment.ControllingArea,
MaintenancePlanningPlant,
MaintenancePlannerGroup,
AuthorizationGroup,
//Association key for DCL
//_LocationAccountAssignment key
MaintObjectLocAcctAssgmtNmbr,
_LocationAccountAssignment
}
where TechObjIsEquipOrFuncnlLoc = 'EAMS_FL'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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