P_RepFinData_RT_AggrNRL_04

DDL: P_REPFINDATA_RT_AGGRNRL_04 SQL: PRFDRTAGNRL_04 Type: view COMPOSITE Package: FIN_CS_RELEASE_UNIVERSAL_JRNL

Get Subitem

P_RepFinData_RT_AggrNRL_04 is a Composite CDS View that provides data about "Get Subitem" in SAP S/4HANA. It reads from 1 data source (P_RepFinData_RT_AggrNRL_03) and exposes 82 fields. Part of development package FIN_CS_RELEASE_UNIVERSAL_JRNL.

Data Sources (1)

SourceAliasJoin Type
P_RepFinData_RT_AggrNRL_03 P_RepFinData_RT_AggrNRL_03 from

Parameters (2)

NameTypeDefault
P_CreationDateTimeRgFr timestamp
P_CreationDateTimeRgTo timestamp

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PRFDRTAGNRL_04 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 (82)

KeyFieldSource TableSource FieldDescription
SegmentendasSubItem
CnsldtnSubitemSource I_CnsldtnSubItemCategoryEnhcd CnsldtnSubitemSource
BreakdownCategory I_CnsldtnFinStmntItem BreakdownCategory
FinancialStatementItem Source FinancialStatementItem FS Item
ConsolidationChartOfAccounts Source ConsolidationChartOfAccounts Cons. COA
ConsolidationUnitLocalCurrency Source ConsolidationUnitLocalCurrency
PartnerConsolidationUnit Source PartnerConsolidationUnit Partner Unit
ConsolidationDimension Source ConsolidationDimension Dimension
ConsolidationUnit Source ConsolidationUnit Consolidation Unit
ConsolidationVersion Source ConsolidationVersion Version
ConsolidationLedger Source ConsolidationLedger Ledger
GroupCurrency Source GroupCurrency Ledger curr.
DocumentEntryIsInGroupCurrency Source DocumentEntryIsInGroupCurrency
CnsldtnUnitGroupCrcySource Source CnsldtnUnitGroupCrcySource
CnsldtnUnitLocalCrcySource Source CnsldtnUnitLocalCrcySource
FiscalPeriod Source FiscalPeriod Tax period
FiscalYear Source FiscalYear G/L Fiscal Year
BalanceTransactionCurrency Source BalanceTransactionCurrency Currency
BaseUnit Source BaseUnit Unit of Measure
FinancialTransactionType Source FinancialTransactionType Transact. Type
FunctionalArea Source FunctionalArea Sendr Fctl Area
BusinessArea Source BusinessArea Business Area
CostCenter Source CostCenter Cost Center
GLAccount Source GLAccount General Ledger
ProfitCenter Source ProfitCenter Profit Center
AmountInTransactionCurrency Source AmountInTransactionCurrency Pt Crcy Amt
AmountInLocalCurrency Source AmountInLocalCurrency Local Crcy Amt
AmountInGroupCurrency Source AmountInGroupCurrency Amnt in GrpCrcy
QuantityInBaseUnit Source QuantityInBaseUnit Quantity
osl Source osl Other Crcy Amnt
vsl Source vsl Amount in Currency 2
bsl Source bsl Exchange Key
csl Source csl Amount in Currency 4
dsl Source dsl Amount in Currency 5
esl Source esl Amount in Currency 6
fsl Source fsl Amount in Currency 7
gsl Source gsl Amount in Currency 8
Segment Source Segment Segment number
PartnerCompany Source PartnerCompany Trading Partner
CompanyCode Source CompanyCode Receiver Company Code
ChartOfAccounts Source ChartOfAccounts Node Class
AssignmentReference Source AssignmentReference Assignment Reference
ControllingArea Source ControllingArea Controlling Area
PartnerCostCenter Source PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter Source PartnerProfitCenter Profit Center
PartnerFunctionalArea Source PartnerFunctionalArea Rec. Fntcl Area
PartnerBusinessArea Source PartnerBusinessArea Trdg Part.BA
PartnerSegment Source PartnerSegment Partner Segment
OrderID Source OrderID Order ID
Customer Source Customer Sold-to Party
Supplier Source Supplier Supplier
Material Source Material Vehicle Model
MaterialGroup Source MaterialGroup Product Group
ProductGroup Source ProductGroup Product Sold Group
Plant Source Plant Valuation Area
WBSElementExternalID Source WBSElementExternalID WBS Element External ID
Project Source Project WBS Element
BillingDocumentType Source BillingDocumentType Billing Type
SalesOrganization Source SalesOrganization Sales Organization
DistributionChannel Source DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Source OrganizationDivision Org. Division
SoldProduct Source SoldProduct Product Sold
SoldProductGroup Source SoldProductGroup Product Sold Group
CustomerGroup Source CustomerGroup Customer Group
CustomerSupplierCountry Source CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry Source CustomerSupplierIndustry Industry
SalesDistrict Source SalesDistrict Sales District
BillToParty Source BillToParty Inv. Recipient
ShipToParty Source ShipToParty Ship-To Party (obsolete)
CustomerSupplierCorporateGroup Source CustomerSupplierCorporateGroup Group
WBSElementInternalID Source WBSElementInternalID WBS Internal ID
CreationDateTime Source CreationDateTime Timestamp
FinancialServicesProductGroup Source FinancialServicesProductGroup Product Group (FS)
FinancialServicesBranch Source FinancialServicesBranch Branch (FS)
FinancialDataSource Source FinancialDataSource Data Source
FinancialManagementArea Source FinancialManagementArea FM Area
GrantID Source GrantID Sender Grant
Fund Source Fund Sender Fund
PartnerFund Source PartnerFund Receiver Fund
CashLedgerAccount Source CashLedgerAccount Cash Origin Account
CnsldtnCashLedgerChartOfAccts Source CnsldtnCashLedgerChartOfAccts
SourceLedger Source SourceLedger Source Ledger

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_AggrNRL_04.
-- 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: PRFDRTAGNRL_04
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp

