P_CtrlgOvhdJournalEntryItem
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)
| Source | Alias | Join Type |
|---|---|---|
| fco_ovhd_refdr | _CtrlgOvhdRefDoc | from |
| fco_ovhd_stadr | _CtrlgOvhdStat | inner |
| I_JournalEntryItem | _JournalEntryItem | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA