UPOV_DIM_FROM_ALLOC_BASIS

DDL: UPO_INT_V_DIM_FROM_ALLOC_BASIS SQL: UPOS_DIM_ALC_BS Type: view

Get Dimension from Allocation Basis

UPOV_DIM_FROM_ALLOC_BASIS is a CDS View that provides data about "Get Dimension from Allocation Basis" in SAP S/4HANA. It reads from 4 data sources (gho_nwrule_h, gho_uom_rule_h, gho_uom_rule_i, gho_uom_rule_i) and exposes 2 fields.

Data Sources (4)

SourceAliasJoin Type
gho_nwrule_h nwrule inner
gho_uom_rule_h uom_hrule inner
gho_uom_rule_i uom_irule_energy left_outer
gho_uom_rule_i uom_irule_volume left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_DIM_ALC_BS view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Get Dimension from Allocation Basis view

Fields (2)

KeyFieldSource TableSource FieldDescription
RunId header_res alloc_run_id Allocation Run ID
uomendasuom

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 UPOV_DIM_FROM_ALLOC_BASIS.
-- 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: UPOS_DIM_ALC_BS

CREATE VIEW UPOV_DIM_FROM_ALLOC_BASIS AS
SELECT
  header_res.alloc_run_id AS RunId,
  case when nwrule.alloc_basis = '02' or nwrule.alloc_basis = '04' then uom_irule_energy.uom else uom_irule_volume.uom end as uom AS uomendasuom
INNER JOIN gho_nwrule_h AS nwrule ON /* join condition not captured in parsed metadata */
INNER JOIN gho_uom_rule_h AS uom_hrule ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN gho_uom_rule_i AS uom_irule_volume ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN gho_uom_rule_i AS uom_irule_energy ON /* join condition not captured in parsed metadata */
;