P_SrvcDocHavingSglPrdcssrQtan
P_SrvcDocHavingSglPrdcssrQtan is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentPredecessor) and exposes 2 fields with key field ServiceDocumentUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentPredecessor | docflow | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocumentUUID | I_ServiceDocumentPredecessor | ServiceDocumentUUID | |
| ServiceDocument | srvcdoc | ServiceDocument |
@VDM: {
private: true,
viewType: #COMPOSITE,
lifecycle.contract.type: #NONE
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED
}
@ObjectModel: {
usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
}
@Metadata: {
ignorePropagatedAnnotations: true
}
define view entity P_SrvcDocHavingSglPrdcssrQtan
as select from I_ServiceDocumentPredecessor as docflow
left outer to one join I_ServiceDocument as srvcdoc on docflow.ServiceDocumentUUID = srvcdoc.ServiceDocumentUUID
{
key docflow.ServiceDocumentUUID,
srvcdoc.ServiceDocument
}
where
docflow.ServiceDocumentRelationType = 'VONA'
and docflow.ServiceDocPrdcssrBusObjType = 'BUS2000116'
and docflow._ServiceDoc.ServiceDocumentIsQuotation = 'X'
group by
docflow.ServiceDocumentUUID,
srvcdoc.ServiceDocument
having
count(*) = 1
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENT",
"I_SERVICEDOCUMENTENHCD",
"I_SERVICEDOCUMENTPREDECESSOR"
],
"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