I_InhReprAllwdPlantPerSlsOrgVH

DDL: I_INHREPRALLWDPLANTPERSLSORGVH Type: view_entity COMPOSITE

Allowed Plants for In-House Service

I_InhReprAllwdPlantPerSlsOrgVH is a Composite CDS View that provides data about "Allowed Plants for In-House Service" in SAP S/4HANA. It reads from 1 data source (I_Allwdplantsperslsorg) and exposes 7 fields with key fields Plant, SalesOrganization, DistributionChannel. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Allwdplantsperslsorg I_Allwdplantsperslsorg from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.technicalName IInhReprAllwdPlntPerSlsOrgVH view
Consumption.ranked true view
EndUserText.label Allowed Plants for In-House Service view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Plant view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #COMPOSITE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Allwdplantsperslsorg Plant Valuation Area
KEY SalesOrganization I_Allwdplantsperslsorg SalesOrganization Sales Organization
KEY DistributionChannel
PlantName
CompanyCode
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel

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_InhReprAllwdPlantPerSlsOrgVH.
-- 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_InhReprAllwdPlantPerSlsOrgVH AS
SELECT
  I_Allwdplantsperslsorg.Plant AS Plant,
  I_Allwdplantsperslsorg.SalesOrganization AS SalesOrganization,
  cast ( I_Allwdplantsperslsorg.DistributionChannel as vtweg ) AS DistributionChannel,
  I_Allwdplantsperslsorg._Plant.PlantName AS PlantName,
  I_Allwdplantsperslsorg._Plant._ValuationArea.CompanyCode AS CompanyCode
FROM I_Allwdplantsperslsorg
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
;