P_FundsMgmtJournalEntryItem

DDL: P_FUNDSMGMTJOURNALENTRYITEM SQL: PFMJRNLITM Type: view COMPOSITE

P_FundsMgmtJournalEntryItem is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_FundsManagementDocumentItem, I_FundsMgmtCommitmentEntryItem, I_FundsMgmtCtrlgDocumentItem) and exposes 109 fields with key fields ReferenceDocumentContext, RefDocAccountAssignment, ReferenceDocumentScheduleLine, RefDocPricingElementContent, ReferenceDocumentLogicalSystem.

Data Sources (3)

SourceAliasJoin Type
I_FundsManagementDocumentItem I_FundsManagementDocumentItem from
I_FundsMgmtCommitmentEntryItem I_FundsMgmtCommitmentEntryItem union_all
I_FundsMgmtCtrlgDocumentItem I_FundsMgmtCtrlgDocumentItem union_all

Annotations (8)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
AbapCatalog.sqlViewName PFMJRNLITM view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (109)

KeyFieldSource TableSource FieldDescription
KEY ReferenceDocumentContext _Header ReferenceDocumentContext Reference Document Context
KEY RefDocAccountAssignment
KEY ReferenceDocumentScheduleLine
KEY RefDocPricingElementContent
KEY ReferenceDocumentLogicalSystem _Header ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
KEY ReferenceDocumentType _Header ReferenceDocumentType Reference Document Type
KEY FundsMgmtLongSequenceNumber
KEY FundsMgmtAmountType FundsMgmtAmountType
KEY Ledger Ledger Ledger
KEY FinancialManagementArea FinancialManagementArea FM Area
KEY FinMgmtAreaFiscalYear FinMgmtAreaFiscalYear Fiscal Year
KEY FundsMgmtJournalEntry
KEY FundsMgmtJournalEntryItem
FinMgmtAreaPeriod FinMgmtAreaPeriod
CashEffectivityFiscalYear CashEffectivityFiscalYear
IsStatisticalItem IsStatisticalItem Statisticl.Indicator
FundsMgCarryForwardLevel FundsMgCarryForwardLevel
FundsMgmtValueType FundsMgmtValueType
BusinessTransactionType BusinessTransactionType Bus.transaction
TransactionCurrency TransactionCurrency Transaction Currency
PostedAmountInTransCrcy
FinancialManagementAreaCrcy FinancialManagementAreaCrcy FM Area Currency
PostedAmountInFMACrcy
PostedFundsCenter PostedFundsCenter
PostedFund PostedFund
PostedCommitmentItem PostedCommitmentItem
PostedFunctionalArea PostedFunctionalArea
PostedFundedProgram PostedFundedProgram
PostedGrantID PostedGrantID
PostedFundsMgmtCustomerField PostedFundsMgmtCustomerField
PostedBudgetPeriod PostedBudgetPeriod
CompanyCode CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
GLAccount GLAccount General Ledger
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
KEY RefDocAccountAssignment RefDocAccountAssignment
KEY ReferenceDocumentScheduleLine FundsMgmtRefDocScheduleLine
KEY RefDocPricingElementContent RefDocPricingElementContent
KEY ReferenceDocumentLogicalSystem ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
KEY ReferenceDocumentType ReferenceDocumentType Reference Document Type
KEY FundsMgmtRefDocumentCategory FundsMgmtRefDocumentCategory
KEY FundsMgmtLongSequenceNumber
KEY FundsMgmtAmountType FundsMgmtAmountType
KEY Ledger Ledger Ledger
KEY FinancialManagementArea FinancialManagementArea FM Area
KEY FinMgmtAreaFiscalYear FinMgmtAreaFiscalYear Fiscal Year
KEY FundsMgmtJournalEntry
KEY FundsMgmtJournalEntryItem
FinMgmtAreaPeriod FinMgmtAreaPeriod
CashEffectivityFiscalYear CashEffectivityFiscalYear
IsStatisticalItem IsStatisticalItem Statisticl.Indicator
FundsMgCarryForwardLevel FundsMgCarryForwardLevel
FundsMgmtValueType FundsMgmtValueType
BusinessTransactionType BusinessTransactionType Bus.transaction
TransactionCurrency TransactionCurrency Transaction Currency
PostedAmountInTransCrcy
FinancialManagementAreaCrcy FinancialManagementAreaCrcy FM Area Currency
PostedAmountInFMACrcy
PostedFundsCenter PostedFundsCenter
PostedFund PostedFund
PostedCommitmentItem PostedCommitmentItem
PostedFunctionalArea PostedFunctionalArea
PostedFundedProgram PostedFundedProgram
PostedGrantID PostedGrantID
PostedFundsMgmtCustomerField PostedFundsMgmtCustomerField
PostedBudgetPeriod PostedBudgetPeriod
CompanyCode CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
GLAccount GLAccount General Ledger
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
KEY RefDocAccountAssignment
KEY ReferenceDocumentScheduleLine
KEY RefDocPricingElementContent
KEY ReferenceDocumentLogicalSystem ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
KEY ReferenceDocumentType ReferenceDocumentType Reference Document Type
KEY FundsMgmtRefDocumentCategory
KEY FundsMgmtLongSequenceNumber FundsMgmtLongSequenceNumber
KEY FundsMgmtAmountType FundsMgmtAmountType
KEY Ledger Ledger Ledger
KEY FinancialManagementArea FinancialManagementArea FM Area
KEY FinMgmtAreaFiscalYear FinMgmtAreaFiscalYear Fiscal Year
KEY FundsMgmtJournalEntry
KEY FundsMgmtJournalEntryItem
FinMgmtAreaPeriod FinMgmtAreaPeriod
CashEffectivityFiscalYear CashEffectivityFiscalYear
IsStatisticalItem IsStatisticalItem Statisticl.Indicator
FundsMgCarryForwardLevel FundsMgCarryForwardLevel
FundsMgmtValueType FundsMgmtValueType
BusinessTransactionType BusinessTransactionType Bus.transaction
TransactionCurrency TransactionCurrency Transaction Currency
PostedAmountInTransCrcy PostedAmountInTransCrcy
FinancialManagementAreaCrcy FinancialManagementAreaCrcy FM Area Currency
PostedAmountInFMACrcy PostedAmountInFMACrcy
PostedFundsCenter PostedFundsCenter
PostedFund PostedFund
PostedCommitmentItem PostedCommitmentItem
PostedFunctionalArea PostedFunctionalArea
PostedFundedProgram PostedFundedProgram
PostedGrantID PostedGrantID
PostedFundsMgmtCustomerField PostedFundsMgmtCustomerField
PostedBudgetPeriod PostedBudgetPeriod
CompanyCode CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
GLAccount GLAccount General Ledger
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
Segment Segment Segment number

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_FundsMgmtJournalEntryItem.
-- 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: PFMJRNLITM