CREATE VIEW P_RepFinData_RT_AggrNRL_04 AS
SELECT
  case I_CnsldtnSubItemCategoryEnhcd.CnsldtnSubitemSource when '01' then Source.FinancialTransactionType when '02' then Source.FunctionalArea when '03' then Source.BusinessArea when '05' then Source.CostCenter when '06' then Source.GLAccount when '07' then Source.ProfitCenter when '08' then Source.Segment end as SubItem AS SegmentendasSubItem,
  I_CnsldtnSubItemCategoryEnhcd.CnsldtnSubitemSource AS CnsldtnSubitemSource,
  I_CnsldtnFinStmntItem.BreakdownCategory AS BreakdownCategory,
  Source.FinancialStatementItem AS FinancialStatementItem,
  Source.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
  Source.ConsolidationUnitLocalCurrency AS ConsolidationUnitLocalCurrency,
  Source.PartnerConsolidationUnit AS PartnerConsolidationUnit,
  Source.ConsolidationDimension AS ConsolidationDimension,
  Source.ConsolidationUnit AS ConsolidationUnit,
  Source.ConsolidationVersion AS ConsolidationVersion,
  Source.ConsolidationLedger AS ConsolidationLedger,
  Source.GroupCurrency AS GroupCurrency,
  Source.DocumentEntryIsInGroupCurrency AS DocumentEntryIsInGroupCurrency,
  Source.CnsldtnUnitGroupCrcySource AS CnsldtnUnitGroupCrcySource,
  Source.CnsldtnUnitLocalCrcySource AS CnsldtnUnitLocalCrcySource,
  Source.FiscalPeriod AS FiscalPeriod,
  Source.FiscalYear AS FiscalYear,
  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,
  Source.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  Source.AmountInLocalCurrency AS AmountInLocalCurrency,
  Source.AmountInGroupCurrency AS AmountInGroupCurrency,
  Source.QuantityInBaseUnit AS QuantityInBaseUnit,
  Source.osl AS osl,
  Source.vsl AS vsl,
  Source.bsl AS bsl,
  Source.csl AS csl,
  Source.dsl AS dsl,
  Source.esl AS esl,
  Source.fsl AS fsl,
  Source.gsl AS gsl,
  Source.Segment AS Segment,
  Source.PartnerCompany AS PartnerCompany,
  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.WBSElementExternalID 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,
  Source.CreationDateTime 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.CnsldtnCashLedgerChartOfAccts AS CnsldtnCashLedgerChartOfAccts,
  Source.SourceLedger AS SourceLedger
FROM P_RepFinData_RT_AggrNRL_03
;