I_JournalEntryItemBasic

DDL: I_JOURNALENTRYITEMBASIC SQL: IFIJRNLBASIC Type: view COMPOSITE

Journal Entry Item Basic

I_JournalEntryItemBasic is a Composite CDS View (Cube) that provides data about "Journal Entry Item Basic" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItemCube) and exposes 168 fields. It has 19 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryCube
Purpose
This CDS view is designed to provide a comprehensive and detailed representation of journal entry items in a financial system. It aggregates and associates various financial and controlling data elements, such as ledger, company code, cost center, profit center, and more, to facilitate analytical and reporting capabilities. The view is structured to support analytical processing and is intended to be used as a data source for reporting and analysis in financial contexts.. This CDS view provides the data to answer the following business questions: What are the details of journal entries for a specific fiscal year and period? How can I analyze financial transactions by ledger, company code, or controlling area? What are the amounts in different currencies (transaction, company code, global) for journal entries? How can I view journal entries by cost center, profit center, or business area? What are the associated projects, WBS elements, and internal orders for specific journal entries? How can I analyze journal entries by customer, sales organization, or distribution channel? What are the partner-related financial details, such as partner company code or partner cost center, for journal entries? How can I access text descriptions for various financial dimensions like GL accounts, cost centers, and profit centers? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object Authorization Object Description F_BKPF_BUK Accounting Document: Authorization for Company Codes F_BKPF_FKB Accounting Document: Authorization for Functional Area F_BKPF_GSB Accounting Document: Authorization for Business Areas F_BKPF_LDR General Ledger: Authorization for Ledger F_BKPF_SEG General Ledger: Authorization for Segment

Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute AMOUNTINGLOBALCURRENCY Amount in Global Currency Measure AMOUNTINCOMPANYCODECURRENCY Amount in Company Code Currency Measure AMOUNTINTRANSACTIONCURRENCY Amount in Transaction Currency Measure PARTNERPROJECTINTERNALID Partner Project Internal ID Attribute PARTNERWBSELEMENTINTERNALID Partner WBS Element Internal ID Attribute LEDGERFISCALYEAR Fiscal Year of Ledger Attribute PROJECTINTERNALID Project Internal ID Attribute GLOBALCURRENCY Global Currency Attribute FISCALYEARPERIOD Fiscal Year Period Attribute WBSELEMENTINTERNALID WBS Element Internal ID Attribute FISCALPERIOD Fiscal Period Attribute COMPANYCODECURRENCY Company Code Currency Attribute TRANSACTIONCURRENCY Transaction Currency Attribute SOLDPRODUCTGROUP Product Sold Group Attribute CUSTOMERSUPPLIERCOUNTRY Customer or Supplier Country/Region Attribute COSTCTRACTIVITYTYPE Activity Type Attribute ORGANIZATIONDIVISION Division Attribute MATERIALGROUP Product Sold Group (Deprecated) Attribute CHARTOFACCOUNTS Chart of Accounts Attribute DISTRIBUTIONCHANNEL Distribution Channel Attribute SALESORGANIZATION Sales Organization Attribute PLANT Plant Attribute COMPANYCODE Company Code Attribute PARTNERCOMPANYCODENAME Partner Company Code Name Attribute PARTNERSEGMENTNAME Partner Segment Name Attribute COMPANYCODEPARTNERCOMPANY Company Attribute PARTNERORDER_2 Partner Order Attribute SOLDMATERIAL Sold Material Attribute PARTNERPROJECT Partner Project Attribute PARTNERWBSELEMENT Partner WBS Element Attribute COSTSOURCEUNIT Cost Source Unit Attribute PARTNERORDER Partner Order (Deprecated) Attribute PARTNERSEGMENT Partner Segment Attribute CON

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItemCube I_JournalEntryItemCube from

Associations (19)

