R_PlantSubstnExclsnTP

DDL: R_PLANTSUBSTNEXCLSNTP Type: view_entity TRANSACTIONAL

Plant Substitution Exclusion TP View

R_PlantSubstnExclsnTP is a Transactional CDS View that provides data about "Plant Substitution Exclusion TP View" in SAP S/4HANA. It reads from 1 data source (R_MDSubstnExclsnTP) and exposes 38 fields with key field MDSubstnUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_MDSubstnExclsnTP R_MDSubstnExclsnTP from

Associations (6)

CardinalityTargetAliasCondition
[1..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
[1..1] I_Indicator _MDSubstnIsRlvtForATPPlant $projection.MDSubstnIsRlvtForATPPlant = _MDSubstnIsRlvtForATPPlant.IndicatorValue
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_UserContactCard _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.ContactCardID

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Plant Substitution Exclusion TP View view
ObjectModel.representativeKey MDSubstnUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.sapObjectNodeType.name PlantExclusion view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY MDSubstnUUID MDSubstnUUID
MDSubstnObjectType MDSubstnObjectType
Plant
MDSubstnContextObjectType MDSubstnContextObjectType
SalesOrganization
MDSubstnContextObjectType2 MDSubstnContextObjectType2
DistributionChannel
MDSubstnGroup MDSubstnGroup
MDSubstnVersionValue MDSubstnVersionValue
MDSubstnValidityStartDateTime MDSubstnValidityStartDateTime
MDSubstnValidityStartDate MDSubstnValidityStartDate
MDSubstnValidityStartTime MDSubstnValidityStartTime
MDSubstnValidityEndDateTime MDSubstnValidityEndDateTime
MDSubstnValidityEndDate MDSubstnValidityEndDate
MDSubstnValidityEndTime MDSubstnValidityEndTime
TimeZoneID TimeZoneID Time Zone
MDSubstnReason MDSubstnReason
MDSubstnStatus MDSubstnStatus
MDSubstnIsRlvtForATPPlant MDSubstnIsRlvtForATPPlant
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
TimeZoneIANACode TimeZoneIANACode
_ContextObjectTypeCode _ContextObjectTypeCode
_ContextObjectTypeCode2 _ContextObjectTypeCode2
_CreatedByUser _CreatedByUser
_Group _Group
_LastChangedByUser _LastChangedByUser
_MDObjectType _MDObjectType
_Reason _Reason
_Status _Status
_TimeZone _TimeZone
_IANATimeZone _IANATimeZone
_Plant _Plant
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_MDSubstnIsRlvtForATPPlant _MDSubstnIsRlvtForATPPlant

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 R_PlantSubstnExclsnTP.
-- 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 R_PlantSubstnExclsnTP AS
SELECT
  MDSubstnUUID,
  MDSubstnObjectType,
  cast( MDObject as werks_d ) AS Plant,
  MDSubstnContextObjectType,
  cast( MDSubstnContextObject as vkorg ) AS SalesOrganization,
  MDSubstnContextObjectType2,
  cast( MDSubstnContextObject2 as vtweg ) AS DistributionChannel,
  MDSubstnGroup,
  MDSubstnVersionValue,
  MDSubstnValidityStartDateTime,
  MDSubstnValidityStartDate,
  MDSubstnValidityStartTime,
  MDSubstnValidityEndDateTime,
  MDSubstnValidityEndDate,
  MDSubstnValidityEndTime,
  TimeZoneID,
  MDSubstnReason,
  MDSubstnStatus,
  MDSubstnIsRlvtForATPPlant,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  TimeZoneIANACode
FROM R_MDSubstnExclsnTP
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..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]
LEFT OUTER JOIN I_Indicator AS _MDSubstnIsRlvtForATPPlant ON MDSubstnIsRlvtForATPPlant = _MDSubstnIsRlvtForATPPlant.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON CreatedByUser = _CreatedByUser.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.ContactCardID  -- association [0..1]
;