P_RunSettlmtJournalEntryItem

DDL: P_RUNSETTLMTJOURNALENTRYITEM SQL: PRUNSETTLJEI Type: view BASIC

P_RunSettlmtJournalEntryItem is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_JournalEntryItem, fco_refdoc_dr) and exposes 72 fields with key fields ControllingObject, SettlementDraftUUID, SourceLedger, CompanyCode, FiscalYear.

Data Sources (2)

SourceAliasJoin Type
I_JournalEntryItem _JournalEntryItem inner
fco_refdoc_dr _RunSettlmtRefDoc from

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PRUNSETTLJEI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
VDM.private true view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject fco_refdoc_dr controllingobject Object number
KEY SettlementDraftUUID fco_refdoc_dr settlementdraftuuid GUID 16
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY Ledger Ledger Ledger
IsLeadingLedger
LedgerFiscalYear LedgerFiscalYear
FiscalPeriod FiscalPeriod Tax period
CompanyCodeName _CompanyCode CompanyCodeName Company Name
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
Segment Segment Segment number
FunctionalArea Sendr Fctl Area
Fund Sender Fund
BudgetPeriod Budget Period
GrantID Sender Grant
PartnerFunctionalArea Rec. Fntcl Area
PartnerFund Receiver Fund
PartnerBudgetPeriod Partner Budget Period
PartnerGrant Receiver Grant
BusinessTransactionType BusinessTransactionType Bus.transaction
DebitCreditCode DebitCreditCode Single-Character Flag
FinancialTransactionType FinancialTransactionType Transact. Type
GLAccount GLAccount General Ledger
GLRecordType GLRecordType Record Type
WBSElement WBSElement WBS Internal ID
BalanceTransactionCurrency BalanceTransactionCurrency Currency
TransactionCurrency TransactionCurrency Transaction Currency
CompanyCodeCurrency CompanyCodeCurrency Local Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
ControllingObjectCurrency ControllingObjectCurrency CO Object Currency
FunctionalCurrency FunctionalCurrency Functional Currency
BaseUnit BaseUnit Unit of Measure
AmountInBalanceTransacCrcy AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8 Amount in Freely Defined Currency 8
AmountInFunctionalCurrency AmountInFunctionalCurrency Amount in Functional Currency
Quantity Quantity Value
FixedQuantity FixedQuantity Fixed Quantity
ValuationQuantity ValuationQuantity
ValuationFixedQuantity ValuationFixedQuantity
AssetDepreciationArea I_JournalEntryItem AssetDepreciationArea Deprec. Area
MasterFixedAsset I_JournalEntryItem MasterFixedAsset Fixed Asset
FixedAsset I_JournalEntryItem FixedAsset Sub-number
AssetValueDate I_JournalEntryItem AssetValueDate Reference date
AssetTransactionType
AssetAcctTransClassfctn I_JournalEntryItem AssetAcctTransClassfctn Trans.Type Cat.
AssetClass I_JournalEntryItem AssetClass Asset Class
SubLedgerAcctLineItemType I_JournalEntryItem SubLedgerAcctLineItemType SLALineItemType
FinancialAccountType I_JournalEntryItem FinancialAccountType Fin. Account Type
PartnerMasterFixedAsset I_JournalEntryItem PartnerMasterFixedAsset Partner Asset
PartnerFixedAsset I_JournalEntryItem PartnerFixedAsset Partner Sub-No.

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_RunSettlmtJournalEntryItem.
-- 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: PRUNSETTLJEI

CREATE VIEW P_RunSettlmtJournalEntryItem AS
SELECT
  _RunSettlmtRefDoc.controllingobject AS ControllingObject,
  _RunSettlmtRefDoc.settlementdraftuuid AS SettlementDraftUUID,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  Ledger,
  _JournalEntryItem._Ledger.IsLeadingLedger AS IsLeadingLedger,
  LedgerFiscalYear,
  FiscalPeriod,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  CostCenter,
  ProfitCenter,
  Segment,
  cast(FunctionalArea as fm_efarea) AS FunctionalArea,
  cast(Fund as fm_efonds) AS Fund,
  cast(BudgetPeriod as fm_ebudget_period) AS BudgetPeriod,
  cast(GrantID as gm_grant_receiver) AS GrantID,
  cast(PartnerFunctionalArea as fm_sfarea) AS PartnerFunctionalArea,
  cast(PartnerFund as fm_sfonds) AS PartnerFund,
  cast(PartnerBudgetPeriod as fm_sbudget_period) AS PartnerBudgetPeriod,
  cast(PartnerGrant as gm_grant_sender) AS PartnerGrant,
  BusinessTransactionType,
  DebitCreditCode,
  FinancialTransactionType,
  GLAccount,
  GLRecordType,
  WBSElement,
  BalanceTransactionCurrency,
  TransactionCurrency,
  CompanyCodeCurrency,
  GlobalCurrency,
  FreeDefinedCurrency1,
  FreeDefinedCurrency2,
  FreeDefinedCurrency3,
  FreeDefinedCurrency4,
  FreeDefinedCurrency5,
  FreeDefinedCurrency6,
  FreeDefinedCurrency7,
  FreeDefinedCurrency8,
  ControllingObjectCurrency,
  FunctionalCurrency,
  BaseUnit,
  AmountInBalanceTransacCrcy,
  AmountInTransactionCurrency,
  AmountInCompanyCodeCurrency,
  AmountInGlobalCurrency,
  AmountInFreeDefinedCurrency1,
  AmountInFreeDefinedCurrency2,
  AmountInFreeDefinedCurrency3,
  AmountInFreeDefinedCurrency4,
  AmountInFreeDefinedCurrency5,
  AmountInFreeDefinedCurrency6,
  AmountInFreeDefinedCurrency7,
  AmountInFreeDefinedCurrency8,
  AmountInFunctionalCurrency,
  Quantity,
  FixedQuantity,
  ValuationQuantity,
  ValuationFixedQuantity,
  _JournalEntryItem.AssetDepreciationArea AS AssetDepreciationArea,
  _JournalEntryItem.MasterFixedAsset AS MasterFixedAsset,
  _JournalEntryItem.FixedAsset AS FixedAsset,
  _JournalEntryItem.AssetValueDate AS AssetValueDate,
  cast(_JournalEntryItem.AssetTransactionType as fco_asset_transaction_type) AS AssetTransactionType,
  _JournalEntryItem.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
  _JournalEntryItem.AssetClass AS AssetClass,
  _JournalEntryItem.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  _JournalEntryItem.FinancialAccountType AS FinancialAccountType,
  _JournalEntryItem.PartnerMasterFixedAsset AS PartnerMasterFixedAsset,
  _JournalEntryItem.PartnerFixedAsset AS PartnerFixedAsset
FROM fco_refdoc_dr AS _RunSettlmtRefDoc
INNER JOIN I_JournalEntryItem AS _JournalEntryItem ON /* join condition not captured in parsed metadata */
;