UPOV_PR_WELL_UOM
UOM: Well
UPOV_PR_WELL_UOM is a CDS View that provides data about "UOM: Well" in SAP S/4HANA. It reads from 7 data sources and exposes 26 fields with key field WL_NO.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| iflotx | _functionalloctext | left_outer |
| iflot | funcloc | left_outer |
| gho_iflot_ext | functionalloc | from |
| geoloc | geolocation | left_outer |
| geoloc | geolocation_loa | left_outer |
| iloa | objloc | left_outer |
| upot_int_nobj | wlLabel | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | UPOS_PR_WELL_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: Well | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WL_NO | |||
| API_NO | ||||
| WL_DE | ||||
| SHTXT | ||||
| DEV_CD | ||||
| GLE_U | gho_iflot_ext | gho_elev_uom | Unit of Measure | |
| SLOT_NO | gho_iflot_ext | slot_no | Slot Number | |
| SUR_LAT_NO | ||||
| SUR_LNG_NO | ||||
| LEG_DE | ||||
| DO_DPTH_U | gho_iflot_ext | gho_depth_uom | Unit of Measure | |
| QTR_1_NO | gho_iflot_ext | qtr_1_no | Qtr 1 | |
| QTR_2_NO | gho_iflot_ext | qtr_2_no | Qtr 2 | |
| SECTION_NO | gho_iflot_ext | section_no | Section | |
| TWP_NO | gho_iflot_ext | twp_no | Township | |
| TWP_DIR_CD | gho_iflot_ext | twp_dir_cd | Township dir. | |
| RNG_NO | gho_iflot_ext | rng_no | Range | |
| RNG_DIR_CD | gho_iflot_ext | rng_dir_cd | Range Direction | |
| TARG_DPTH_U | gho_iflot_ext | gho_well_tvd_uom | Unit of Measure | |
| TARG_DPTH | ||||
| MMS_OWNER_CD | gho_iflot_ext | mms_owner_cd | MMS Ownership | |
| WL_GRP | ||||
| DOCNR | ||||
| DOCYR | ||||
| OIU_CRUSER | iflot | ernam | User Name | |
| 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_PR_WELL_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_PR_WELL_UOM
CREATE VIEW UPOV_PR_WELL_UOM AS
SELECT
cast(wlLabel.converted_label as oiu_wl_no) AS WL_NO,
lpad( functionalloc.api_no,12 ,'0') AS API_NO,
cast(_functionalloctext.pltxt as oiu_wl_de_conv) AS WL_DE,
cast(_functionalloctext.pltxu as oiu_shtxt) AS SHTXT,
cast('' as oiu_dev_cd) AS DEV_CD,
functionalloc.gho_elev_uom AS GLE_U,
functionalloc.slot_no AS SLOT_NO,
abs(cast (geolocation_loa.latitude as oiu_sur_lat_no) ) AS SUR_LAT_NO,
abs(cast(geolocation_loa.longitude as oiu_sur_lng_no) ) AS SUR_LNG_NO,
cast(' ' as oiu_leg_de) AS LEG_DE,
functionalloc.gho_depth_uom AS DO_DPTH_U,
functionalloc.qtr_1_no AS QTR_1_NO,
functionalloc.qtr_2_no AS QTR_2_NO,
functionalloc.section_no AS SECTION_NO,
functionalloc.twp_no AS TWP_NO,
functionalloc.twp_dir_cd AS TWP_DIR_CD,
functionalloc.rng_no AS RNG_NO,
functionalloc.rng_dir_cd AS RNG_DIR_CD,
functionalloc.gho_well_tvd_uom AS TARG_DPTH_U,
cast(functionalloc.gho_well_tvd as abap.quan( 13, 3 )) AS TARG_DPTH,
functionalloc.mms_owner_cd AS MMS_OWNER_CD,
cast(' ' as oiu_wl_grp) AS WL_GRP,
cast(' ' as oiupr_wl_docnr) AS DOCNR,
cast (' ' as oiu_doc_year) AS DOCYR,
funcloc.ernam AS OIU_CRUSER,
dats_tims_to_tstmp(funcloc.erdat, cast('000000' as abap.tims), 'UTC', $session.client, 'NULL') as OIU_TIMESTAMP AS clientNULLasOIU_TIMESTAMP
FROM gho_iflot_ext AS functionalloc
INNER JOIN upot_int_nobj AS wlLabel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN iflot AS funcloc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN iflotx AS _functionalloctext ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN iloa AS objloc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN geoloc AS geolocation_loa ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN geoloc AS geolocation ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA