P_ProcCapReqOpDurn
P_ProcCapReqOpDurn is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CapacityRequirementItemCap) and exposes 5 fields with key fields CapacityRequirement, CapacityRqmtItemCapacity, SuperiorOperationInternalID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CapacityRequirementItemCap | CapRqmtItmCap | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPIOPDURN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirement | I_CapacityRequirementItemCap | CapacityRequirement | |
| KEY | CapacityRqmtItemCapacity | I_CapacityRequirementItemCap | CapacityRqmtItemCapacity | |
| KEY | SuperiorOperationInternalID | I_CapacityRequirementItemCap | SuperiorOperationInternalID | |
| CapacityRequirementUnit | CapacityRequirementUnit | |||
| TotRemCapReqOpSegProcgDurn |
@AbapCatalog.sqlViewName: 'PPIOPDURN'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_ProcCapReqOpDurn
as select from I_CapacityRequirementItemCap as CapRqmtItmCap
{
key CapRqmtItmCap.CapacityRequirement,
key CapRqmtItmCap.CapacityRqmtItemCapacity,
key CapRqmtItmCap.SuperiorOperationInternalID,
CapacityRequirementUnit,
sum(CapRqmtItmCap.RemainingCapReqOpSegProcgDurn) as TotRemCapReqOpSegProcgDurn
}
where
CapRqmtItmCap.OperationIsPhase = '2'
group by
CapacityRequirement,
SuperiorOperationInternalID,
CapacityRqmtItemCapacity,
CapacityRequirementUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CAPACITYREQUIREMENTITEMCAP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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