CRMS4_IU_P_PODIA

DDL: CRMS4_IU_P_PODIA SQL: CRMS4IUVPPODIA Type: view

Point of Delivery Installation Alloc

CRMS4_IU_P_PODIA is a CDS View that provides data about "Point of Delivery Installation Alloc" in SAP S/4HANA. It reads from 1 data source (euihead) and exposes 2 fields with key field int_ui. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
euihead euihead from

Associations (3)

CardinalityTargetAliasCondition
[0..1] euiinstln _alloc_today _alloc_today.int_ui = euihead.int_ui and _alloc_today.datefrom <= $session.system_date and _alloc_today.dateto >= $session.system_date
[0..*] euiinstln _alloc_past _alloc_past.int_ui = euihead.int_ui and _alloc_past.dateto < $session.system_date
[0..*] euiinstln _alloc_future _alloc_future.int_ui = euihead.int_ui and _alloc_future.datefrom > $session.system_date

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4IUVPPODIA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Point of Delivery Installation Alloc view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY int_ui euihead int_ui PoD
anlage

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 CRMS4_IU_P_PODIA.
-- 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: CRMS4IUVPPODIA

CREATE VIEW CRMS4_IU_P_PODIA AS
SELECT
  euihead.int_ui AS int_ui,
  coalesce(coalesce(_alloc_today.anlage, _alloc_future.anlage), _alloc_past.anlage) AS anlage
FROM euihead
LEFT OUTER JOIN euiinstln AS _alloc_today ON _alloc_today.int_ui = euihead.int_ui AND _alloc_today.datefrom <= $session.system_date AND _alloc_today.dateto >= $session.system_date  -- association [0..1]
LEFT OUTER JOIN euiinstln AS _alloc_past ON _alloc_past.int_ui = euihead.int_ui AND _alloc_past.dateto < $session.system_date  -- association [0..*]
LEFT OUTER JOIN euiinstln AS _alloc_future ON _alloc_future.int_ui = euihead.int_ui AND _alloc_future.datefrom > $session.system_date  -- association [0..*]
;