C_Prcscale

DDL: C_PRCSCALE SQL: CPRCSCLITM Type: view CONSUMPTION Package: ODATA_MM_PUR_CATALOG_SEARCH

Price Scale Search

C_Prcscale is a Consumption CDS View that provides data about "Price Scale Search" in SAP S/4HANA. It reads from 1 data source (I_Pricescale) and exposes 5 fields with key field OpnCtlgItemID. Part of development package ODATA_MM_PUR_CATALOG_SEARCH.

Data Sources (1)

SourceAliasJoin Type
I_Pricescale prcsclitm from

Annotations (10)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CPRCSCLITM view
ClientDependent true view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Price Scale Search view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgItemID I_Pricescale OpnCtlgItemID Catalog Item Key
DomainValueLow I_Pricescale DomainValueLow Low
DomainValueHigh I_Pricescale DomainValueHigh HIGH
OpnCtlgItemPrice Price
OpnCtlgItemCurrency _PriceCon OpnCtlgItemCurrency

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_Prcscale.
-- 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: CPRCSCLITM

CREATE VIEW C_Prcscale AS
SELECT
  prcsclitm.OpnCtlgItemID AS OpnCtlgItemID,
  prcsclitm.DomainValueLow AS DomainValueLow,
  prcsclitm.DomainValueHigh AS DomainValueHigh,
  cast( prcsclitm.OpnCtlgItemPrice as abap.curr(23, 4)) AS OpnCtlgItemPrice,
  _PriceCon.OpnCtlgItemCurrency AS OpnCtlgItemCurrency
FROM I_Pricescale AS prcsclitm
;