P_CtrlgOvhdJournalEntryItem

DDL: P_CTRLGOVHDJOURNALENTRYITEM SQL: PCTRLGOVHDJEI Type: view BASIC

P_CtrlgOvhdJournalEntryItem is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (fco_ovhd_refdr, fco_ovhd_stadr, I_JournalEntryItem) and exposes 59 fields with key fields ControllingObject, ControllingOverheadDraftUUID, SourceLedger, CompanyCode, FiscalYear.

Data Sources (3)

SourceAliasJoin Type
fco_ovhd_refdr _CtrlgOvhdRefDoc from
fco_ovhd_stadr _CtrlgOvhdStat inner
I_JournalEntryItem _JournalEntryItem inner

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PCTRLGOVHDJEI 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 (59)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject fco_ovhd_refdr controllingobject Object number
KEY ControllingOverheadDraftUUID fco_ovhd_refdr controllingoverheaddraftuuid GUID 16
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode I_JournalEntryItem CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntryItem FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY Ledger I_JournalEntryItem 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
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
Quantity Quantity Value
FixedQuantity FixedQuantity Fixed Quantity
ValuationQuantity ValuationQuantity
ValuationFixedQuantity ValuationFixedQuantity

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_CtrlgOvhdJournalEntryItem.
-- 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: PCTRLGOVHDJEI

CREATE VIEW P_CtrlgOvhdJournalEntryItem AS
SELECT
  _CtrlgOvhdRefDoc.controllingobject AS ControllingObject,
  _CtrlgOvhdRefDoc.controllingoverheaddraftuuid AS ControllingOverheadDraftUUID,
  SourceLedger,
  _JournalEntryItem.CompanyCode AS CompanyCode,
  _JournalEntryItem.FiscalYear AS FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  _JournalEntryItem.Ledger AS 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,
  BaseUnit,
  AmountInBalanceTransacCrcy,
  AmountInTransactionCurrency,
  AmountInCompanyCodeCurrency,
  AmountInGlobalCurrency,
  AmountInFreeDefinedCurrency1,
  AmountInFreeDefinedCurrency2,
  AmountInFreeDefinedCurrency3,
  AmountInFreeDefinedCurrency4,
  AmountInFreeDefinedCurrency5,
  AmountInFreeDefinedCurrency6,
  AmountInFreeDefinedCurrency7,
  AmountInFreeDefinedCurrency8,
  Quantity,
  FixedQuantity,
  ValuationQuantity,
  ValuationFixedQuantity
FROM fco_ovhd_refdr AS _CtrlgOvhdRefDoc
INNER JOIN fco_ovhd_stadr AS _CtrlgOvhdStat ON /* join condition not captured in parsed metadata */
INNER JOIN I_JournalEntryItem AS _JournalEntryItem ON /* join condition not captured in parsed metadata */
;