P_RblsItmForKeyDtePerd1_WSJ
Cash Collection Tracker 1
P_RblsItmForKeyDtePerd1_WSJ is a Composite CDS View that provides data about "Cash Collection Tracker 1" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 30 fields with key fields CompanyCode, AccountingDocument, AccountingDocumentItem, FiscalYear. Part of development package FINS_FIS_APAR_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | AccountingDocumentItem | AccountingDocumentItem | ||
| KEY | FiscalYear | FiscalYear | ||
| InvoiceReference | InvoiceReference | |||
| InvoiceItemReference | InvoiceItemReference | |||
| InvoiceReferenceFiscalYear | InvoiceReferenceFiscalYear | |||
| ClearingDate | ClearingDate | |||
| PostingDate | PostingDate | |||
| DocumentDate | DocumentDate | |||
| FinancialAccountType | FinancialAccountType | |||
| DebitCreditCode | DebitCreditCode | |||
| Customer | Customer | |||
| FollowOnDocumentType | FollowOnDocumentType | |||
| NetDueDate | NetDueDate | |||
| SpecialGLCode | SpecialGLCode | |||
| GLAccount | GLAccount | |||
| DisplayCurrency | CompanyCodeCurrency | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| FunctionalCurrency | FunctionalCurrency | |||
| TransactionCurrency | TransactionCurrency | |||
| OpenDueAmountInDisplayCrcy | AmountInCompanyCodeCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | |||
| AccountingDocumentCategory | AccountingDocumentCategory | |||
| AmountInFunctionalCurrency | AmountInFunctionalCurrency | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency | |||
| PostingKey | PostingKey | |||
| IsUsedInPaymentTransaction | IsUsedInPaymentTransaction | |||
| BusinessArea | BusinessArea | |||
| FiscalPeriod | FiscalPeriod |
@VDM.viewType: #COMPOSITE
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity P_RblsItmForKeyDtePerd1_WSJ
as select from I_OperationalAcctgDocItem
{
key CompanyCode,
key AccountingDocument,
key AccountingDocumentItem,
key FiscalYear,
InvoiceReference,
InvoiceItemReference,
InvoiceReferenceFiscalYear,
ClearingDate,
PostingDate,
DocumentDate,
FinancialAccountType,
DebitCreditCode,
Customer,
FollowOnDocumentType,
NetDueDate,
SpecialGLCode,
GLAccount,
CompanyCodeCurrency as DisplayCurrency,
CompanyCodeCurrency,
FunctionalCurrency,
TransactionCurrency,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
AmountInCompanyCodeCurrency as OpenDueAmountInDisplayCrcy,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
AmountInCompanyCodeCurrency,
AccountingDocumentCategory,
AmountInFunctionalCurrency,
AmountInTransactionCurrency,
PostingKey,
IsUsedInPaymentTransaction,
BusinessArea,
FiscalPeriod
}
where
// receivables
FinancialAccountType = 'D'
and AccountingDocumentCategory = ''
and IsUsedInPaymentTransaction = ' '
and FollowOnDocumentType <> ''
and FollowOnDocumentType <> 'V'
and FollowOnDocumentType <> 'P'
and InvoiceReference <> 'V' // V is a valid invoice reference value for credit memos via e.g. transaction FB75 (see documentation of DTEL REBZG)
and(
InvoiceReference <> ''
or InvoiceItemReference <> '000' // it is required to specify an invoice item reference (also for join) in contrast to documentation of DTEL REBZZ
or InvoiceReferenceFiscalYear <> '0000'
)
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