C_AR_StRpJrnlEntrDocSelection
Argentina Journal Ledger Document Selection for Reporting
C_AR_StRpJrnlEntrDocSelection is a Consumption CDS View that provides data about "Argentina Journal Ledger Document Selection for Reporting" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 5 fields with key fields CompanyCode, FiscalYear, AccountingDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | JournalEntryItem | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CARJOURNALENTRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Argentina Journal Ledger Document Selection for Reporting | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | JournalEntry | CompanyCode | |
| KEY | FiscalYear | JournalEntry | FiscalYear | |
| KEY | AccountingDocument | JournalEntry | AccountingDocument | |
| AccountingDocumentCategory | JournalEntry | AccountingDocumentCategory | ||
| PostingDate | JournalEntry | PostingDate |
@AbapCatalog.sqlViewName: 'CARJOURNALENTRY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Argentina Journal Ledger Document Selection for Reporting'
define view C_AR_StRpJrnlEntrDocSelection
with parameters
P_Ledger : fins_ledger
as select distinct from I_JournalEntry as JournalEntry
inner join I_JournalEntryItem as JournalEntryItem on JournalEntryItem.CompanyCode = JournalEntry.CompanyCode
and JournalEntryItem.FiscalYear = JournalEntry.FiscalYear
and JournalEntryItem.AccountingDocument = JournalEntry.AccountingDocument
and JournalEntryItem.SourceLedger = $parameters.P_Ledger
and JournalEntryItem.Ledger = $parameters.P_Ledger
{
key JournalEntry.CompanyCode,
key JournalEntry.FiscalYear,
key JournalEntry.AccountingDocument,
JournalEntry.AccountingDocumentCategory,
JournalEntry.PostingDate,
cast(
case
when JournalEntry.TaxReportingDate = '00000000' then JournalEntry.PostingDate
when JournalEntry.TaxReportingDate <> '00000000' then JournalEntry.TaxReportingDate
end
as glo_reporting_date preserving type ) as ReportingDate
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"I_JOURNALENTRYITEM"
],
"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