I_CFinAAPurchasingItemPosting

DDL: I_CFINAAPURCHASINGITEMPOSTING Type: view_entity TRANSACTIONAL

CFinAA Purchasing Item Posting

I_CFinAAPurchasingItemPosting is a Transactional CDS View that provides data about "CFinAA Purchasing Item Posting" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 38 fields with key fields SenderLogicalSystem, CFinRpldPurchasingDocument, CFinRpldPurchasingDocumentItem, CompanyCode, FiscalYear. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry I_JournalEntry inner

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_ReferenceDocumentTypeText _ReferenceDocumentTypeText $projection.ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType and _ReferenceDocumentTypeText.Language = $session.system_language
[0..1] I_LedgerGroupText _LedgerGroupText $projection.LedgerGroup = _LedgerGroupText.LedgerGroup and _LedgerGroupText.Language = $session.system_language
[0..1] I_AccountingDocumentTypeText _AccountingDocumentTypeText $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType and _AccountingDocumentTypeText.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label CFinAA Purchasing Item Posting view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY SenderLogicalSystem I_CFinAAPurchasingValidItem SenderLogicalSystem Sender Logical System
KEY CFinRpldPurchasingDocument I_CFinAAPurchasingValidItem CFinRpldPurchasingDocument Purchasing Doc.
KEY CFinRpldPurchasingDocumentItem I_CFinAAPurchasingValidItem CFinRpldPurchasingDocumentItem Item
KEY CompanyCode I_JournalEntry CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntry FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntry AccountingDocument Journal Entry
FiscalPeriod I_JournalEntry FiscalPeriod Tax period
DocumentDate I_JournalEntry DocumentDate Journal Entry Date
PostingDate I_JournalEntry PostingDate Posting Date for GR
AccountingDocumentType I_JournalEntry AccountingDocumentType Journal Entry Type
LedgerGroup I_JournalEntry LedgerGroup Ledger Group
ReferenceDocumentType
OriginalReferenceDocument
ReferenceDocumentLogicalSystem I_JournalEntry ReferenceDocumentLogicalSystem Ref. Doc. Lgcl Syst.
AccountingDocumentClass I_JournalEntry AccountingDocumentClass Document Cat.
ReverseDocument I_JournalEntry ReverseDocument Reversed With
ReverseDocumentFiscalYear I_JournalEntry ReverseDocumentFiscalYear Year
IsReversed I_JournalEntry IsReversed Reversed?
IsReversal I_JournalEntry IsReversal Reversal doc.
SenderCompanyCode I_JournalEntry SenderCompanyCode Sender Company Code
SenderAccountingDocument I_JournalEntry SenderAccountingDocument Sender Journal Entry
SenderFiscalYear I_JournalEntry SenderFiscalYear Sender FiscalYr
CFinAAPurchasingValidItemUUID I_CFinAAPurchasingValidItem CFinAAPurchasingValidItemUUID
CFinAAManagedAssetUUID I_CFinAAPurchasingValidItem CFinAAManagedAssetUUID
CFinAAPurchasingItemStatus I_CFinAAPurchasingValidItem CFinAAPurchasingItemStatus
MaterialGroup I_CFinAAPurchasingValidItem MaterialGroup Product Group
AccountAssignmentCategory I_CFinAAPurchasingValidItem AccountAssignmentCategory Acct Assgmt Cat
CFinAAAssetCompanyCode I_CFinAAPurchasingValidItem CFinAAAssetCompanyCode
CFinAAPurgConfignIsConsistent I_CFinAAPurchasingValidItem CFinAAPurgConfignIsConsistent
MasterFixedAsset I_CFinAAPurchasingValidItem MasterFixedAsset Fixed Asset
FixedAsset I_CFinAAPurchasingValidItem FixedAsset Sub-number
CFinAAHasAssetCreationMessage I_CFinAAPurchasingValidItem CFinAAHasAssetCreationMessage
CFinAAHasAssetPostingMessage I_CFinAAPurchasingValidItem CFinAAHasAssetPostingMessage
CFinAAHasPurgItemUpdateMessage I_CFinAAPurchasingValidItem CFinAAHasPurgItemUpdateMessage
_CompanyCode _CompanyCode
_ReferenceDocumentTypeText _ReferenceDocumentTypeText
_LedgerGroupText _LedgerGroupText
_AccountingDocumentTypeText _AccountingDocumentTypeText

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_CFinAAPurchasingItemPosting.
-- 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.

