nsdm_e_mssq_join

DDL: NSDM_DDL_MSSQ SQL: NSDM_V_MSSQ Type: view

MSSQ Compatibility View: Join

nsdm_e_mssq_join is a CDS View that provides data about "MSSQ Compatibility View: Join" in SAP S/4HANA. It reads from 1 data source (nsdm_e_mssq_diff) and exposes 22 fields with key fields mandt, matnr, werks, sobkz, pspnr.

Data Sources (1)

SourceAliasJoin Type
nsdm_e_mssq_diff nsdm_e_mssq_diff from

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName NSDM_V_MSSQ view
EndUserText.label MSSQ Compatibility View: Join 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 (22)

KeyFieldSource TableSource FieldDescription
KEY mandt mandt Editing Client
KEY matnr matnr Vehicle Model
KEY werks werks Receiving Plant
KEY sobkz sobkz Special Stock
KEY pspnr pspnr WBS Element
lfgja
lfmon
sqlab sqlab
sqins sqins
sqspe sqspe
sqein sqein
ersda ersda Entry Date
kzbws kzbws Valuation
sqtra sqtra
sqrue sqrue
sqbwe sqbwe
cwmsqlab /cwm/sqlab
cwmsqins /cwm/sqins
cwmsqspe /cwm/sqspe
cwmsqein /cwm/sqein
cwmsqtra /cwm/sqtra
cwmsqbwe /cwm/sqbwe

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_mssq_join.
-- 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_MSSQ

CREATE VIEW nsdm_e_mssq_join AS
SELECT
  mandt,
  matnr,
  werks,
  sobkz,
  pspnr,
  cast(substring(gjper, 1, 4) as abap.numc(4)) AS lfgja,
  cast(substring(gjper, 6, 2) as abap.numc(2)) AS lfmon,
  sqlab,
  sqins,
  sqspe,
  sqein,
  ersda,
  kzbws,
  sqtra,
  sqrue,
  sqbwe,
  /cwm/sqlab AS cwmsqlab,
  /cwm/sqins AS cwmsqins,
  /cwm/sqspe AS cwmsqspe,
  /cwm/sqein AS cwmsqein,
  /cwm/sqtra AS cwmsqtra,
  /cwm/sqbwe AS cwmsqbwe
FROM nsdm_e_mssq_diff
;