P_PrimaNotaEntriesWithoutEBWP
Prima nota entries without EBWP posting
P_PrimaNotaEntriesWithoutEBWP is a Composite CDS View that provides data about "Prima nota entries without EBWP posting" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItemRawData) and exposes 33 fields with key fields CompanyCode, Ledger, AccountingDocument, LedgerGLLineItem, FiscalYear. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemRawData | prima_nota | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FiscalPeriodStartDate | budat | |
| P_FiscalPeriodEndDate | budat |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductCostCtrlgOrder | _Order | $projection.OrderID = _Order.OrderID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Prima nota entries without EBWP posting | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_GLAccountLineItemRawData | CompanyCode | Receiver Company Code |
| KEY | Ledger | I_GLAccountLineItemRawData | SourceLedger | Source Ledger |
| KEY | AccountingDocument | I_GLAccountLineItemRawData | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_GLAccountLineItemRawData | LedgerGLLineItem | Journal Entry Item |
| KEY | FiscalYear | I_GLAccountLineItemRawData | FiscalYear | G/L Fiscal Year |
| ControllingObject | I_GLAccountLineItemRawData | ControllingObject | Object number | |
| ReferenceDocumentType | I_GLAccountLineItemRawData | ReferenceDocumentType | Reference Document Type | |
| ReferenceDocumentContext | I_GLAccountLineItemRawData | ReferenceDocumentContext | Reference Document Context | |
| ReferenceDocument | I_GLAccountLineItemRawData | ReferenceDocument | Reference Document | |
| OrderID | I_GLAccountLineItemRawData | OrderID | Order ID | |
| OrderItem | I_GLAccountLineItemRawData | OrderItem | Order item no. | |
| OrderCategory | I_GLAccountLineItemRawData | OrderCategory | Order Category | |
| GLAccount | I_GLAccountLineItemRawData | GLAccount | General Ledger | |
| AmountInCompanyCodeCurrency | I_GLAccountLineItemRawData | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| AmountInGlobalCurrency | I_GLAccountLineItemRawData | AmountInGlobalCurrency | Amount in Global Currency | |
| AmountInFreeDefinedCurrency1 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |
| AmountInFreeDefinedCurrency2 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |
| AmountInFreeDefinedCurrency3 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |
| AmountInFreeDefinedCurrency4 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |
| AmountInFreeDefinedCurrency5 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |
| AmountInFreeDefinedCurrency6 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |
| AmountInFreeDefinedCurrency7 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |
| AmountInFreeDefinedCurrency8 | I_GLAccountLineItemRawData | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |
| CompanyCodeCurrency | I_GLAccountLineItemRawData | CompanyCodeCurrency | Local Currency | |
| GlobalCurrency | I_GLAccountLineItemRawData | GlobalCurrency | GM Billing Element: Global Currency | |
| FreeDefinedCurrency1 | I_GLAccountLineItemRawData | FreeDefinedCurrency1 | Freely Defined Currency 1 | |
| FreeDefinedCurrency2 | I_GLAccountLineItemRawData | FreeDefinedCurrency2 | Freely Defined Currency 2 | |
| FreeDefinedCurrency3 | I_GLAccountLineItemRawData | FreeDefinedCurrency3 | Freely Defined Currency 3 | |
| FreeDefinedCurrency4 | I_GLAccountLineItemRawData | FreeDefinedCurrency4 | Freely Defined Currency 4 | |
| FreeDefinedCurrency5 | I_GLAccountLineItemRawData | FreeDefinedCurrency5 | Freely Defined Currency 5 | |
| FreeDefinedCurrency6 | I_GLAccountLineItemRawData | FreeDefinedCurrency6 | Freely Defined Currency 6 | |
| FreeDefinedCurrency7 | I_GLAccountLineItemRawData | FreeDefinedCurrency7 | Freely Defined Currency 7 | |
| FreeDefinedCurrency8 | I_GLAccountLineItemRawData | FreeDefinedCurrency8 | Freely Defined Currency 8 |
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_PrimaNotaEntriesWithoutEBWP.
-- 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.
-- Parameters: P_FiscalPeriodStartDate : budat, P_FiscalPeriodEndDate : budat
CREATE VIEW P_PrimaNotaEntriesWithoutEBWP AS
SELECT
prima_nota.CompanyCode AS CompanyCode,
prima_nota.SourceLedger AS Ledger,
prima_nota.AccountingDocument AS AccountingDocument,
prima_nota.LedgerGLLineItem AS LedgerGLLineItem,
prima_nota.FiscalYear AS FiscalYear,
prima_nota.ControllingObject AS ControllingObject,
prima_nota.ReferenceDocumentType AS ReferenceDocumentType,
prima_nota.ReferenceDocumentContext AS ReferenceDocumentContext,
prima_nota.ReferenceDocument AS ReferenceDocument,
prima_nota.OrderID AS OrderID,
prima_nota.OrderItem AS OrderItem,
prima_nota.OrderCategory AS OrderCategory,
prima_nota.GLAccount AS GLAccount,
prima_nota.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
prima_nota.AmountInGlobalCurrency AS AmountInGlobalCurrency,
prima_nota.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
prima_nota.AmountInFreeDefinedCurrency2 AS AmountInFreeDefinedCurrency2,
prima_nota.AmountInFreeDefinedCurrency3 AS AmountInFreeDefinedCurrency3,
prima_nota.AmountInFreeDefinedCurrency4 AS AmountInFreeDefinedCurrency4,
prima_nota.AmountInFreeDefinedCurrency5 AS AmountInFreeDefinedCurrency5,
prima_nota.AmountInFreeDefinedCurrency6 AS AmountInFreeDefinedCurrency6,
prima_nota.AmountInFreeDefinedCurrency7 AS AmountInFreeDefinedCurrency7,
prima_nota.AmountInFreeDefinedCurrency8 AS AmountInFreeDefinedCurrency8,
prima_nota.CompanyCodeCurrency AS CompanyCodeCurrency,
prima_nota.GlobalCurrency AS GlobalCurrency,
prima_nota.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
prima_nota.FreeDefinedCurrency2 AS FreeDefinedCurrency2,
prima_nota.FreeDefinedCurrency3 AS FreeDefinedCurrency3,
prima_nota.FreeDefinedCurrency4 AS FreeDefinedCurrency4,
prima_nota.FreeDefinedCurrency5 AS FreeDefinedCurrency5,
prima_nota.FreeDefinedCurrency6 AS FreeDefinedCurrency6,
prima_nota.FreeDefinedCurrency7 AS FreeDefinedCurrency7,
prima_nota.FreeDefinedCurrency8 AS FreeDefinedCurrency8
FROM I_GLAccountLineItemRawData AS prima_nota
LEFT OUTER JOIN I_ProductCostCtrlgOrder AS _Order ON OrderID = _Order.OrderID -- association [1..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