I_AllwdPlantsPerSlsOrgVH

DDL: I_ALLWDPLANTSPERSLSORGVH SQL: IALWDPLNTSVH Type: view COMPOSITE

Allowed plants per sales org VH

I_AllwdPlantsPerSlsOrgVH is a Composite CDS View that provides data about "Allowed plants per sales org VH" in SAP S/4HANA. It reads from 1 data source (I_Allwdplantsperslsorg) and exposes 6 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 (11)

NameValueLevelField
AbapCatalog.sqlViewName IALWDPLNTSVH view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
EndUserText.label Allowed plants per sales org VH view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Consumption.ranked true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Allwdplantsperslsorg Plant Valuation Area
KEY SalesOrganization I_Allwdplantsperslsorg SalesOrganization Sales Organization
KEY DistributionChannel
PlantName
_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_AllwdPlantsPerSlsOrgVH.
-- 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: IALWDPLNTSVH

CREATE VIEW I_AllwdPlantsPerSlsOrgVH 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
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]
;