P_RepFinData_RT_Aggr_01
P_RepFinData_RT_Aggr_01 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 67 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | Source | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_CreationDateTimeRgFr | timestamp | |
| P_CreationDateTimeRgTo | timestamp |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PRFDRTAG_01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| PartnerCompany | I_JournalEntryItem | PartnerCompany | Trading Partner | |
| BalanceTransactionCurrency | I_JournalEntryItem | BalanceTransactionCurrency | Currency | |
| BaseUnit | I_JournalEntryItem | BaseUnit | Unit of Measure | |
| FinancialTransactionType | I_JournalEntryItem | FinancialTransactionType | Transact. Type | |
| FunctionalArea | I_JournalEntryItem | FunctionalArea | Sendr Fctl Area | |
| BusinessArea | I_JournalEntryItem | BusinessArea | Business Area | |
| CostCenter | I_JournalEntryItem | CostCenter | Cost Center | |
| GLAccount | I_JournalEntryItem | GLAccount | General Ledger | |
| ProfitCenter | I_JournalEntryItem | ProfitCenter | Profit Center | |
| AmountInTransactionCurrency | ||||
| AmountInLocalCurrency | ||||
| AmountInGroupCurrency | ||||
| QuantityInBaseUnit | ||||
| osl | ||||
| vsl | ||||
| bsl | ||||
| csl | ||||
| dsl | ||||
| esl | ||||
| fsl | ||||
| gsl | ||||
| Segment | I_JournalEntryItem | Segment | Segment number | |
| CompanyCode | I_JournalEntryItem | CompanyCode | Receiver Company Code | |
| ChartOfAccounts | I_JournalEntryItem | ChartOfAccounts | Node Class | |
| AssignmentReference | I_JournalEntryItem | AssignmentReference | Assignment Reference | |
| ControllingArea | I_JournalEntryItem | ControllingArea | Controlling Area | |
| PartnerCostCenter | I_JournalEntryItem | PartnerCostCenter | Sender Cost Ctr | |
| PartnerProfitCenter | I_JournalEntryItem | PartnerProfitCenter | Profit Center | |
| PartnerFunctionalArea | I_JournalEntryItem | PartnerFunctionalArea | Rec. Fntcl Area | |
| PartnerBusinessArea | I_JournalEntryItem | PartnerBusinessArea | Trdg Part.BA | |
| PartnerSegment | I_JournalEntryItem | PartnerSegment | Partner Segment | |
| OrderID | I_JournalEntryItem | OrderID | Order ID | |
| Customer | I_JournalEntryItem | Customer | Sold-to Party | |
| Supplier | I_JournalEntryItem | Supplier | Supplier | |
| Material | I_JournalEntryItem | Material | Vehicle Model | |
| MaterialGroup | I_JournalEntryItem | MaterialGroup | Product Group | |
| ProductGroup | I_JournalEntryItem | ProductGroup | Product Sold Group | |
| Plant | I_JournalEntryItem | Plant | Valuation Area | |
| WBSElementExternalID | I_JournalEntryItem | WBSElement | WBS Internal ID | |
| Project | I_JournalEntryItem | Project | WBS Element | |
| BillingDocumentType | I_JournalEntryItem | BillingDocumentType | Billing Type | |
| SalesOrganization | I_JournalEntryItem | SalesOrganization | Sales Organization | |
| DistributionChannel | I_JournalEntryItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | I_JournalEntryItem | OrganizationDivision | Org. Division | |
| SoldProduct | I_JournalEntryItem | SoldProduct | Product Sold | |
| SoldProductGroup | I_JournalEntryItem | SoldProductGroup | Product Sold Group | |
| CustomerGroup | I_JournalEntryItem | CustomerGroup | Customer Group | |
| CustomerSupplierCountry | I_JournalEntryItem | CustomerSupplierCountry | Customer or Supplier Country/Region | |
| CustomerSupplierIndustry | I_JournalEntryItem | CustomerSupplierIndustry | Industry | |
| SalesDistrict | I_JournalEntryItem | SalesDistrict | Sales District | |
| BillToParty | I_JournalEntryItem | BillToParty | Inv. Recipient | |
| ShipToParty | I_JournalEntryItem | ShipToParty | Ship-To Party (obsolete) | |
| CustomerSupplierCorporateGroup | I_JournalEntryItem | CustomerSupplierCorporateGroup | Group | |
| WBSElementInternalID | I_JournalEntryItem | WBSElementInternalID | WBS Internal ID | |
| CreationDateTime | ||||
| FinancialServicesProductGroup | I_JournalEntryItem | FinancialServicesProductGroup | Product Group (FS) | |
| FinancialServicesBranch | I_JournalEntryItem | FinancialServicesBranch | Branch (FS) | |
| FinancialDataSource | I_JournalEntryItem | FinancialDataSource | Data Source | |
| FinancialManagementArea | I_JournalEntryItem | FinancialManagementArea | FM Area | |
| GrantID | I_JournalEntryItem | GrantID | Sender Grant | |
| Fund | I_JournalEntryItem | Fund | Sender Fund | |
| PartnerFund | I_JournalEntryItem | PartnerFund | Receiver Fund | |
| CashLedgerAccount | I_JournalEntryItem | CashLedgerAccount | Cash Origin Account | |
| CashLedgerCompanyCode | I_JournalEntryItem | CashLedgerCompanyCode | Cash Origin CoCode | |
| Ledger | I_JournalEntryItem | Ledger | Ledger | |
| PostingDate | I_JournalEntryItem | PostingDate | Posting Date for GR | |
| FiscalYearPeriod | I_JournalEntryItem | FiscalYearPeriod | Period/Year |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_RepFinData_RT_Aggr_01.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PRFDRTAG_01
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp
CREATE VIEW P_RepFinData_RT_Aggr_01 AS
SELECT
Source.PartnerCompany AS PartnerCompany,
Source.BalanceTransactionCurrency AS BalanceTransactionCurrency,
Source.BaseUnit AS BaseUnit,
Source.FinancialTransactionType AS FinancialTransactionType,
Source.FunctionalArea AS FunctionalArea,
Source.BusinessArea AS BusinessArea,
Source.CostCenter AS CostCenter,
Source.GLAccount AS GLAccount,
Source.ProfitCenter AS ProfitCenter,
sum(Source.AmountInBalanceTransacCrcy) AS AmountInTransactionCurrency,
sum(Source.AmountInCompanyCodeCurrency) AS AmountInLocalCurrency,
sum(Source.AmountInGlobalCurrency) AS AmountInGroupCurrency,
cast(sum(Source.Quantity) as quan1_12 preserving type ) AS QuantityInBaseUnit,
sum(Source.AmountInFreeDefinedCurrency1) AS osl,
sum(Source.AmountInFreeDefinedCurrency2) AS vsl,
sum(Source.AmountInFreeDefinedCurrency3) AS bsl,
sum(Source.AmountInFreeDefinedCurrency4) AS csl,
sum(Source.AmountInFreeDefinedCurrency5) AS dsl,
sum(Source.AmountInFreeDefinedCurrency6) AS esl,
sum(Source.AmountInFreeDefinedCurrency7) AS fsl,
sum(Source.AmountInFreeDefinedCurrency8) AS gsl,
Source.Segment AS Segment,
Source.CompanyCode AS CompanyCode,
Source.ChartOfAccounts AS ChartOfAccounts,
Source.AssignmentReference AS AssignmentReference,
Source.ControllingArea AS ControllingArea,
Source.PartnerCostCenter AS PartnerCostCenter,
Source.PartnerProfitCenter AS PartnerProfitCenter,
Source.PartnerFunctionalArea AS PartnerFunctionalArea,
Source.PartnerBusinessArea AS PartnerBusinessArea,
Source.PartnerSegment AS PartnerSegment,
Source.OrderID AS OrderID,
Source.Customer AS Customer,
Source.Supplier AS Supplier,
Source.Material AS Material,
Source.MaterialGroup AS MaterialGroup,
Source.ProductGroup AS ProductGroup,
Source.Plant AS Plant,
Source.WBSElement AS WBSElementExternalID,
Source.Project AS Project,
Source.BillingDocumentType AS BillingDocumentType,
Source.SalesOrganization AS SalesOrganization,
Source.DistributionChannel AS DistributionChannel,
Source.OrganizationDivision AS OrganizationDivision,
Source.SoldProduct AS SoldProduct,
Source.SoldProductGroup AS SoldProductGroup,
Source.CustomerGroup AS CustomerGroup,
Source.CustomerSupplierCountry AS CustomerSupplierCountry,
Source.CustomerSupplierIndustry AS CustomerSupplierIndustry,
Source.SalesDistrict AS SalesDistrict,
Source.BillToParty AS BillToParty,
Source.ShipToParty AS ShipToParty,
Source.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
Source.WBSElementInternalID AS WBSElementInternalID,
cast(0 as timestamp) AS CreationDateTime,
Source.FinancialServicesProductGroup AS FinancialServicesProductGroup,
Source.FinancialServicesBranch AS FinancialServicesBranch,
Source.FinancialDataSource AS FinancialDataSource,
Source.FinancialManagementArea AS FinancialManagementArea,
Source.GrantID AS GrantID,
Source.Fund AS Fund,
Source.PartnerFund AS PartnerFund,
Source.CashLedgerAccount AS CashLedgerAccount,
Source.CashLedgerCompanyCode AS CashLedgerCompanyCode,
Source.Ledger AS Ledger,
Source.PostingDate AS PostingDate,
Source.FiscalYearPeriod AS FiscalYearPeriod
FROM I_JournalEntryItem AS Source
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA