P_PrimaNotaEntriesWithoutEBWP

DDL: P_PRIMANOTAENTRIESWITHOUTEBWP Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_GLAccountLineItemRawData prima_nota from

Parameters (2)

NameTypeDefault
P_FiscalPeriodStartDate budat
P_FiscalPeriodEndDate budat

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ProductCostCtrlgOrder _Order $projection.OrderID = _Order.OrderID

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;