P_ConvertedSalesQuotation
P_ConvertedSalesQuotation is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesOrderItem) and exposes 4 fields with key fields SalesQuotation, SalesQuotationItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrderItem | I_SalesOrderItem | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSDCNVRTDSLSQTAN | view | |
| AbapCatalog.preserveKey | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesQuotation | ReferenceSDDocument | ||
| KEY | SalesQuotationItem | ReferenceSDDocumentItem | ||
| CnvrtdSalesQuotationNetAmount | ||||
| CnvrtdSalesQuotationQuantity |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #L
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PSDCNVRTDSLSQTAN'
@AbapCatalog.preserveKey:true
define view P_ConvertedSalesQuotation
as select from I_SalesOrderItem
{
key ReferenceSDDocument as SalesQuotation,
key ReferenceSDDocumentItem as SalesQuotationItem,
sum(NetAmount) as CnvrtdSalesQuotationNetAmount,
sum(RequestedQuantityInBaseUnit) as CnvrtdSalesQuotationQuantity
}
where ReferenceSDDocumentCategory = 'B'
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