CardinalityTargetAliasCondition
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_BusinessAreaText _PartnerBusinessAreaText $projection.PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea
[0..*] I_ChartOfAccountsText _ChartOfAccountsText $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
[0..1] I_CompanyCode _PartnerCompanyCodeText $projection.PartnerCompanyCode = _PartnerCompanyCodeText.CompanyCode
[0..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea
[0..1] I_Customer _CustomerText $projection.Customer = _CustomerText.Customer
[0..*] I_GLAccountText _GLAcctInChartOfAccountsText $projection.ChartOfAccounts = _GLAcctInChartOfAccountsText.ChartOfAccounts and $projection.GLAccount = _GLAcctInChartOfAccountsText.GLAccount
[0..1] I_InternalOrder _PartnerOrderText $projection.PartnerOrder = _PartnerOrderText.InternalOrder
[0..*] I_LedgerText _LedgerText $projection.Ledger = _LedgerText.Ledger
[0..*] I_MaterialText _SoldMaterialText $projection.SoldMaterial = _SoldMaterialText.Material
[0..1] I_Project _PartnerProjectText $projection.PartnerProject = _PartnerProjectText.Project
[0..1] I_Project _ProjectText $projection.Project = _ProjectText.Project
[0..*] I_SegmentText _PartnerSegmentText $projection.PartnerSegment = _PartnerSegmentText.Segment
[0..*] I_SegmentText _SegmentText $projection.Segment = _SegmentText.Segment
[0..1] I_WBSElement _PartnerWBSElementText $projection.PartnerWBSElement = _PartnerWBSElementText.WBSElement
[0..1] I_WBSElement _WBSElementText $projection.WBSElement = _WBSElementText.WBSElement
[0..*] I_CostCenterText _CostCenterText $projection.ControllingArea = _CostCenterText.ControllingArea and $projection.CostCenter = _CostCenterText.CostCenter and _CostCenterText.ValidityStartDate <= $session.system_date and _CostCenterText.ValidityEndDate >= $session.system_date
[0..*] I_ProfitCenterText _ProfitCenterText $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and _ProfitCenterText.ValidityStartDate <= $session.system_date and _ProfitCenterText.ValidityEndDate >= $session.system_date
[0..*] I_CostCenterActivityTypeText _CostCenterActivityTypeText $projection.ControllingArea = _CostCenterActivityTypeText.ControllingArea and $projection.CostCtrActivityType = _CostCenterActivityTypeText.CostCtrActivityType and _CostCenterActivityTypeText.ValidityEndDate >= $session.system_date

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IFIJRNLBASIC view
Analytics.dataCategory #CUBE view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Journal Entry Item Basic view
OData.publish true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (168)

KeyFieldSource TableSource FieldDescription
LedgerFiscalYear LedgerFiscalYear
Ledger Ledger Ledger
LedgerName LedgerName Ledger Name
GLAccount GLAccount General Ledger
GLAccountName GLAccountName Short Text
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName CompanyCodeName Company Name
CostCenter CostCenter Cost Center
CostCenterName CostCenterName Name
ProfitCenter ProfitCenter Profit Center
ProfitCenterName ProfitCenterName Profit Center Name
FunctionalArea FunctionalArea Sendr Fctl Area
FunctionalAreaName FunctionalAreaName Long Text
BusinessArea BusinessArea Business Area
BusinessAreaName BusinessAreaName Business Area Name
ControllingArea ControllingArea Controlling Area
ControllingAreaName ControllingAreaName Long Text
Segment Segment Segment number
SegmentName SegmentName Segment Name
PartnerCostCenter PartnerCostCenter Sender Cost Ctr
PartnerCostCenterName PartnerCostCenterName
PartnerProfitCenter PartnerProfitCenter Profit Center
PartnerProfitCenterName PartnerProfitCenterName
PartnerFunctionalArea PartnerFunctionalArea Rec. Fntcl Area
PartnerFunctionalAreaName PartnerFunctionalAreaName
PartnerBusinessArea PartnerBusinessArea Trdg Part.BA
PartnerBusinessAreaName PartnerBusinessAreaName
PartnerCompany PartnerCompany Trading Partner
PartnerCompanyName PartnerCompanyName
PartnerSegment PartnerSegment Partner Segment
PartnerSegmentName PartnerSegmentName
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
CostSourceUnit CostSourceUnit
FiscalPeriod FiscalPeriod Tax period
FiscalYearVariant FiscalYearVariant FY Variant
FiscalYearPeriod FiscalYearPeriod Period/Year
ChartOfAccounts ChartOfAccounts Node Class
Plant Plant Valuation Area
PlantName PlantName Plant Name
Customer Customer Sold-to Party
CustomerName CustomerName Name of Customer
ControllingDebitCreditCode ControllingDebitCreditCode Dr/Cr ind. CO
Project Project WBS Element
ProjectExternalID ProjectExternalID Project def.
ProjectInternalID ProjectInternalID Project Def.
WBSElement WBSElement WBS Internal ID
WBSElementExternalID WBSElementExternalID WBS Element External ID
WBSElementInternalID WBSElementInternalID WBS Internal ID
PartnerCompanyCode PartnerCompanyCode Partner Company Code
PartnerCompanyCodeName PartnerCompanyCodeName
CostCtrActivityType CostCtrActivityType Activity Type
CostCtrActivityTypeName CostCtrActivityTypeName
OrderID OrderID Order ID
PartnerOrder PartnerOrder Partner Order
PartnerOrder_2 PartnerOrder_2
PartnerCostCtrActivityType PartnerCostCtrActivityType Partner Cost Center Activity Type
PartnerCostCtrActivityTypeName PartnerCostCtrActivityTypeName
PartnerProject PartnerProject
PartnerProjectExternalID PartnerProjectExternalID Partner Project External ID
PartnerProjectInternalID PartnerProjectInternalID
PartnerProjectDescription
PartnerWBSElement PartnerWBSElement WBS Element
PartnerWBSElementExternalID PartnerWBSElementExternalID Partner WBSElmnt ext
PartnerWBSElementInternalID PartnerWBSElementInternalID Partner WBS Element Internal ID
PartnerWBSElementDescription
SalesOrganization SalesOrganization Sales Organization
SalesOrganizationName SalesOrganizationName Sales Organization Description
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
DistributionChannelName DistributionChannelName
OrganizationDivision OrganizationDivision Org. Division
DivisionName DivisionName Division Description
SoldMaterial SoldMaterial Product Sold
SoldProduct SoldProduct Product Sold
SoldMaterialName SoldMaterialName
MaterialGroup MaterialGroup Product Group
SoldProductGroup SoldProductGroup Product Sold Group
MaterialGroupName MaterialGroupName prod Grp Desc.
CustomerGroup CustomerGroup Customer Group
CustomerGroupName CustomerGroupName
CustomerSupplierCountry CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierCountryName CustomerSupplierCountryName
CustomerSupplierIndustry CustomerSupplierIndustry Industry
CustomerSupplierIndustryName CustomerSupplierIndustryName
SalesDistrict SalesDistrict Sales District
SalesDistrictName SalesDistrictName
_CompanyCode _CompanyCode
_FiscalPeriod _FiscalPeriod
_FiscalYearPeriod _FiscalYearPeriod
_LedgerFiscalYear _LedgerFiscalYear
_FiscalYearVariant _FiscalYearVariant
_FiscalPeriodForVariant _FiscalPeriodForVariant
_FiscalYearPeriodForVariant _FiscalYearPeriodForVariant
_LedgerFiscalYearForVariant _LedgerFiscalYearForVariant
_ControllingArea _ControllingArea
_TransactionCurrency _TransactionCurrency
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_CostSourceUnit _CostSourceUnit
_Segment _Segment
_ProfitCenter _ProfitCenter
_ProfitCenterText _ProfitCenterText
_CostCenter _CostCenter
_CostCenterText _CostCenterText
_WBSElement _WBSElement
_WBSElementExternalID _WBSElementExternalID
_Project _Project
_ProjectExternalID _ProjectExternalID
_BusinessArea _BusinessArea
_FunctionalArea _FunctionalArea
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_ChartOfAccounts _ChartOfAccounts
_Plant _Plant
_Ledger _Ledger
_Division _Division
_Customer _Customer
_CustomerGroup _CustomerGroup
_CustomerSupplierCountry _CustomerSupplierCountry
_MaterialGroup _MaterialGroup
_SoldProductGroup_2 _SoldProductGroup_2
_InternalOrder _InternalOrder
_Order _Order
_PartnerCostCenter _PartnerCostCenter
_PartnerProfitCenter _PartnerProfitCenter
_PartnerBusinessArea _PartnerBusinessArea
_PartnerFunctionalArea _PartnerFunctionalArea
_PartnerCompanyCode _PartnerCompanyCode
_PartnerSegment _PartnerSegment
_PartnerCompany _PartnerCompany
_CostCtrActivityType _CostCtrActivityType
_CostCenterActivityTypeText _CostCenterActivityTypeText
_PartnerCostCtrActivityType _PartnerCostCtrActivityType
_PartnerOrder _PartnerOrder
_PartnerOrder_2 _PartnerOrder_2
_PartnerWBSElement _PartnerWBSElement
_PartnerWBSElementExternalID _PartnerWBSElementExternalID
_PartnerProject _PartnerProject
_PartnerProjectExternalID _PartnerProjectExternalID
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_SalesDistrict _SalesDistrict
_SoldMaterial _SoldMaterial
_SoldProduct _SoldProduct
_BusinessAreaText _BusinessAreaText
_PartnerBusinessAreaText _PartnerBusinessAreaText
_ChartOfAccountsText _ChartOfAccountsText
_PartnerCompanyCodeText _PartnerCompanyCodeText
_ControllingAreaText _ControllingAreaText
_CustomerText _CustomerText
_GLAcctInChartOfAccountsText _GLAcctInChartOfAccountsText
_PartnerOrderText _PartnerOrderText
_PartnerOrderText_2 _PartnerOrderText_2
_LedgerText _LedgerText
_SoldMaterialText _SoldMaterialText
_PartnerProjectText _PartnerProjectText
_ProjectText _ProjectText
_PartnerSegmentText _PartnerSegmentText
_SegmentText _SegmentText
_PartnerWBSElementText _PartnerWBSElementText
_WBSElementText _WBSElementText
CompanyCodePartnerCompany _CompanyCode Company Owner
CompanyCodeCountry _CompanyCode Country Venue: Ctry/Reg
ProjectDescription _ProjectBasicData ProjectDescription Project Name
WBSDescription _WBSElementBasicData WBSDescription WBS Element Name

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_JournalEntryItemBasic.
-- 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: IFIJRNLBASIC

CREATE VIEW I_JournalEntryItemBasic AS
SELECT
  LedgerFiscalYear,
  Ledger,
  LedgerName,
  GLAccount,
  GLAccountName,
  CompanyCode,
  CompanyCodeName,
  CostCenter,
  CostCenterName,
  ProfitCenter,
  ProfitCenterName,
  FunctionalArea,
  FunctionalAreaName,
  BusinessArea,
  BusinessAreaName,
  ControllingArea,
  ControllingAreaName,
  Segment,
  SegmentName,
  PartnerCostCenter,
  PartnerCostCenterName,
  PartnerProfitCenter,
  PartnerProfitCenterName,
  PartnerFunctionalArea,
  PartnerFunctionalAreaName,
  PartnerBusinessArea,
  PartnerBusinessAreaName,
  PartnerCompany,
  PartnerCompanyName,
  PartnerSegment,
  PartnerSegmentName,
  TransactionCurrency,
  AmountInTransactionCurrency,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  GlobalCurrency,
  AmountInGlobalCurrency,
  CostSourceUnit,
  FiscalPeriod,
  FiscalYearVariant,
  FiscalYearPeriod,
  ChartOfAccounts,
  Plant,
  PlantName,
  Customer,
  CustomerName,
  ControllingDebitCreditCode,
  Project,
  ProjectExternalID,
  ProjectInternalID,
  WBSElement,
  WBSElementExternalID,
  WBSElementInternalID,
  PartnerCompanyCode,
  PartnerCompanyCodeName,
  CostCtrActivityType,
  CostCtrActivityTypeName,
  OrderID,
  PartnerOrder,
  PartnerOrder_2,
  PartnerCostCtrActivityType,
  PartnerCostCtrActivityTypeName,
  PartnerProject,
  PartnerProjectExternalID,
  PartnerProjectInternalID,
  cast( _PartnerProjectBasicData.ProjectDescription as fis_partner_project_descript ) AS PartnerProjectDescription,
  PartnerWBSElement,
  PartnerWBSElementExternalID,
  PartnerWBSElementInternalID,
  cast( _PartnerWBSElementBasicData.WBSDescription as fis_partner_wbs_descript ) AS PartnerWBSElementDescription,
  SalesOrganization,
  SalesOrganizationName,
  DistributionChannel,
  DistributionChannelName,
  OrganizationDivision,
  DivisionName,
  SoldMaterial,
  SoldProduct,
  SoldMaterialName,
  MaterialGroup,
  SoldProductGroup,
  MaterialGroupName,
  CustomerGroup,
  CustomerGroupName,
  CustomerSupplierCountry,
  CustomerSupplierCountryName,
  CustomerSupplierIndustry,
  CustomerSupplierIndustryName,
  SalesDistrict,
  SalesDistrictName,
  _CompanyCode.Company AS CompanyCodePartnerCompany,
  _CompanyCode.Country AS CompanyCodeCountry,
  _ProjectBasicData.ProjectDescription AS ProjectDescription,
  _WBSElementBasicData.WBSDescription AS WBSDescription
FROM I_JournalEntryItemCube
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _PartnerBusinessAreaText ON PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _PartnerCompanyCodeText ON PartnerCompanyCode = _PartnerCompanyCodeText.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _CustomerText ON Customer = _CustomerText.Customer  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _GLAcctInChartOfAccountsText ON ChartOfAccounts = _GLAcctInChartOfAccountsText.ChartOfAccounts AND GLAccount = _GLAcctInChartOfAccountsText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_InternalOrder AS _PartnerOrderText ON PartnerOrder = _PartnerOrderText.InternalOrder  -- association [0..1]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger  -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _SoldMaterialText ON SoldMaterial = _SoldMaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_Project AS _PartnerProjectText ON PartnerProject = _PartnerProjectText.Project  -- association [0..1]
LEFT OUTER JOIN I_Project AS _ProjectText ON Project = _ProjectText.Project  -- association [0..1]
LEFT OUTER JOIN I_SegmentText AS _PartnerSegmentText ON PartnerSegment = _PartnerSegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON Segment = _SegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_WBSElement AS _PartnerWBSElementText ON PartnerWBSElement = _PartnerWBSElementText.WBSElement  -- association [0..1]
LEFT OUTER JOIN I_WBSElement AS _WBSElementText ON WBSElement = _WBSElementText.WBSElement  -- association [0..1]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON ControllingArea = _CostCenterText.ControllingArea AND CostCenter = _CostCenterText.CostCenter AND _CostCenterText.ValidityStartDate <= $session.system_date AND _CostCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ControllingArea = _ProfitCenterText.ControllingArea AND ProfitCenter = _ProfitCenterText.ProfitCenter AND _ProfitCenterText.ValidityStartDate <= $session.system_date AND _ProfitCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_CostCenterActivityTypeText AS _CostCenterActivityTypeText ON ControllingArea = _CostCenterActivityTypeText.ControllingArea AND CostCtrActivityType = _CostCenterActivityTypeText.CostCtrActivityType AND _CostCenterActivityTypeText.ValidityEndDate >= $session.system_date  -- association [0..*]
;