nsdm_e_mste

DDL: NSDM_DDL_MSTE SQL: NSDM_V_MSTE Type: view

MSTE Compatibility View

nsdm_e_mste is a CDS View that provides data about "MSTE Compatibility View" in SAP S/4HANA. It reads from 2 data sources (mcha, nsdm_e_mste_diff) and exposes 14 fields with key fields mandt, matnr, werks, charg, sobkz.

Data Sources (2)

SourceAliasJoin Type
mcha m inner
nsdm_e_mste_diff n from

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName NSDM_V_MSTE view
EndUserText.label MSTE Compatibility View view
DataAging.noAgingRestriction false view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #AUTOMATED view
AccessControl.authorizationCheck #NOT_ALLOWED view
AbapCatalog.viewEnhancementCategory #PROJECTION_LIST view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY mandt nsdm_e_mste_diff mandt Editing Client
KEY matnr nsdm_e_mste_diff matnr Vehicle Model
KEY werks nsdm_e_mste_diff werks Receiving Plant
KEY charg nsdm_e_mste_diff charg Chargeable Proc.
KEY sobkz sobkz Special Stock
KEY vbeln vbeln SD Sched. Agmt
KEY posnr posnr WBS Element
KEY bwtar mcha bwtar Valuation Type
lfgja
lfmon
ewesb ewesb
ersda nsdm_e_mste_diff ersda Entry Date
terue terue
cwmewesb /cwm/ewesb

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 nsdm_e_mste.
-- 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: NSDM_V_MSTE

CREATE VIEW nsdm_e_mste AS
SELECT
  n.mandt AS mandt,
  n.matnr AS matnr,
  n.werks AS werks,
  n.charg AS charg,
  sobkz,
  vbeln,
  posnr,
  m.bwtar AS bwtar,
  cast(substring(gjper, 1, 4) as abap.numc(4)) AS lfgja,
  cast(substring(gjper, 6, 2) as abap.numc(2)) AS lfmon,
  ewesb,
  n.ersda AS ersda,
  terue,
  /cwm/ewesb AS cwmewesb
FROM nsdm_e_mste_diff AS n
INNER JOIN mcha AS m ON /* join condition not captured in parsed metadata */
;