nsdm_e_mssa_agg

DDL: NSDM_DDL_MSSA_AGG SQL: NSDM_V_MSSA_AGG Type: view

MSSA Compatibility View: Aggregation

nsdm_e_mssa_agg is a CDS View that provides data about "MSSA Compatibility View: Aggregation" in SAP S/4HANA. It reads from 1 data source (matdoc_extract) and exposes 10 fields with key fields mandt, matnr, werks, sobkz, vbeln.

Data Sources (1)

SourceAliasJoin Type
matdoc_extract matdoc_extract from

Annotations (11)

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

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY mandt mandt Editing Client
KEY matnr matbf Stock Mat.
KEY werks werks Receiving Plant
KEY sobkz
KEY vbeln mat_kdauf SD Doc of Inv.
KEY posnr mat_kdpos SD Item of Inv.
KEY lbbsa lbbsa_sid Stock Type
gjper_max
cpudt_min
kzbws kzbws Valuation

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_mssa_agg.
-- 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_MSSA_AGG

CREATE VIEW nsdm_e_mssa_agg AS
SELECT
  mandt,
  matbf AS matnr,
  werks,
  case sobkz when 'F' then 'E' else sobkz end AS sobkz,
  mat_kdauf AS vbeln,
  mat_kdpos AS posnr,
  lbbsa_sid AS lbbsa,
  max(gjper_curr_per) AS gjper_max,
  min(cpudt_l2) AS cpudt_min,
  kzbws
FROM matdoc_extract
;