P_PL_SAFTDwnPayInvoice
P_PL_SAFTDwnPayInvoice is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_BillingDocumentItem, tvfk) and exposes 2 fields with key fields BillingDocument, SalesDocument.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItem | BillingDocumentItem | inner |
| tvfk | DocType | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLSAFTDPINV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | BillingDocument | BillingDocument | |
| KEY | SalesDocument | I_BillingDocumentItem | SalesDocument |
@AbapCatalog.sqlViewName: 'PPLSAFTDPINV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.private: true
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_PL_SAFTDwnPayInvoice
as select distinct from I_BillingDocument as BillingDocument
inner join tvfk as DocType on DocType.fkart = BillingDocument.BillingDocumentType
and DocType.trvog = '8' // proforma/downpayment
inner join I_BillingDocumentItem as BillingDocumentItem on BillingDocumentItem.BillingDocument = BillingDocument.BillingDocument
and BillingDocumentItem.SalesDocument is not initial
{
key BillingDocument.BillingDocument,
key BillingDocumentItem.SalesDocument
}
where BillingDocument.SDDocumentCategory = 'M'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTITEM",
"TVFK"
],
"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