I_Allwdplantsperslsorg

DDL: I_ALLWDPLANTSPERSLSORG SQL: IALWDPLNTS Type: view BASIC Package: VDM_MD_PRODUCT

Allowed plants per sales org

I_Allwdplantsperslsorg is a Basic CDS View that provides data about "Allowed plants per sales org" in SAP S/4HANA. It reads from 1 data source (tvkwz) and exposes 6 fields with key fields Plant, SalesOrganization. It has 3 associations to related views. Part of development package VDM_MD_PRODUCT.

Data Sources (1)

SourceAliasJoin Type
tvkwz tvkwz from

Associations (3)

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

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IALWDPLNTS view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.representativeKey Plant view
EndUserText.label Allowed plants per sales org view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Plant tvkwz werks Receiving Plant
KEY SalesOrganization tvkwz vkorg SD Sales Org.
vtwegasDistributionChannel
distributionchannelplant_Plant
_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_Allwdplantsperslsorg.
-- 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: IALWDPLNTS

CREATE VIEW I_Allwdplantsperslsorg AS
SELECT
  tvkwz.werks AS Plant,
  tvkwz.vkorg AS SalesOrganization
FROM tvkwz
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
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]
;