P_AccrualCostSalesOrderAmt

DDL: P_ACCRUALCOSTSALESORDERAMT Type: view_entity CONSUMPTION Package: FINS_REV_REC_PECRUN

Accrued Costs sales order amount

P_AccrualCostSalesOrderAmt is a Consumption CDS View that provides data about "Accrued Costs sales order amount" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 4 fields with key fields SalesDocument, SalesDocumentItem. Part of development package FINS_REV_REC_PECRUN.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Accrued Costs sales order amount view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument SD Document
KEY SalesDocumentItem SalesDocumentItem Sales Document Item
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AccruedCOGSAmtInCCCrcy

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_AccrualCostSalesOrderAmt.
-- 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 P_AccrualCostSalesOrderAmt AS
SELECT
  SalesDocument,
  SalesDocumentItem,
  CompanyCodeCurrency,
  sum(AmountInCompanyCodeCurrency) AS AccruedCOGSAmtInCCCrcy
FROM I_JournalEntryItem
;