I_ProdPlntMRPText

DDL: I_PRODPLNTMRPTEXT Type: view_entity BASIC Package: VDM_MD_PRODUCT_DDIC

Plant MRP - Text

I_ProdPlntMRPText is a Basic CDS View that provides data about "Plant MRP - Text" in SAP S/4HANA. It reads from 1 data source (cmd_prdplant_txt) and exposes 19 fields with key fields Product, Plant, TextObjectType, Language. It has 6 associations to related views. Part of development package VDM_MD_PRODUCT_DDIC.

Data Sources (1)

SourceAliasJoin Type
cmd_prdplant_txt cmd_prdplant_txt from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_TextObjectType _TextObjectType $projection.TextObjectType = _TextObjectType.TextObjectType and $projection.TextObjectCategory = _TextObjectType.TextObjectCategory
[0..1] I_TextObjectCategory _TextObjectCategory $projection.TextObjectCategory = _TextObjectCategory.TextObjectCategory
[0..*] I_ProductDescription_2 _ProductDescription_2 $projection.Product = _ProductDescription_2.Product
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (8)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey Product view
ObjectModel.dataCategory #TEXT view
EndUserText.label Plant MRP - Text view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Product Product Sold
KEY Plant plant Valuation Area
KEY TextObjectType text_id Text Identification
KEY Language language Report Text Language
TextObjectCategory text_object Text object
TextObjectKey text_name Text Name
ProductLongTextMimeType mimetype MIMETYPE
ProductPlantMRPText text_content Text Content
ProdLongTxtCreationDateTime created_at Uploaded On
CreatedByUser created_by Version Created By
ProdLongTxtLastChangedDateTime changed_at Timestamp
LastChangedByUser changed_by User Name
PlantName _Plant PlantName Plant Name
_Language _Language
_Product _Product
_TextObjectType _TextObjectType
_TextObjectCategory _TextObjectCategory
_ProductDescription_2 _ProductDescription_2
_Plant _Plant

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_ProdPlntMRPText.
-- 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.

CREATE VIEW I_ProdPlntMRPText AS
SELECT
  cast( product as productnumber preserving type ) AS Product,
  Plant,
  text_id AS TextObjectType,
  Language,
  text_object AS TextObjectCategory,
  text_name AS TextObjectKey,
  mimetype AS ProductLongTextMimeType,
  text_content AS ProductPlantMRPText,
  created_at AS ProdLongTxtCreationDateTime,
  created_by AS CreatedByUser,
  changed_at AS ProdLongTxtLastChangedDateTime,
  changed_by AS LastChangedByUser,
  _Plant.PlantName AS PlantName
FROM cmd_prdplant_txt
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
LEFT OUTER JOIN I_TextObjectType AS _TextObjectType ON TextObjectType = _TextObjectType.TextObjectType AND TextObjectCategory = _TextObjectType.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_TextObjectCategory AS _TextObjectCategory ON TextObjectCategory = _TextObjectCategory.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_ProductDescription_2 AS _ProductDescription_2 ON Product = _ProductDescription_2.Product  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;