P_Invtryvalncat

DDL: P_INVTRYVALNCAT SQL: P_VALUATION_CAT Type: view BASIC

P_Invtryvalncat is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (t149) and exposes 3 fields with key fields ValuationArea, InventoryValuationCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
t149 t149 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_Invtryvalncattext _Text $projection.InventoryValuationCategory = _Text.InventoryValuationCategory

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName P_VALUATION_CAT view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
ObjectModel.representativeKey InventoryValuationCategory view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ValuationArea bwkey Valuation Area
KEY InventoryValuationCategory bwtty Valuation Cat.
_Text _Text

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_Invtryvalncat.
-- 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: P_VALUATION_CAT

CREATE VIEW P_Invtryvalncat AS
SELECT
  bwkey AS ValuationArea,
  bwtty AS InventoryValuationCategory
FROM t149
LEFT OUTER JOIN P_Invtryvalncattext AS _Text ON InventoryValuationCategory = _Text.InventoryValuationCategory  -- association [0..*]
;