UPOV_RESERVOIR_UOM

DDL: UPO_INT_V_RESERVOIR_UOM SQL: UPOS_RESRV_UOM Type: view

UOM: Reservoir

UPOV_RESERVOIR_UOM is a CDS View that provides data about "UOM: Reservoir" in SAP S/4HANA. It reads from 3 data sources (gho_prdenty_type, upot_int_entity, t000) and exposes 6 fields with key field RESRV.

Data Sources (3)

SourceAliasJoin Type
gho_prdenty_type ghpproid from
upot_int_entity Resrv_Id left_outer
t000 sysClients left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_RESRV_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 #MASTER view
EndUserText.label UOM: Reservoir view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY RESRV
RES_NAME
SHTXT
RS_GRP
OIU_CRUSER
clientNULLasOIU_TIMESTAMP

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_RESERVOIR_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: UPOS_RESRV_UOM

CREATE VIEW UPOV_RESERVOIR_UOM AS
SELECT
  cast(Resrv_Id.converted_label as oiu_resrvid) AS RESRV,
  cast (ghpproid.descr as oiu_res_name) AS RES_NAME,
  cast(UPPER(ghpproid.descr) as oiu_shtxt) AS SHTXT,
  cast ('' as oiu_rs_grp) AS RS_GRP,
  cast(ghpproid.ernam as ernam) AS OIU_CRUSER,
  dats_tims_to_tstmp(ghpproid.erdat, cast('000000' as abap.tims), 'UTC', $session.client, 'NULL') as OIU_TIMESTAMP AS clientNULLasOIU_TIMESTAMP
FROM gho_prdenty_type AS ghpproid
LEFT OUTER JOIN upot_int_entity AS Resrv_Id ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t000 AS sysClients ON /* join condition not captured in parsed metadata */
;