P_ChangeRecordProdnHold
P_ChangeRecordProdnHold is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ProductionHoldBasic) and exposes 3 fields with key field OrderInternalID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductionHoldBasic | I_ProductionHoldBasic | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCHGRECPRODNHOLD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderInternalID | OrderInternalID | ||
| ProductionHoldEndDateTime | ||||
| OrderCount |
@AbapCatalog.sqlViewName: 'PCHGRECPRODNHOLD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
//@EndUserText.label: 'Change Record Production Hold Information'
define view P_ChangeRecordProdnHold
as select from I_ProductionHoldBasic
{
key OrderInternalID,
min(ProductionHoldEndDateTime) as ProductionHoldEndDateTime,
count(*) as OrderCount
}
where
ProductionHoldObjectType = '4'
and ProdnHoldIsAppldForOrderChg = 'X'
group by
OrderInternalID;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTIONHOLDBASIC"
],
"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