UPOV_PR_MPAPH_UOM

DDL: UPO_INT_V_MPAPH_UOM SQL: UPOSPR_MPAPH_UOM Type: view

UOM: Measurement pt Alloc profile header

UPOV_PR_MPAPH_UOM is a CDS View that provides data about "UOM: Measurement pt Alloc profile header" in SAP S/4HANA. It reads from 4 data sources (upot_int_nobj, upot_int_rule_id, upot_int_nobj, gho_noderule_h) and exposes 8 fields.

Data Sources (4)

SourceAliasJoin Type
upot_int_nobj dnLabel left_outer
upot_int_rule_id MappingTable left_outer
upot_int_nobj mpLabel left_outer
gho_noderule_h NodeAllocRuleHeader from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOSPR_MPAPH_UOM 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 UOM: Measurement pt Alloc profile header view

Fields (8)

KeyFieldSource TableSource FieldDescription
MP_NO
DN_NO
FREQ_CD
clientNULLasEFF_FROM_DT
clientNULLasEFF_TO_DT
MPAPH_NO upot_int_rule_id rule_id Rule ID
OIU_CRUSER gho_noderule_h created_by Version Created By
OIU_TIMESTAMP gho_noderule_h created_tst Req Created Time

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_PR_MPAPH_UOM.
-- 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: UPOSPR_MPAPH_UOM

CREATE VIEW UPOV_PR_MPAPH_UOM AS
SELECT
  cast(mpLabel.converted_label as oiu_mp_no) AS MP_NO,
  cast(dnLabel.converted_label as oiu_dn_no) AS DN_NO,
  cast(NodeAllocRuleHeader.frequency as oiu_freq_cd) AS FREQ_CD,
  tstmp_to_dats(NodeAllocRuleHeader.valid_from, 'UTC', $session.client,'NULL') as EFF_FROM_DT AS clientNULLasEFF_FROM_DT,
  tstmp_to_dats(NodeAllocRuleHeader.valid_to, 'UTC', $session.client,'NULL') as EFF_TO_DT AS clientNULLasEFF_TO_DT,
  MappingTable.rule_id AS MPAPH_NO,
  NodeAllocRuleHeader.created_by AS OIU_CRUSER,
  NodeAllocRuleHeader.created_tst AS OIU_TIMESTAMP
FROM gho_noderule_h AS NodeAllocRuleHeader
LEFT OUTER JOIN upot_int_nobj AS mpLabel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upot_int_nobj AS dnLabel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upot_int_rule_id AS MappingTable ON /* join condition not captured in parsed metadata */
;