I_FinSGLJrnlEntrItm

DDL: I_FINSGLJRNLENTRITM Type: view_entity BASIC Package: GADB_KFC_MDA

Journal Entry Line Item

I_FinSGLJrnlEntrItm is a Basic CDS View that provides data about "Journal Entry Line Item" in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 64 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package GADB_KFC_MDA.

Data Sources (1)

SourceAliasJoin Type
acdoca acdoca from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
EndUserText.label Journal Entry Line Item view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger (Compat.)
KEY CompanyCode Company Code
KEY FiscalYear Settlement Year
KEY AccountingDocument belnr SD Document
KEY LedgerGLLineItem docln Matching Document Line Item
LedgerFiscalYear Ref. Year1
JrnlEntrAltvFYConsecutiveID docnr_ld Ledger spec. DocNo
GLRecordType rrcty Record Type
GLAccount GL Account From
BusinessArea Business Area
PartnerBusinessArea Trdg Part.BA
DocumentDate bldat Journal Entry Date
AccountingDocumentCategory bstat Document Status
CostCenter Cost Center
ProfitCenter Profit Centers
FunctionalArea R FuncArea
Segment Segment number
PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter Partner PC
PartnerFunctionalArea Sender FnArea
PartnerCompany Trading Partner
PartnerSegment Partner Segment
DebitCreditCode drcrk Debit/Credit
FiscalPeriod poper Posting periods
FiscalYearVariant FYear Variant
FiscalYearPeriod Period/Year
PostingDate budat Posting Date
AccountingDocumentType Rep. rec. doc. type
AccountingDocumentItem buzei Posting View Item
AssignmentReference zuonr Finance Project
JournalEntryItemCategory Type of line
PostingKey Posting Key
CreationDateTime timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
GLAccountType glaccount_type G/L Account Type
DocumentItemText sgtxt Text
ChartOfAccounts G/L Chart of Accounts
CountryChartOfAccounts Alternative COA
ConsolidationUnit Consolidation Unit
PartnerConsolidationUnit Partner Unit
Company Trading Partner
ConsolidationChartOfAccounts Consolidation COA
CnsldtnFinancialStatementItem Reporting Item
CnsldtnSubitemCategory Trip Schedule Type
CnsldtnSubitem Subitem
ControllingArea Org. Value
PartnerCompanyCode Partner CoCode
FinancialServicesProductGroup fs_product_group Product Group (FS)
FinancialServicesBranch branch_id Branch (FS)
FinancialDataSource datasource_id Data Source
CustomerGroup Customer group
CustomerSupplierCountry Trip Ctry/Reg
CustomerSupplierIndustry Industry
BalanceTransactionCurrency Currency
AmountInBalanceTransacCrcy tsl Trans. Currency
CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency hsl Local Crcy Amt
GlobalCurrency Ledger curr.
AmountInGlobalCurrency ksl GrpCurr
FunctionalCurrency Functional Currency
AmountInFunctionalCurrency fcsl Amount in FunctCrcy
FreeDefinedCurrency1 Free Defined Crcy 1
AmountInFreeDefinedCurrency1 osl Other Crcy Amnt
FreeDefinedCurrency2 Free Defined Crcy 4
AmountInFreeDefinedCurrency2 vsl Amount in Currency 2

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_FinSGLJrnlEntrItm.
-- 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_FinSGLJrnlEntrItm AS
SELECT
  cast(rldnr as fins_ledger_pers preserving type) AS Ledger,
  cast(rbukrs as fis_bukrs preserving type) AS CompanyCode,
  cast(gjahr as fis_gjahr_no_conv preserving type) AS FiscalYear,
  belnr AS AccountingDocument,
  docln AS LedgerGLLineItem,
  cast(ryear as fis_ryear_no_conv preserving type) AS LedgerFiscalYear,
  docnr_ld AS JrnlEntrAltvFYConsecutiveID,
  rrcty AS GLRecordType,
  cast(racct as fis_racct preserving type) AS GLAccount,
  cast(rbusa as gsber preserving type) AS BusinessArea,
  cast(sbusa as pargb preserving type) AS PartnerBusinessArea,
  bldat AS DocumentDate,
  bstat AS AccountingDocumentCategory,
  cast(rcntr as fis_kostl preserving type) AS CostCenter,
  cast(prctr as fis_prctr preserving type) AS ProfitCenter,
  cast(rfarea as fm_farea preserving type) AS FunctionalArea,
  cast(segment as fb_segment preserving type) AS Segment,
  cast(scntr as fis_skost preserving type) AS PartnerCostCenter,
  cast(pprctr as fis_pprctr preserving type) AS PartnerProfitCenter,
  cast(sfarea as fis_sfkber preserving type) AS PartnerFunctionalArea,
  cast(rassc as fis_rassc preserving type) AS PartnerCompany,
  cast(psegment as fb_psegment preserving type) AS PartnerSegment,
  drcrk AS DebitCreditCode,
  poper AS FiscalPeriod,
  cast(periv as fis_periv preserving type) AS FiscalYearVariant,
  cast(fiscyearper as fis_jahrper_conv preserving type) AS FiscalYearPeriod,
  budat AS PostingDate,
  cast(blart as fis_blart preserving type) AS AccountingDocumentType,
  buzei AS AccountingDocumentItem,
  zuonr AS AssignmentReference,
  cast(linetype as fis_linetype preserving type) AS JournalEntryItemCategory,
  cast(bschl as bschl preserving type) AS PostingKey,
  timestamp AS CreationDateTime,
  glaccount_type AS GLAccountType,
  sgtxt AS DocumentItemText,
  cast(ktopl as fis_ktopl preserving type) AS ChartOfAccounts,
  cast(ktop2 as fis_ktop2 preserving type) AS CountryChartOfAccounts,
  cast(rbunit as fis_md_bunit preserving type) AS ConsolidationUnit,
  cast(rbuptr as fis_md_buptr preserving type) AS PartnerConsolidationUnit,
  cast(rcomp as fis_rcomp preserving type) AS Company,
  cast(ritclg as fis_itclg preserving type) AS ConsolidationChartOfAccounts,
  cast(ritem as fis_fsi_item preserving type) AS CnsldtnFinancialStatementItem,
  cast(sityp as fis_fc_sityp preserving type) AS CnsldtnSubitemCategory,
  cast(subit as fis_fc_sitem preserving type) AS CnsldtnSubitem,
  cast(kokrs as fis_kokrs ) AS ControllingArea,
  cast(pbukrs as fis_pbukrs preserving type) AS PartnerCompanyCode,
  fs_product_group AS FinancialServicesProductGroup,
  branch_id AS FinancialServicesBranch,
  datasource_id AS FinancialDataSource,
  cast( kdgrp as fis_kdgrp ) AS CustomerGroup,
  cast( land1 as fis_land1_gp preserving type ) AS CustomerSupplierCountry,
  cast( brsch as fis_brsch preserving type ) AS CustomerSupplierIndustry,
  cast(rtcur as fins_currt preserving type) AS BalanceTransactionCurrency,
  tsl AS AmountInBalanceTransacCrcy,
  cast( rhcur as fis_hwaer preserving type ) AS CompanyCodeCurrency,
  hsl AS AmountInCompanyCodeCurrency,
  cast(rkcur as fis_rkcur preserving type) AS GlobalCurrency,
  ksl AS AmountInGlobalCurrency,
  cast( rfccur as fins_currfc ) AS FunctionalCurrency,
  fcsl AS AmountInFunctionalCurrency,
  cast(rocur as fis_rocur preserving type) AS FreeDefinedCurrency1,
  osl AS AmountInFreeDefinedCurrency1,
  cast(rvcur as fis_rvcur preserving type) AS FreeDefinedCurrency2,
  vsl AS AmountInFreeDefinedCurrency2
FROM acdoca
;