C_CSPRCountDifference

DDL: C_CSPRCOUNTDIFFERENCE SQL: CCSPRCNTDIFFRNCE Type: view CONSUMPTION

Count Products with RFID: Count Diff

C_CSPRCountDifference is a Consumption CDS View that provides data about "Count Products with RFID: Count Diff" in SAP S/4HANA. It reads from 1 data source (I_StoreProductRFIDCntProdNmbrs) and exposes 6 fields with key fields StoreProductRFIDCountUUID, Product. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_StoreProductRFIDCntProdNmbrs I_StoreProductRFIDCntProdNmbrs from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_CSPRProduct _Product $projection.Product = _Product.Product

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CCSPRCNTDIFFRNCE view
EndUserText.label Count Products with RFID: Count Diff view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey Product view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY StoreProductRFIDCountUUID StoreProductRFIDCountUUID Count ID
KEY Product Product Product Sold
NumberOfCountedItems NumberOfCountedItems
NumberOfExpectedItems NumberOfExpectedItems
_Product _Product
_StoreProductRFIDCount _StoreProductRFIDCount

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 C_CSPRCountDifference.
-- 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: CCSPRCNTDIFFRNCE

CREATE VIEW C_CSPRCountDifference AS
SELECT
  StoreProductRFIDCountUUID,
  Product,
  NumberOfCountedItems,
  NumberOfExpectedItems
FROM I_StoreProductRFIDCntProdNmbrs
LEFT OUTER JOIN C_CSPRProduct AS _Product ON Product = _Product.Product  -- association [1..1]
;