I_CFinAAPurchasingItemPosting
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)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntry | I_JournalEntry | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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