P_BusSolnQtanItemAccptcStatus
P_BusSolnQtanItemAccptcStatus is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BusSolutionQuotationType, I_ServiceDocumentItemEnhcd) and exposes 4 fields with key fields BusinessSolutionQuotation, ServiceDocumentItem, ServiceObjectType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BusSolutionQuotationType | BusSolutionQuotationType | inner |
| I_ServiceDocumentItemEnhcd | ServiceDocumentItemEnhcd | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessSolutionQuotation | I_ServiceDocumentItemEnhcd | ServiceDocument | |
| KEY | ServiceDocumentItem | I_ServiceDocumentItemEnhcd | ServiceDocumentItem | |
| KEY | ServiceObjectType | I_ServiceDocumentItemEnhcd | ServiceObjectType | |
| QuotationIsAccepted | I_ServiceDocumentItemEnhcd | QuotationIsAccepted |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity P_BusSolnQtanItemAccptcStatus
as select from I_ServiceDocumentItemEnhcd as ServiceDocumentItemEnhcd
inner join I_BusSolutionQuotationType as BusSolutionQuotationType on BusSolutionQuotationType.BusSolutionQuotationType = ServiceDocumentItemEnhcd.ServiceDocumentType
{
key ServiceDocumentItemEnhcd.ServiceDocument as BusinessSolutionQuotation,
key ServiceDocumentItemEnhcd.ServiceDocumentItem,
key ServiceDocumentItemEnhcd.ServiceObjectType,
ServiceDocumentItemEnhcd.QuotationIsAccepted,
case ServiceDocumentItemEnhcd.QuotationIsAccepted
when 'N'
then count(distinct(ServiceDocumentItemEnhcd.ServiceDocumentItem))
else 0
end as acceptance_status
}
group by ServiceDocumentItemEnhcd.ServiceDocument,
ServiceDocumentItemEnhcd.ServiceDocumentItem,
ServiceDocumentItemEnhcd.ServiceObjectType,
ServiceDocumentItemEnhcd.QuotationIsAccepted
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSSOLUTIONQUOTATIONTYPE",
"I_SERVICEDOCUMENTITEMENHCD"
],
"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