UPOV_MEASDOC_DTL

DDL: UPO_INT_V_MEASDOC_DETAILS SQL: UPOS_MEASDOC_DTL Type: view

Measurement document Details

UPOV_MEASDOC_DTL is a CDS View that provides data about "Measurement document Details" in SAP S/4HANA. It reads from 5 data sources (gho_iflot_ext, gho_imptt_ext, gho_imrg_ext, upot_int_mpvnqci, gho_imrg_std_h) and exposes 9 fields.

Data Sources (5)

SourceAliasJoin Type
gho_iflot_ext iflot inner
gho_imptt_ext imptt inner
gho_imrg_ext imrg_ext inner
upot_int_mpvnqci mpvl inner
gho_imrg_std_h std_h inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_MEASDOC_DTL 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 Measurement document Details view

Fields (9)

KeyFieldSource TableSource FieldDescription
netid gho_imrg_std_h netid Production Flow NW
netobj gho_imrg_std_h netobj Node ID
frequency gho_imrg_std_h frequency Reporting Frequency
mdocm gho_imrg_ext mdocm Measurement Doc. No.
measmnt_grp gho_imptt_ext measmnt_grp Measurement Group
mediu gho_imptt_ext mediu Medium
mpvl_no upot_int_mpvnqci mpvl_no Document no
mpvl_year upot_int_mpvnqci mpvl_year Fiscal Year
yr_mnth

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_MEASDOC_DTL.
-- 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_MEASDOC_DTL

CREATE VIEW UPOV_MEASDOC_DTL AS
SELECT
  std_h.netid AS netid,
  std_h.netobj AS netobj,
  std_h.frequency AS frequency,
  imrg_ext.mdocm AS mdocm,
  imptt.measmnt_grp AS measmnt_grp,
  imptt.mediu AS mediu,
  mpvl.mpvl_no AS mpvl_no,
  mpvl.mpvl_year AS mpvl_year,
  cast(substring(tstmp_to_dats(std_h.prod_timestamp,iflot.gho_pn_tz,$session.client,'NULL'),1,6) as abap.char(6)) AS yr_mnth
INNER JOIN gho_imrg_std_h AS std_h ON /* join condition not captured in parsed metadata */
INNER JOIN gho_iflot_ext AS iflot ON /* join condition not captured in parsed metadata */
INNER JOIN gho_imrg_ext AS imrg_ext ON /* join condition not captured in parsed metadata */
INNER JOIN gho_imptt_ext AS imptt ON /* join condition not captured in parsed metadata */
INNER JOIN upot_int_mpvnqci AS mpvl ON /* join condition not captured in parsed metadata */
;