P_ConvertedSalesQuotationAmt
P_ConvertedSalesQuotationAmt is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesOrderItem) and exposes 3 fields with key fields SalesQuotation, SalesQuotationItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrderItem | I_SalesOrderItem | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCNVRTDSLSAMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesQuotation | ReferenceSDDocument | ||
| KEY | SalesQuotationItem | ReferenceSDDocumentItem | ||
| CnvrtdSalesQuotationNetAmount |
@AbapCatalog: { sqlViewName: 'PCNVRTDSLSAMT',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: { usageType.serviceQuality: #P
}
@VDM: { private: true,
viewType: #COMPOSITE
}
@Metadata.ignorePropagatedAnnotations: true
/* View will fetch the Converted net amount from the Sales Orders which are created from Sales Quotation document*/
define view P_ConvertedSalesQuotationAmt
as select from I_SalesOrderItem
{
key ReferenceSDDocument as SalesQuotation,
key ReferenceSDDocumentItem as SalesQuotationItem,
sum(NetAmount) as CnvrtdSalesQuotationNetAmount
}
where
ReferenceSDDocumentCategory = 'B' //Quotation
group by
ReferenceSDDocument,
ReferenceSDDocumentItem
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESORDERITEM"
],
"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