P_BillingDocProcFlow21
Billing Doc Process Flow:: Level +2 Accounting
P_BillingDocProcFlow21 is a Consumption CDS View that provides data about "Billing Doc Process Flow:: Level +2 Accounting" in SAP S/4HANA. It reads from 1 data source (I_AccountingDocument) and exposes 8 fields with key fields Level1Document, AccountingDocument, BillingDocument. Part of development package ODATA_SD_BIL_PROCESSFLOW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocument | AccountingDocument | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PBILLGDOCPROCF21 | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| 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 |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Level1Document | Level1Document | ||
| KEY | AccountingDocument | I_AccountingDocument | AccountingDocument | |
| KEY | BillingDocument | BillingDocument | ||
| BillingDocumentType | BillingDocumentType | |||
| CompanyCode | I_AccountingDocument | CompanyCode | ||
| FiscalYear | I_AccountingDocument | FiscalYear | ||
| Level1DocumentCategory | Level1DocumentCategory | |||
| SalesOrganization | SalesOrganization |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'PBILLGDOCPROCF21'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: { dataClass: #MIXED, serviceQuality: #C, sizeCategory: #XL }
@VDM.private: true
@VDM.viewType: #CONSUMPTION
define view P_BillingDocProcFlow21
as select distinct from P_BillingDocProcFlow10 as Level1
inner join I_AccountingDocument as AccountingDocument
on Level1.Level1Document = AccountingDocument.OriginalReferenceDocument
and AccountingDocument.ReferenceDocumentType = 'VBRK'
and LedgerGroup = ''
{
// Key
key Level1Document,
key AccountingDocument.AccountingDocument,
// SalesOrder
key BillingDocument,
BillingDocumentType,
// AccountingDocument additional keys
AccountingDocument.CompanyCode,
AccountingDocument.FiscalYear,
// Category
Level1DocumentCategory,
// Organization
SalesOrganization
}
where Level1DocumentCategory = 'O' -- > Credit Memo
or Level1DocumentCategory = 'P' -- > Debit Memo
or Level1DocumentCategory = 'N' -- > Invoice Cancellation
or Level1DocumentCategory = 'S' -- > Debit Memo Cancellation
or Level1DocumentCategory = 'DPCC' -- > Down Payment Cancellation
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