P_JP_AssetQuantity

DDL: P_JP_ASSETQUANTITY SQL: PJPASTQTY Type: view COMPOSITE Package: ID-FIAA-JP

Quantity in Asset Ledger

P_JP_AssetQuantity is a Composite CDS View that provides data about "Quantity in Asset Ledger" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 5 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger. Part of development package ID-FIAA-JP.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PJPASTQTY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JournalEntryItem CompanyCode Receiver Company Code
KEY MasterFixedAsset I_JournalEntryItem MasterFixedAsset Fixed Asset
KEY FixedAsset I_JournalEntryItem FixedAsset Sub-number
KEY Ledger I_JournalEntryItem Ledger Ledger
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_JP_AssetQuantity.
-- 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: PJPASTQTY

CREATE VIEW P_JP_AssetQuantity AS
SELECT
  I_JournalEntryItem.CompanyCode AS CompanyCode,
  I_JournalEntryItem.MasterFixedAsset AS MasterFixedAsset,
  I_JournalEntryItem.FixedAsset AS FixedAsset,
  I_JournalEntryItem.Ledger AS Ledger,
  sum( I_JournalEntryItem.Quantity) AS Quantity
FROM I_JournalEntryItem
;