C_StRpRptdJournalEntry
Reported document for Statutory Reporting
C_StRpRptdJournalEntry is a Consumption CDS View that provides data about "Reported document for Statutory Reporting" in SAP S/4HANA. It reads from 1 data source (I_StRpRepRun) and exposes 4 fields with key fields CompanyCode, AccountingDocument, FiscalYear. Part of development package GLO_FIN_IS_VAT_GEN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpRepRun | I_StRpRepRun | left_outer |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSRRPTDJRNLENTRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Reported document for Statutory Reporting | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_StRpJournalEntryLog | CompanyCode | |
| KEY | AccountingDocument | I_StRpJournalEntryLog | AccountingDocument | |
| KEY | FiscalYear | I_StRpJournalEntryLog | FiscalYear | |
| StatryRptRunStatus | I_StRpRepRun | StatryRptRunStatus |
@AbapCatalog.sqlViewName: 'CSRRPTDJRNLENTRY'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Reported document for Statutory Reporting'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #NOT_REQUIRED
////////////////////////////////////////////////////////////////////
// This view is intended to derive all reported document for Statutory Reporting //
////////////////////////////////////////////////////////////////////
define view C_StRpRptdJournalEntry
with parameters
P_StatryRptgEntity : srf_reporting_entity,
P_StatryRptCategory : srf_rep_cat_id
as select distinct from I_StRpJournalEntryLog
left outer join I_StRpRepRun on I_StRpRepRun.StatryRptgEntity = I_StRpJournalEntryLog.StatryRptgEntity
and I_StRpRepRun.StatryRptCategory = I_StRpJournalEntryLog.StatryRptCategory
and I_StRpRepRun.StatryRptRunID = I_StRpJournalEntryLog.StatryRptRunID
{
key I_StRpJournalEntryLog.CompanyCode,
key I_StRpJournalEntryLog.AccountingDocument,
key I_StRpJournalEntryLog.FiscalYear,
I_StRpRepRun.StatryRptRunStatus
}
where
I_StRpRepRun.StatryRptRunStatus = 'SOK'
and I_StRpJournalEntryLog.StatryRptCategory = $parameters.P_StatryRptCategory
and I_StRpJournalEntryLog.StatryRptgEntity = $parameters.P_StatryRptgEntity
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