I_CnsldtnJrnlEntryItemTP

DDL: I_CNSLDTNJRNLENTRYITEMTP Type: view TRANSACTIONAL

Journal Entry Item

I_CnsldtnJrnlEntryItemTP is a Transactional CDS View that provides data about "Journal Entry Item" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGlobalParameter, acdocu) and exposes 133 fields with key fields FiscalYear, ConsolidationDocumentNumber, ConsolidationLedger, ConsolidationPostingItem. It has 17 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnGlobalParameter _GlobalParameter inner
acdocu u from

Associations (17)

CardinalityTargetAliasCondition
[1..1] E_CnsldtnGroupJrnlEntryItem _Extension $projection.ConsolidationLedger = _Extension.ConsolidationLedger and $projection.ConsolidationDimension = _Extension.ConsolidationDimension and $projection.FiscalYear = _Extension.FiscalYear and $projection.ConsolidationDocumentNumber = _Extension.CnsldtnGroupJrnlEntry and $projection.ConsolidationPostingItem = _Extension.CnsldtnGroupJrnlEntryItem
[1..1] I_CnsldtnJrnlEntryTP _Header _Header.FiscalYear = $projection.FiscalYear and _Header.ConsolidationDocumentNumber = $projection.ConsolidationDocumentNumber and _Header.ConsolidationLedger = $projection.ConsolidationLedger
[1..1] I_CnsldtnLedger _Ledger $projection.ConsolidationLedger = _Ledger.ConsolidationLedger
[1..1] I_CnsldtnVersion _Version $projection.ConsolidationVersion = _Version.ConsolidationVersion
[1..1] I_CnsldtnGroup _CnsldtnGroup $projection.ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup and $projection.ConsolidationDimension = _CnsldtnGroup.ConsolidationDimension
[1..1] I_CnsldtnChartOfAccounts _ChartOfAccounts $projection.ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts
[1..1] I_CnsldtnFinStmntItem _FinStmntItm $projection.ConsolidationChartOfAccounts = _FinStmntItm.ConsolidationChartOfAccounts and $projection.FinancialStatementItem = _FinStmntItm.FinancialStatementItem
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CnsldtnSubItemCategory _SubItemCategory $projection.SubItemCategory = _SubItemCategory.SubItemCategory
[0..1] I_CnsldtnSubItem _SubItem $projection.SubItemCategory = _SubItem.SubItemCategory and $projection.SubItem = _SubItem.SubItem
[1..1] I_CnsldtnDocumentType_2 _DocumentType $projection.ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType
[1..1] I_CnsldtnPostingLevel _PostingLevel $projection.PostingLevel = _PostingLevel.PostingLevel
[1..1] I_CnsldtnApportionment _Apportionment $projection.ConsolidationApportionment = _Apportionment.ConsolidationApportionment
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_Currency _LocalCurrency $projection.LocalCurrency = _LocalCurrency.Currency
[0..1] I_Currency _GroupCurrency $projection.GroupCurrency = _GroupCurrency.Currency
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICSJRNLENTRITP view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Journal Entry Item view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence FINCSJRNLENTRI_D view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey ConsolidationPostingItem view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view

Fields (133)

