F_Mmim_Matdoc_Item_Ha

DDL: F_MMIM_MATDOC_ITEM_HA SQL: FMMIMMATDOCITMHA Type: view

Matdoc Items

F_Mmim_Matdoc_Item_Ha is a CDS View that provides data about "Matdoc Items" in SAP S/4HANA. It reads from 2 data sources (F_Mmim_Matdoc_Item_Hm, matdoc) and exposes 118 fields with key fields mblnr, mjahr, zeile, mjahr, zeile.

Data Sources (2)

SourceAliasJoin Type
F_Mmim_Matdoc_Item_Hm F_Mmim_Matdoc_Item_Hm union_all
matdoc matdoc from

Annotations (9)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName FMMIMMATDOCITMHA view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Matdoc Items view

Fields (118)

KeyFieldSource TableSource FieldDescription
KEY mblnr mblnr Material Doc.
KEY mjahr mjahr Mat. Doc. Year
KEY zeile zeile Mat. Doc.Item
lgort lgort Sublocation
lifnr_sid lifnr_sid Supplier SID
lifnr lifnr Vendor no.
emlif emlif Supplier
mat_kdauf mat_kdauf SD Doc of Inv.
kdauf kdauf SD Document
mat_kdpos mat_kdpos SD Item of Inv.
kdpos kdpos Sales Ord. Item
kunnr kunnr Stock customer
werks werks Receiving Plant
lbbsa_sid lbbsa_sid Stock Type
ummat ummat Receiving Mat.
umwrk umwrk Receiving plant
umlgo umlgo Receiving SLoc.
umcha umcha Receiving Batch
umbar umbar Val. Type Tfr.
lbbsa_cid lbbsa_cid Stock Type
cancelled cancelled Item Discarded
matnr matnr Vehicle Model
bwart bwart Valuation Type
grund grund Reason for mvt.
sobkz sobkz Special Stock
bwtar bwtar Valuation Type
kzbew kzbew Movement ind.
kzzug kzzug Receipt Ind.
kzvbr kzvbr Consumption
charg charg_whs_sg Chargeable Proc.
aufnr aufnr SettlementOrder
work_item_id work_item_id Work Item ID
pernr pernr Personnel no.
sgtxt sgtxt Text
knttp_gr knttp_gr Acct Assgmt Cat
vfdat vfdat SLED/BBD
hsdat hsdat Date of Manuf.
weunb weunb GR Non-Valuated
xmacc xmacc Multi Acct Assgt
ebeln ebeln Source PurchDoc
ebelp ebelp Item pur. doc.
vbeln_im vbeln_im Delivery
vbelp_im vbelp_im Item
mat_pspnr mat_pspnr WBSElem of Inv.
ps_psp_pnr ps_psp_pnr WBS Element
shkzg shkzg Returns
erfme erfme Unit of Entry
erfmg erfmg Quantity in UnE
line_id line_id Object Key
parent_id parent_id UUID
weanz weanz No. of GR Slips
nroflabels nroflabels No. of Labels
StockSegment sgt_scat Stock Segment
ProductSeasonYear fsh_season_year Season Year
ProductSeason fsh_season Season
ProductCollection fsh_collection Collection
ProductTheme fsh_theme Theme
ewm_lgnum ewm_lgnum Warehouse No.
ewm_gmdoc ewm_gmdoc Warehouse Document
KEY mjahr mjahr Mat. Doc. Year
KEY zeile zeile Mat. Doc.Item
lgort lgort Sublocation
lifnr_sid lifnr_sid Supplier SID
lifnr lifnr Vendor no.
emlif emlif Supplier
mat_kdauf mat_kdauf SD Doc of Inv.
kdauf kdauf SD Document
mat_kdpos mat_kdpos SD Item of Inv.
kdpos kdpos Sales Ord. Item
kunnr kunnr Stock customer
werks werks Receiving Plant
lbbsa_sid lbbsa_sid Stock Type
ummat ummat Receiving Mat.
umwrk umwrk Receiving plant
umlgo umlgo Receiving SLoc.
umcha umcha Receiving Batch
umbar umbar Val. Type Tfr.
lbbsa_cid lbbsa_cid Stock Type
cancelled cancelled Item Discarded
matnr matnr Vehicle Model
bwart bwart Valuation Type
grund grund Reason for mvt.
sobkz sobkz Special Stock
bwtar bwtar Valuation Type
kzbew kzbew Movement ind.
kzzug kzzug Receipt Ind.
kzvbr kzvbr Consumption
charg charg Chargeable Proc.
aufnr aufnr SettlementOrder
work_item_id work_item_id Work Item ID
pernr pernr Personnel no.
sgtxt sgtxt Text
knttp_gr knttp_gr Acct Assgmt Cat
vfdat vfdat SLED/BBD
hsdat hsdat Date of Manuf.
weunb weunb GR Non-Valuated
xmacc xmacc Multi Acct Assgt
ebeln ebeln Source PurchDoc
ebelp ebelp Item pur. doc.
vbeln_im vbeln_im Delivery
vbelp_im vbelp_im Item
mat_pspnr mat_pspnr WBSElem of Inv.
ps_psp_pnr ps_psp_pnr WBS Element
shkzg shkzg Returns
erfme erfme Unit of Entry
erfmg Quantity in UnE
line_id line_id Object Key
parent_id parent_id UUID
weanz weanz No. of GR Slips
nroflabels nroflabels No. of Labels
StockSegment StockSegment Stock Segment
ProductSeasonYear ProductSeasonYear Season Year
ProductSeason ProductSeason Season
ProductCollection ProductCollection Collection
ProductTheme ProductTheme Theme
ewm_lgnum ewm_lgnum Warehouse No.
ewm_gmdoc ewm_gmdoc Warehouse Document
ewm_huident ewm_huident Handling Unit

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 F_Mmim_Matdoc_Item_Ha.
-- 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: FMMIMMATDOCITMHA

CREATE VIEW F_Mmim_Matdoc_Item_Ha AS
SELECT
  mblnr,
  mjahr,
  zeile,
  lgort,
  lifnr_sid,
  lifnr,
  emlif,
  mat_kdauf,
  kdauf,
  mat_kdpos,
  kdpos,
  kunnr,
  werks,
  lbbsa_sid,
  ummat,
  umwrk,
  umlgo,
  umcha,
  umbar,
  lbbsa_cid,
  cancelled,
  matnr,
  bwart,
  grund,
  sobkz,
  bwtar,
  kzbew,
  kzzug,
  kzvbr,
  charg_whs_sg AS charg,
  aufnr,
  work_item_id,
  pernr,
  sgtxt,
  knttp_gr,
  vfdat,
  hsdat,
  weunb,
  xmacc,
  ebeln,
  ebelp,
  vbeln_im,
  vbelp_im,
  mat_pspnr,
  ps_psp_pnr,
  shkzg,
  erfme,
  erfmg,
  line_id,
  parent_id,
  weanz,
  nroflabels,
  sgt_scat AS StockSegment,
  fsh_season_year AS ProductSeasonYear,
  fsh_season AS ProductSeason,
  fsh_collection AS ProductCollection,
  fsh_theme AS ProductTheme,
  ewm_lgnum,
  ewm_gmdoc,
  ewm_huident
FROM matdoc
-- UNION ALL with additional select branch(es): F_Mmim_Matdoc_Item_Hm
;