P_SlsQtanProcFlow31
P_SlsQtanProcFlow31 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_AccountingDocument) and exposes 10 fields with key fields Level2Document, 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 | PSLSQTANPROCF31 | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Level2Document | Level2 | Level2Document | |
| KEY | AccountingDocument | I_AccountingDocument | AccountingDocument | |
| KEY | SalesQuotation | Level2 | SalesQuotation | |
| SalesQuotationType | Level2 | SalesQuotationType | ||
| Level2DocumentCategory | Level2 | Level2DocumentCategory | ||
| SalesOrganization | Level2 | SalesOrganization | ||
| DistributionChannel | Level2 | DistributionChannel | ||
| OrganizationDivision | Level2 | 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: 'PSLSQTANPROCF31'
define view P_SlsQtanProcFlow31
as select distinct from P_SlsQtanProcFlow20 as Level2
inner join I_AccountingDocument as AccountingDocument
on Level2.Level2Document = AccountingDocument.OriginalReferenceDocument
and AccountingDocument.ReferenceDocumentType = 'VBRK'
and AccountingDocument.LedgerGroup = ''
{
//Key
key Level2.Level2Document,
key AccountingDocument.AccountingDocument,
//SalesQuotation
key Level2.SalesQuotation,
Level2.SalesQuotationType,
//Category
Level2.Level2DocumentCategory,
//Organization
Level2.SalesOrganization,
Level2.DistributionChannel,
Level2.OrganizationDivision,
//AccountingDocument additional keys
AccountingDocument.CompanyCode,
AccountingDocument.FiscalYear
}
where Level2.Level2DocumentCategory = 'M' --> Invoice
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENT",
"P_SLSQTANPROCFLOW20"
],
"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