I_SupDmndMaterialPlant

DDL: I_SUPDMNDMATERIALPLANT Type: view BASIC Package: VDM_ARUN_ANALYTICS

Basic View for Material Plant

I_SupDmndMaterialPlant is a Basic CDS View that provides data about "Basic View for Material Plant" in SAP S/4HANA. It reads from 2 data sources (marc, mara) and exposes 18 fields with key fields Material, Plant. Part of development package VDM_ARUN_ANALYTICS.

Data Sources (2)

SourceAliasJoin Type
marc marc inner
mara SupDmndMaterial from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Basic View for Material Plant view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISUPDMNDMAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Material marc matnr Vehicle Model
KEY Plant marc werks Receiving Plant
MaterialType mara mtart Product Type
Division mara spart Source supplier
FreeDefinedProductAttribute01 mara fsh_mg_at1 Fsh. Attribute1
FreeDefinedProductAttribute02 mara fsh_mg_at1 Fsh. Attribute1
FreeDefinedProductAttribute03 mara fsh_mg_at1 Fsh. Attribute1
RetailArticleColor mara color Level Color
RetailArticleMainSize mara size1 Size 1
RetailArticleSecondSize mara size2 Size 2
CrossPlantConfigurableProduct mara satnr Cross-plant CM
MaterialGroup matkl Product Sold Group
MaterialIsBatchManaged marc xchpf Batch Mgmt Rqt(Plnt)
IsInternalBatchManaged arun_fix_batch Assign Batches
SegmentationStrategy sgt_covs Segment. Strategy
SegmentationStrategyScope marc sgt_scope Seg. Scope
ProdAvailabilityCheckGroup marc mtvfp Avail. check
LoadingGroup marc ladgr Loading Group

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_SupDmndMaterialPlant.
-- 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_SupDmndMaterialPlant AS
SELECT
  marc.matnr AS Material,
  marc.werks AS Plant,
  SupDmndMaterial.mtart AS MaterialType,
  SupDmndMaterial.spart AS Division,
  SupDmndMaterial.fsh_mg_at1 AS FreeDefinedProductAttribute01,
  SupDmndMaterial.fsh_mg_at1 AS FreeDefinedProductAttribute02,
  SupDmndMaterial.fsh_mg_at1 AS FreeDefinedProductAttribute03,
  SupDmndMaterial.color AS RetailArticleColor,
  SupDmndMaterial.size1 AS RetailArticleMainSize,
  SupDmndMaterial.size2 AS RetailArticleSecondSize,
  SupDmndMaterial.satnr AS CrossPlantConfigurableProduct,
  matkl AS MaterialGroup,
  marc.xchpf AS MaterialIsBatchManaged,
  arun_fix_batch AS IsInternalBatchManaged,
  sgt_covs AS SegmentationStrategy,
  marc.sgt_scope AS SegmentationStrategyScope,
  marc.mtvfp AS ProdAvailabilityCheckGroup,
  marc.ladgr AS LoadingGroup
FROM mara AS SupDmndMaterial
INNER JOIN marc ON /* join condition not captured in parsed metadata */
;