P_ProdnSupvrPlantList
Prodn Supvr Plant List
P_ProdnSupvrPlantList is a Composite CDS View that provides data about "Prodn Supvr Plant List" in SAP S/4HANA. It reads from 2 data sources (I_Plant, I_ProductionSupervisorAOR) and exposes 11 fields with key fields Plant, ProductionSupervisor, ProductionSupervisor. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | plant | union |
| I_ProductionSupervisorAOR | supervisor | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PPAreaOfResponsibility | _SDMAOR | $projection.Plant = _SDMAOR.Plant and _SDMAOR.UserID = $session.user and _SDMAOR.ProductionSupervisor is initial and _SDMAOR.WorkCenterInternalID is initial |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| EndUserText.label | Prodn Supvr Plant List | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | I_ProductionSupervisorAOR | Plant | |
| KEY | ProductionSupervisor | I_ProductionSupervisorAOR | ProductionSupervisor | |
| ProductionSupervisorName | I_ProductionSupervisorAOR | ProductionSupervisorName | ||
| UserID | I_ProductionSupervisorAOR | UserID | ||
| UserName | I_ProductionSupervisorAOR | UserName | ||
| WorkCenterInternalIDisinitialkeyPlant | ||||
| KEY | ProductionSupervisor | |||
| ProductionSupervisorName | ||||
| UserID | _SDMAOR | UserID | ||
| UserName | ||||
| PlantName | PlantName |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@VDM.viewType: #COMPOSITE
@VDM.private: true
@EndUserText.label: 'Prodn Supvr Plant List'
@Metadata.ignorePropagatedAnnotations: true
define root view entity P_ProdnSupvrPlantList
as select from I_ProductionSupervisorAOR as supervisor
{
// Key
@ObjectModel.text.element: ['PlantName']
key supervisor.Plant,
@ObjectModel.text.element: ['ProductionSupervisorName']
key supervisor.ProductionSupervisor,
// Attributes
@Semantics.text: true
supervisor.ProductionSupervisorName,
supervisor.UserID,
supervisor.UserName,
@Semantics.text: true
supervisor.PlantName
}
union
select from I_Plant as plant
association [0..1] to I_PPAreaOfResponsibility as _SDMAOR on $projection.Plant = _SDMAOR.Plant
and _SDMAOR.UserID = $session.user
and _SDMAOR.ProductionSupervisor is initial
and _SDMAOR.WorkCenterInternalID is initial
{
key Plant,
key cast( '' as pph_fevor ) as ProductionSupervisor,
cast( '' as txt_fevor ) as ProductionSupervisorName,
_SDMAOR.UserID,
$session.user as UserName,
PlantName
};
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