I_PRAMaterial

DDL: I_PRAMATERIAL SQL: IPRAMATERIAL Type: view BASIC

PRA Material

I_PRAMaterial is a Basic CDS View that provides data about "PRA Material" in SAP S/4HANA. It reads from 1 data source (I_Material) and exposes 12 fields with key field PRAMaterial. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Material I_Material from

Associations (1)

CardinalityTargetAliasCondition
[1] I_PRAMatlMjrProdMappg _PRAMaterialMapping $projection.PRAMaterial = _PRAMaterialMapping.Material

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPRAMATERIAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label PRA Material view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PRAMaterial Material Vehicle Model
MaterialName
MajorProduct _PRAMaterialMapping MajorProduct Major Product
MinorProduct _PRAMaterialMapping MinorProduct
MaterialType MaterialType Material Type
MaterialGroup MaterialGroup Product Group
MaterialBaseUnit MaterialBaseUnit Valuation Unit
AuthorizationGroup AuthorizationGroup AuthorizGroup
_Text _Text
_BaseUnit _BaseUnit
_MaterialGroup _MaterialGroup
_MaterialType _MaterialType

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 I_PRAMaterial.
-- 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: IPRAMATERIAL

CREATE VIEW I_PRAMaterial AS
SELECT
  Material AS PRAMaterial,
  _Text[Language = $session.system_language].MaterialName AS MaterialName,
  _PRAMaterialMapping.MajorProduct AS MajorProduct,
  _PRAMaterialMapping.MinorProduct AS MinorProduct,
  MaterialType,
  MaterialGroup,
  MaterialBaseUnit,
  AuthorizationGroup
FROM I_Material
LEFT OUTER JOIN I_PRAMatlMjrProdMappg AS _PRAMaterialMapping ON PRAMaterial = _PRAMaterialMapping.Material  -- association [1]
;