P_SlsQtanProcFlow41
P_SlsQtanProcFlow41 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_AccountingDocument) and exposes 10 fields with key fields Level3Document, AccountingDocument, SalesQuotation.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocument | AccountingDocument | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSLSQTANPROCF41 | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Level3Document | Level3 | Level3Document | |
| KEY | AccountingDocument | I_AccountingDocument | AccountingDocument | |
| KEY | SalesQuotation | Level3 | SalesQuotation | |
| SalesQuotationType | Level3 | SalesQuotationType | ||
| Level3DocumentCategory | Level3 | Level3DocumentCategory | ||
| SalesOrganization | Level3 | SalesOrganization | ||
| DistributionChannel | Level3 | DistributionChannel | ||
| OrganizationDivision | Level3 | OrganizationDivision | ||
| CompanyCode | I_AccountingDocument | CompanyCode | ||
| FiscalYear | I_AccountingDocument | FiscalYear |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PSLSQTANPROCF41'
define view P_SlsQtanProcFlow41
as select distinct from P_SlsQtanProcFlow30 as Level3
inner join I_AccountingDocument as AccountingDocument
on Level3.Level3Document = AccountingDocument.OriginalReferenceDocument
and AccountingDocument.ReferenceDocumentType = 'VBRK'
and AccountingDocument.LedgerGroup = ''
{
//Key
key Level3.Level3Document,
key AccountingDocument.AccountingDocument,
//SalesQuotation
key Level3.SalesQuotation,
Level3.SalesQuotationType,
//Category
Level3.Level3DocumentCategory,
//Organization
Level3.SalesOrganization,
Level3.DistributionChannel,
Level3.OrganizationDivision,
//AccountingDocument additional keys
AccountingDocument.CompanyCode,
AccountingDocument.FiscalYear
}
where Level3.Level3DocumentCategory = 'M' --> Invoice
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENT",
"P_SLSQTANPROCFLOW30"
],
"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