I_SiteBlocking

DDL: I_SITEBLOCKING SQL: ISITEBLOCKING Type: view BASIC

Site Blocking

I_SiteBlocking is a Basic CDS View that provides data about "Site Blocking" in SAP S/4HANA. It reads from 1 data source (wrf1) and exposes 7 fields with key field SiteCustomer. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
wrf1 wrf1 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_SiteBlockingReason _SiteBlockingReason $projection.SiteBlockingReason = _SiteBlockingReason.SiteBlockingReason
[1..1] I_Site _Site $projection.SiteCustomer = _Site.SiteCustomer
[1..1] I_Customer _Customer $projection.SiteCustomer = _Customer.Customer

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISITEBLOCKING view
EndUserText.label Site Blocking view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey SiteCustomer view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SiteCustomer locnr CustomerNoPlant
SiteBlockingFromDate spdab Pro.blocked on
SiteBlockingToDate spdbi Block to
SiteBlockingReason spgr1 Blocking Reason
_SiteBlockingReason _SiteBlockingReason
_Site _Site
_Customer _Customer

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_SiteBlocking.
-- 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: ISITEBLOCKING

CREATE VIEW I_SiteBlocking AS
SELECT
  locnr AS SiteCustomer,
  spdab AS SiteBlockingFromDate,
  spdbi AS SiteBlockingToDate,
  spgr1 AS SiteBlockingReason
FROM wrf1
LEFT OUTER JOIN I_SiteBlockingReason AS _SiteBlockingReason ON SiteBlockingReason = _SiteBlockingReason.SiteBlockingReason  -- association [0..1]
LEFT OUTER JOIN I_Site AS _Site ON SiteCustomer = _Site.SiteCustomer  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON SiteCustomer = _Customer.Customer  -- association [1..1]
;