KeyFieldSource TableSource FieldDescription
KEY FiscalYear ryear Ref. Year1
KEY ConsolidationDocumentNumber docnr Well doc.no.
KEY ConsolidationLedger rldnr Ledger (Compat.)
KEY ConsolidationPostingItem docln Matching Document Line Item
FiscalYearForEdit ryear Ref. Year1
ConsolidationLedgerForEdit rldnr Ledger (Compat.)
ConsolidationDimension rdimen Dimension
GLRecordType rrcty Record Type
ConsolidationVersion rvers Version: Tax rt
TransactionCurrency rtcur Currency
LocalCurrency rhcur Local Currency
GroupCurrency rkcur Ledger curr.
BaseUnit runit Unit/Area
FiscalPeriod poper Posting periods
Company rcomp Trading Partner
ConsolidationUnit Consolidation Unit
ConsolidationChartOfAccounts ritclg Consolidation COA
FinancialStatementItem ritem Reporting Item
PartnerConsolidationUnit Partner Unit
ConsolidationGroup rcongr Consolidation Group
CompanyCode robukrs Orig. CC
SubItemCategory sityp Trip Schedule Type
SubItem subit Subitem
PostingLevel plevl Posting Level
ConsolidationApportionment rpflg Apportionment
CurrencyConversionsDiffType rtflg Currency Translation Indicator
ConsolidationDocumentType docty Document Type
ConsolidationAcquisitionYear yracq Year of Acquisition
ConsolidationAcquisitionPeriod pracq Period of Acquisition
InvesteeConsolidationUnit Investee Unit
InvestorConsolidationUnit Investor Unit
AmountInTransactionCurrency tsl Trans. Currency
AmountInLocalCurrency hsl Local Crcy Amt
AmountInGroupCurrency ksl GrpCurr
QuantityInBaseUnit msl Stat. KeyFig. Qty
DocumentItemText sgtxt Text
ConsolidationPostgItemAutoFlag autom Automatic Call
BusinessTransactionType activ Transaction
PostingDate budat Posting Date
CurrencyTranslationDate wsdat Value Date
RefAccountingDocument refdocnr Reference
RefConsolidationDocumentNumber refdocnr Reference
ReferenceFiscalYear refryear Reference year
RefConsolidationPostingItem refdocln Reference Item
RefAccountingDocumentItem refdocln Reference Item
RefConsolidationDocumentType refdocct Ref. Doc. Cat.
RefBusinessTransactionType refactiv Ref. Transactn
CreationDate cpudt Imported On
CreationTime cputm Time
UserID usnam User Name
ReverseDocument rvsdocnr Reversed With
ReversedDocument orndocnr Reversed doc.
InvestmentActivityType coiac Investment Activity
InvestmentActivity coinr Investment Activity Number
ConsolidationDocReversalYear revyear Year of reversal doc
ReferenceDocumentType awtyp Reference Document Type
ReferenceDocumentContext aworg Refer. Org.Unit
LogicalSystem logsys Source system
ChartOfAccounts ktopl G/L Chart of Accounts
GLAccount racct GL Account From
AssignmentReference zuonr Finance Project
CostCenter rcntr Cost Center
ProfitCenter prctr Profit Centers
FunctionalArea rfarea R FuncArea
BusinessArea rbusa Business Area
ControllingArea kokrs Org. Value
Segment segment Segment number
PartnerCostCenter scntr Sender Cost Ctr
PartnerProfitCenter pprctr Partner PC
PartnerFunctionalArea sfarea Sender FnArea
PartnerBusinessArea sbusa Trdg Part.BA
PartnerCompany rassc Trading Partner
PartnerSegment psegment Partner Segment
OrderID aufnr SettlementOrder
Customer kunnr Stock customer
Supplier lifnr Vendor no.
Material matnr Vehicle Model
Plant werks Receiving Plant
FinancialTransactionType rmvct Transact. Type
WBSElementInternalID ps_psp_pnr WBS Element
WBSElementExternalID ps_posid WBS Element
Project ps_pspid Project def.
BillingDocumentType fkart Ship. cost type
SalesOrganization vkorg SD Sales Org.
DistributionChannel vtweg RefDistCh-Cust/Mat.
OrganizationDivision spart Source supplier
SoldMaterial matnr_copa Product Sold
MaterialGroup matkl_mm Material Group
ProductGroup matkl Product Sold Group
CustomerGroup kdgrp Customer group
CustomerSupplierCountry land1 Trip Ctry/Reg
CustomerSupplierIndustry brsch Industry
SalesDistrict bzirk Sales District
BillToParty kunre Bill-to Party
ShipToParty kunwe Ship-to Party
CustomerSupplierCorporateGroup konzs Group
ConsolidationUnit3 rbunit Consolidation Unit
PartnerConsolidationUnit3 rbuptr Partner Unit
FiscalYearPeriod Period/Year
FinancialServicesProductGroup Product Group (FS)
FinancialServicesBranch Branch (FS)
FinancialDataSource Data Source
FinancialManagementArea FM Area
Fund Fund
GrantID Grant
CnsldtnCashLedgerChartOfAccts
CashLedgerAccount Ex/Rv A/c in CL
PartnerFund Partner Fund
GHGScope
GHGCategory
GHGScope2CalculationMethod
GHGScope2ContractualInstrument
SustainabilityModeOfTransport
GHGDataQualityCharacteristic
GHGEnergyClassification
GHGEnergyMix
GHGEnergySourcingType
_Ledger _Ledger
_Version _Version
_CnsldtnGroup _CnsldtnGroup
_ChartOfAccounts _ChartOfAccounts
_DocumentType _DocumentType
_CompanyCode _CompanyCode
_SubItem _SubItem
_SubItemCategory _SubItemCategory
_PostingLevel _PostingLevel
_Apportionment _Apportionment
_TransactionCurrency _TransactionCurrency
_LocalCurrency _LocalCurrency
_GroupCurrency _GroupCurrency
_BaseUnit _BaseUnit
_FinStmntItm _FinStmntItm
_Header _Header

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 I_CnsldtnJrnlEntryItemTP.
-- 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.

