SHSM_M_MWAKB

DDL: SHSM_M_MWAKB SQL: SHSMMMWAKB Type: view

SHSM_M_MWAKB is a CDS View in SAP S/4HANA. It reads from 1 data source (m_mwakb) and exposes 14 fields with key fields abeln, abelp, apstp, filkl, lifnr. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
m_mwakb m_mwakb from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.lifnr = _Supplier.Supplier

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName SHSMMMWAKB view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey abelp view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY abeln
KEY abelp
KEY apstp
KEY filkl
KEY lifnr
KEY matkl
KEY matnr
KEY vzent
retpo
sbeln
astra
aufar
IsBusinessPurposeCompleted _Supplier IsBusinessPurposeCompleted Purpose Completed
AuthorizationGroup _Supplier AuthorizationGroup AuthorizGroup

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 SHSM_M_MWAKB.
-- 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: SHSMMMWAKB

CREATE VIEW SHSM_M_MWAKB AS
SELECT
  cast( m_mwakb.abeln as abeln preserving type ) AS abeln,
  cast( m_mwakb.abelp as abelp preserving type ) AS abelp,
  cast( m_mwakb.apstp as apstp preserving type ) AS apstp,
  cast( m_mwakb.filkl as filkl preserving type ) AS filkl,
  cast( m_mwakb.lifnr as lifnr preserving type ) AS lifnr,
  cast( m_mwakb.matkl as matkl preserving type ) AS matkl,
  cast( m_mwakb.matnr as matnr preserving type ) AS matnr,
  cast( m_mwakb.vzent as vzent preserving type ) AS vzent,
  cast( m_mwakb.retpo as retpo preserving type ) AS retpo,
  cast( m_mwakb.sbeln as sbeln preserving type ) AS sbeln,
  cast( m_mwakb.astra as astra preserving type ) AS astra,
  cast( m_mwakb.aufar as aufar preserving type ) AS aufar,
  _Supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _Supplier.AuthorizationGroup AS AuthorizationGroup
FROM m_mwakb
LEFT OUTER JOIN I_Supplier AS _Supplier ON lifnr = _Supplier.Supplier  -- association [0..1]
;