P_AssetLedgerQuantity

DDL: P_ASSETLEDGERQUANTITY SQL: PASTLDGRQTY Type: view COMPOSITE

P_AssetLedgerQuantity is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 7 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountLineItem I_GLAccountLineItem from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PASTLDGRQTY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY Ledger Ledger Ledger
KEY FiscalYear LedgerFiscalYear
BaseUnit BaseUnit Unit of Measure
Quantity

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_AssetLedgerQuantity.
-- 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.
-- SQL view name: PASTLDGRQTY

CREATE VIEW P_AssetLedgerQuantity AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  LedgerFiscalYear AS FiscalYear,
  BaseUnit,
  sum( I_GLAccountLineItem.Quantity) AS Quantity
FROM I_GLAccountLineItem
;