C_DisplayDocumentFlowBilling
Billing Document and Invoice List
C_DisplayDocumentFlowBilling is a Consumption CDS View that provides data about "Billing Document and Invoice List" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentBasic) and exposes 20 fields with key field BillingDocument. Part of development package ODATA_GL_DSP_DOC_FLW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentBasic | Billing | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Billing Document and Invoice List | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | BillingDocument | ||
| CompanyCode | CompanyCode | |||
| BillingDocumentType | BillingDocumentType | |||
| BillingDocumentDate | BillingDocumentDate | |||
| SalesOrganization | SalesOrganization | |||
| SoldToParty | SoldToParty | |||
| CustomerName | ||||
| AuthorizationGroup | ||||
| CustomerAccountGroup | ||||
| IsBusinessPurposeCompleted | ||||
| PayerParty | I_BillingDocumentBasic | PayerParty | ||
| TotalNetAmount | TotalNetAmount | |||
| TransactionCurrency | TransactionCurrency | |||
| _PartnerBasic | _PartnerBasic | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _BillingDocumentType | _BillingDocumentType | |||
| _CompanyCode | _CompanyCode | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToParty | _SoldToParty | |||
| _PayerParty | _PayerParty |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel.usageType:{ serviceQuality: #C, sizeCategory: #L, dataClass: #MIXED }
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Billing Document and Invoice List'
define view entity C_DisplayDocumentFlowBilling
as select from I_BillingDocumentBasic as Billing
{
key BillingDocument,
@ObjectModel.foreignKey.association: '_CompanyCode'
CompanyCode,
@ObjectModel.foreignKey.association: '_BillingDocumentType'
BillingDocumentType,
BillingDocumentDate,
@ObjectModel.foreignKey.association: '_SalesOrganization'
SalesOrganization,
@ObjectModel.foreignKey.association: '_SoldToParty'
SoldToParty,
Billing._SoldToParty.CustomerName,
Billing._SoldToParty.AuthorizationGroup,
Billing._SoldToParty.CustomerAccountGroup,
Billing._SoldToParty.IsBusinessPurposeCompleted,
Billing.PayerParty,
@Semantics.amount.currencyCode: 'TransactionCurrency'
TotalNetAmount,
TransactionCurrency,
_PartnerBasic,
_TransactionCurrency,
_BillingDocumentType,
_CompanyCode,
_SalesOrganization,
_SoldToParty,
_PayerParty
}
where
SDDocumentCategory = '3' // Invoice List
or SDDocumentCategory = '4' // Credit Memo List
or SDDocumentCategory = 'M' // Invoice
or SDDocumentCategory = 'N' // Invoice Canceled
or SDDocumentCategory = 'O' // Credit Memo
or SDDocumentCategory = 'P' // Debit Memo
or SDDocumentCategory = 'S' // Credit Memo Canceled
or SDDocumentCategory = 'U' // Pro Forma Invoice
or SDDocumentCategory = '5' // Intercompany Invoice
or SDDocumentCategory = '6' // Intercompany Credit Memo
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