I_PostedMCAJournalEntry

DDL: I_POSTEDMCAJOURNALENTRY SQL: IGLEMCAPOST Type: view BASIC

Posted MCA Journal Entry details

I_PostedMCAJournalEntry is a Basic CDS View (Cube) that provides data about "Posted MCA Journal Entry details" in SAP S/4HANA. It reads from 4 data sources (bkpf, bseg, P_MCAdocref, P_RUNADMID) and exposes 38 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (4)

SourceAliasJoin Type
bkpf _Header inner
bseg _Item from
P_MCAdocref _mcadocref inner
P_RUNADMID _RUNADM inner

Annotations (15)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.sqlViewName IGLEMCAPOST view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Posted MCA Journal Entry details view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bseg bukrs Value
KEY AccountingDocument bseg belnr SD Document
KEY FiscalYear bseg gjahr Settlement Year
KEY AccountingDocumentItem bseg buzei Posting View Item
MCARunID P_MCAdocref Runid UUID
Ledger P_MCAdocref Rldnr Ledger (Compat.)
MCAFileID P_RUNADMID Fileid Phys. Document
LedgerGroup bkpf ldgrp Target Ledger Group
AccountingDocumentType bkpf blart Rep. rec. doc. type
CompanyCodeCurrency bkpf hwaer Local Currency
AdditionalCurrency1 bkpf hwae2 Local curr. 2
AdditionalCurrency2 bkpf hwae3 Local curr. 3
AccountCurrency bkpf waers Transaction Currency
TransactionAmountInLocalCrcy bseg dmbtr Loc. amount
AmountInAdditionalCurrency1 bseg dmbe2 LC2 Amount
AmountInAdditionalCurrency2 bseg dmbe3 LC3 Amount
PurchasingDocumentAmount bseg wrbtr Gross Amount
ParkedByUser bkpf ppnam Parked By
ApprovedByUser bkpf usnam User Name
ProfitCenter bseg prctr Profit Centers
CostCenter bseg kostl Substitute CC
Segment bseg segment Segment number
TradingPartner bseg vbund Trading Partner
PostingKey bseg bschl Posting Key
DocumentDate bkpf bldat Journal Entry Date
PostingDate bkpf budat Posting Date
FiscalMonth bkpf monat Period Block
AccountingDocumentHeaderText bkpf bktxt Header Text
MarketDataExchangeRate
DocumentReferenceID bkpf xblnr Reference
PlannedReversalDate bkpf stodt Reversal Date
ReversalReason bkpf stgrd Reversal Reason
GLAccount bseg hkont Transfer acct
PartnerProfitCenter bseg pprct Partner PC
PartnerSegment bseg psegment Partner Segment
ValueDate bseg valut Value date
DocumentItemText bseg sgtxt Text
AssignmentReference bseg zuonr Finance Project

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_PostedMCAJournalEntry.
-- 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: IGLEMCAPOST

CREATE VIEW I_PostedMCAJournalEntry AS
SELECT
  _Item.bukrs AS CompanyCode,
  _Item.belnr AS AccountingDocument,
  _Item.gjahr AS FiscalYear,
  _Item.buzei AS AccountingDocumentItem,
  _mcadocref.Runid AS MCARunID,
  _mcadocref.Rldnr AS Ledger,
  _RUNADM.Fileid AS MCAFileID,
  _Header.ldgrp AS LedgerGroup,
  _Header.blart AS AccountingDocumentType,
  _Header.hwaer AS CompanyCodeCurrency,
  _Header.hwae2 AS AdditionalCurrency1,
  _Header.hwae3 AS AdditionalCurrency2,
  _Header.waers AS AccountCurrency,
  _Item.dmbtr AS TransactionAmountInLocalCrcy,
  _Item.dmbe2 AS AmountInAdditionalCurrency1,
  _Item.dmbe3 AS AmountInAdditionalCurrency2,
  _Item.wrbtr AS PurchasingDocumentAmount,
  _Header.ppnam AS ParkedByUser,
  _Header.usnam AS ApprovedByUser,
  _Item.prctr AS ProfitCenter,
  _Item.kostl AS CostCenter,
  _Item.segment AS Segment,
  _Item.vbund AS TradingPartner,
  _Item.bschl AS PostingKey,
  _Header.bldat AS DocumentDate,
  _Header.budat AS PostingDate,
  _Header.monat AS FiscalMonth,
  _Header.bktxt AS AccountingDocumentHeaderText,
  cast( _Header.kursx as abap.dec(28,14) ) AS MarketDataExchangeRate,
  _Header.xblnr AS DocumentReferenceID,
  _Header.stodt AS PlannedReversalDate,
  _Header.stgrd AS ReversalReason,
  _Item.hkont AS GLAccount,
  _Item.pprct AS PartnerProfitCenter,
  _Item.psegment AS PartnerSegment,
  _Item.valut AS ValueDate,
  _Item.sgtxt AS DocumentItemText,
  _Item.zuonr AS AssignmentReference
FROM bseg AS _Item
INNER JOIN bkpf AS _Header ON /* join condition not captured in parsed metadata */
INNER JOIN P_MCAdocref AS _mcadocref ON /* join condition not captured in parsed metadata */
INNER JOIN P_RUNADMID AS _RUNADM ON /* join condition not captured in parsed metadata */
;