CREATE VIEW I_CFinAAPurchasingItemPosting AS
SELECT
  I_CFinAAPurchasingValidItem.SenderLogicalSystem AS SenderLogicalSystem,
  I_CFinAAPurchasingValidItem.CFinRpldPurchasingDocument AS CFinRpldPurchasingDocument,
  I_CFinAAPurchasingValidItem.CFinRpldPurchasingDocumentItem AS CFinRpldPurchasingDocumentItem,
  I_JournalEntry.CompanyCode AS CompanyCode,
  I_JournalEntry.FiscalYear AS FiscalYear,
  I_JournalEntry.AccountingDocument AS AccountingDocument,
  I_JournalEntry.FiscalPeriod AS FiscalPeriod,
  I_JournalEntry.DocumentDate AS DocumentDate,
  I_JournalEntry.PostingDate AS PostingDate,
  I_JournalEntry.AccountingDocumentType AS AccountingDocumentType,
  I_JournalEntry.LedgerGroup AS LedgerGroup,
  cast( I_JournalEntry.ReferenceDocumentType as awtyp preserving type ) AS ReferenceDocumentType,
  cast( I_JournalEntry.OriginalReferenceDocument as awkey preserving type ) AS OriginalReferenceDocument,
  I_JournalEntry.ReferenceDocumentLogicalSystem AS ReferenceDocumentLogicalSystem,
  I_JournalEntry.AccountingDocumentClass AS AccountingDocumentClass,
  I_JournalEntry.ReverseDocument AS ReverseDocument,
  I_JournalEntry.ReverseDocumentFiscalYear AS ReverseDocumentFiscalYear,
  I_JournalEntry.IsReversed AS IsReversed,
  I_JournalEntry.IsReversal AS IsReversal,
  I_JournalEntry.SenderCompanyCode AS SenderCompanyCode,
  I_JournalEntry.SenderAccountingDocument AS SenderAccountingDocument,
  I_JournalEntry.SenderFiscalYear AS SenderFiscalYear,
  I_CFinAAPurchasingValidItem.CFinAAPurchasingValidItemUUID AS CFinAAPurchasingValidItemUUID,
  I_CFinAAPurchasingValidItem.CFinAAManagedAssetUUID AS CFinAAManagedAssetUUID,
  I_CFinAAPurchasingValidItem.CFinAAPurchasingItemStatus AS CFinAAPurchasingItemStatus,
  I_CFinAAPurchasingValidItem.MaterialGroup AS MaterialGroup,
  I_CFinAAPurchasingValidItem.AccountAssignmentCategory AS AccountAssignmentCategory,
  I_CFinAAPurchasingValidItem.CFinAAAssetCompanyCode AS CFinAAAssetCompanyCode,
  I_CFinAAPurchasingValidItem.CFinAAPurgConfignIsConsistent AS CFinAAPurgConfignIsConsistent,
  I_CFinAAPurchasingValidItem.MasterFixedAsset AS MasterFixedAsset,
  I_CFinAAPurchasingValidItem.FixedAsset AS FixedAsset,
  I_CFinAAPurchasingValidItem.CFinAAHasAssetCreationMessage AS CFinAAHasAssetCreationMessage,
  I_CFinAAPurchasingValidItem.CFinAAHasAssetPostingMessage AS CFinAAHasAssetPostingMessage,
  I_CFinAAPurchasingValidItem.CFinAAHasPurgItemUpdateMessage AS CFinAAHasPurgItemUpdateMessage
INNER JOIN I_JournalEntry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ReferenceDocumentTypeText AS _ReferenceDocumentTypeText ON ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType AND _ReferenceDocumentTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LedgerGroupText AS _LedgerGroupText ON LedgerGroup = _LedgerGroupText.LedgerGroup AND _LedgerGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType AND _AccountingDocumentTypeText.Language = $session.system_language  -- association [0..1]
;