CREATE VIEW P_FundsMgmtJournalEntryItem AS
SELECT
  _Header.ReferenceDocumentContext AS ReferenceDocumentContext,
  cast( '00000' as cc_rfknt preserving type ) AS RefDocAccountAssignment,
  cast( '0000' as cc_rfete preserving type ) AS ReferenceDocumentScheduleLine,
  cast( '00000' as rcond preserving type ) AS RefDocPricingElementContent,
  _Header.ReferenceDocumentLogicalSystem AS ReferenceDocumentLogicalSystem,
  _Header.ReferenceDocumentType AS ReferenceDocumentType,
  cast( FundsMgmtSequenceNumber as gu_recid ) AS FundsMgmtLongSequenceNumber,
  FundsMgmtAmountType,
  Ledger,
  FinancialManagementArea,
  FinMgmtAreaFiscalYear,
  cast( FundsManagementDocument as fmis_journal_entry preserving type ) AS FundsMgmtJournalEntry,
  cast( concat(' ', FundsManagementDocumentItem) as fmis_journal_entry_item ) AS FundsMgmtJournalEntryItem,
  FinMgmtAreaPeriod,
  CashEffectivityFiscalYear,
  IsStatisticalItem,
  FundsMgCarryForwardLevel,
  FundsMgmtValueType,
  BusinessTransactionType,
  TransactionCurrency,
  cast(PostedAmountInTransCrcy as vtcur9_cs) AS PostedAmountInTransCrcy,
  FinancialManagementAreaCrcy,
  cast (PostedAmountInFMACrcy as vlcur9_cs) AS PostedAmountInFMACrcy,
  PostedFundsCenter,
  PostedFund,
  PostedCommitmentItem,
  PostedFunctionalArea,
  PostedFundedProgram,
  PostedGrantID,
  PostedFundsMgmtCustomerField,
  PostedBudgetPeriod,
  CompanyCode,
  BusinessArea,
  GLAccount,
  ProfitCenter,
  ControllingArea,
  FundsMgmtRefDocumentCategory,
  Segment
FROM I_FundsManagementDocumentItem
-- UNION ALL with additional select branch(es): I_FundsMgmtCommitmentEntryItem, I_FundsMgmtCtrlgDocumentItem
;