CREATE VIEW I_CnsldtnJrnlEntryItemTP AS
SELECT
  ryear AS FiscalYear,
  docnr AS ConsolidationDocumentNumber,
  rldnr AS ConsolidationLedger,
  docln AS ConsolidationPostingItem,
  ryear AS FiscalYearForEdit,
  rldnr AS ConsolidationLedgerForEdit,
  rdimen AS ConsolidationDimension,
  rrcty AS GLRecordType,
  rvers AS ConsolidationVersion,
  rtcur AS TransactionCurrency,
  rhcur AS LocalCurrency,
  rkcur AS GroupCurrency,
  runit AS BaseUnit,
  poper AS FiscalPeriod,
  rcomp AS Company,
  cast ( rbunit as fincs_consolidationunit preserving type ) AS ConsolidationUnit,
  ritclg AS ConsolidationChartOfAccounts,
  ritem AS FinancialStatementItem,
  cast ( rbuptr as fincs_partnerconsolidationunit preserving type ) AS PartnerConsolidationUnit,
  rcongr AS ConsolidationGroup,
  robukrs AS CompanyCode,
  sityp AS SubItemCategory,
  subit AS SubItem,
  plevl AS PostingLevel,
  rpflg AS ConsolidationApportionment,
  rtflg AS CurrencyConversionsDiffType,
  docty AS ConsolidationDocumentType,
  yracq AS ConsolidationAcquisitionYear,
  pracq AS ConsolidationAcquisitionPeriod,
  cast ( coicu as fincs_investeeconsunit preserving type ) AS InvesteeConsolidationUnit,
  cast ( uppcu as fincs_investorconsunit preserving type ) AS InvestorConsolidationUnit,
  tsl AS AmountInTransactionCurrency,
  hsl AS AmountInLocalCurrency,
  ksl AS AmountInGroupCurrency,
  msl AS QuantityInBaseUnit,
  sgtxt AS DocumentItemText,
  autom AS ConsolidationPostgItemAutoFlag,
  activ AS BusinessTransactionType,
  budat AS PostingDate,
  wsdat AS CurrencyTranslationDate,
  refdocnr AS RefAccountingDocument,
  refdocnr AS RefConsolidationDocumentNumber,
  refryear AS ReferenceFiscalYear,
  refdocln AS RefConsolidationPostingItem,
  refdocln AS RefAccountingDocumentItem,
  refdocct AS RefConsolidationDocumentType,
  refactiv AS RefBusinessTransactionType,
  cpudt AS CreationDate,
  cputm AS CreationTime,
  usnam AS UserID,
  rvsdocnr AS ReverseDocument,
  orndocnr AS ReversedDocument,
  coiac AS InvestmentActivityType,
  coinr AS InvestmentActivity,
  revyear AS ConsolidationDocReversalYear,
  awtyp AS ReferenceDocumentType,
  aworg AS ReferenceDocumentContext,
  logsys AS LogicalSystem,
  ktopl AS ChartOfAccounts,
  racct AS GLAccount,
  zuonr AS AssignmentReference,
  rcntr AS CostCenter,
  prctr AS ProfitCenter,
  rfarea AS FunctionalArea,
  rbusa AS BusinessArea,
  kokrs AS ControllingArea,
  Segment,
  scntr AS PartnerCostCenter,
  pprctr AS PartnerProfitCenter,
  sfarea AS PartnerFunctionalArea,
  sbusa AS PartnerBusinessArea,
  rassc AS PartnerCompany,
  psegment AS PartnerSegment,
  aufnr AS OrderID,
  kunnr AS Customer,
  lifnr AS Supplier,
  matnr AS Material,
  werks AS Plant,
  rmvct AS FinancialTransactionType,
  ps_psp_pnr AS WBSElementInternalID,
  ps_posid AS WBSElementExternalID,
  ps_pspid AS Project,
  fkart AS BillingDocumentType,
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  spart AS OrganizationDivision,
  matnr_copa AS SoldMaterial,
  matkl_mm AS MaterialGroup,
  matkl AS ProductGroup,
  kdgrp AS CustomerGroup,
  land1 AS CustomerSupplierCountry,
  brsch AS CustomerSupplierIndustry,
  bzirk AS SalesDistrict,
  kunre AS BillToParty,
  kunwe AS ShipToParty,
  konzs AS CustomerSupplierCorporateGroup,
  rbunit AS ConsolidationUnit3,
  rbuptr AS PartnerConsolidationUnit3,
  cast(fiscyearper as fis_jahrper_conv preserving type) AS FiscalYearPeriod,
  cast ( fs_product_group as fincs_finsrvcsproductgroup preserving type ) AS FinancialServicesProductGroup,
  cast ( branch_id as fincs_financialservicesbranch preserving type ) AS FinancialServicesBranch,
  cast ( datasource_id as fincs_financialdatasource preserving type ) AS FinancialDataSource,
  cast ( fikrs as fincs_financialmanagementarea preserving type ) AS FinancialManagementArea,
  cast ( rfund as fincs_fund preserving type ) AS Fund,
  cast ( rgrant_nbr as fincs_grant preserving type ) AS GrantID,
  cast ( re_ktopl as fincs_cashledgerchartofaccts preserving type ) AS CnsldtnCashLedgerChartOfAccts,
  cast ( re_account as fincs_cashledgeraccount preserving type ) AS CashLedgerAccount,
  cast ( sfund as fincs_partnerfund preserving type ) AS PartnerFund,
  cast ( ghgscope as fincs_ghgscope preserving type ) AS GHGScope,
  cast ( ghgcategory as fincs_ghgcategory preserving type ) AS GHGCategory,
  cast ( ghgscp2calcmeth as fincs_ghgscp2calculationmethod preserving type ) AS GHGScope2CalculationMethod,
  cast ( ghgscp2contrinstr as fincs_ghgscp2cntrctlinstrument preserving type ) AS GHGScope2ContractualInstrument,
  cast ( susmodeoftransport as fincs_sustmodeoftransport preserving type ) AS SustainabilityModeOfTransport,
  cast ( ghgdtaqltycharc as fincs_ghgdtaqltycharc preserving type ) AS GHGDataQualityCharacteristic,
  cast ( ghgenergyclass as fincs_ghgenergyclassification preserving type ) AS GHGEnergyClassification,
  cast ( ghgenergymix as fincs_ghgenergymix preserving type ) AS GHGEnergyMix,
  cast ( ghgengysrcgtype as fincs_ghgenergysourcingtype preserving type ) AS GHGEnergySourcingType
FROM acdocu AS u
INNER JOIN I_CnsldtnGlobalParameter AS _GlobalParameter ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_CnsldtnGroupJrnlEntryItem AS _Extension ON ConsolidationLedger = _Extension.ConsolidationLedger AND ConsolidationDimension = _Extension.ConsolidationDimension AND FiscalYear = _Extension.FiscalYear AND ConsolidationDocumentNumber = _Extension.CnsldtnGroupJrnlEntry AND ConsolidationPostingItem = _Extension.CnsldtnGroupJrnlEntryItem  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnJrnlEntryTP AS _Header ON _Header.FiscalYear = FiscalYear AND _Header.ConsolidationDocumentNumber = ConsolidationDocumentNumber AND _Header.ConsolidationLedger = ConsolidationLedger  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnLedger AS _Ledger ON ConsolidationLedger = _Ledger.ConsolidationLedger  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _Version ON ConsolidationVersion = _Version.ConsolidationVersion  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGroup AS _CnsldtnGroup ON ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup AND ConsolidationDimension = _CnsldtnGroup.ConsolidationDimension  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnChartOfAccounts AS _ChartOfAccounts ON ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnFinStmntItem AS _FinStmntItm ON ConsolidationChartOfAccounts = _FinStmntItm.ConsolidationChartOfAccounts AND FinancialStatementItem = _FinStmntItm.FinancialStatementItem  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSubItemCategory AS _SubItemCategory ON SubItemCategory = _SubItemCategory.SubItemCategory  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSubItem AS _SubItem ON SubItemCategory = _SubItem.SubItemCategory AND SubItem = _SubItem.SubItem  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocumentType_2 AS _DocumentType ON ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnPostingLevel AS _PostingLevel ON PostingLevel = _PostingLevel.PostingLevel  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnApportionment AS _Apportionment ON ConsolidationApportionment = _Apportionment.ConsolidationApportionment  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _LocalCurrency ON LocalCurrency = _LocalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GroupCurrency ON GroupCurrency = _GroupCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
;