/merp/mm_Material_Plant

DDL: /MERP/MM_MATERIAL_PLANT SQL: /MERP/MM_MAPLANT Type: view

CDS View: Material Plant View

/merp/mm_Material_Plant is a CDS View that provides data about "CDS View: Material Plant View" in SAP S/4HANA. It reads from 4 data sources (makt, mara, nsdm_e_marc, t006) and exposes 222 fields with key fields matnr, werks.

Data Sources (4)

SourceAliasJoin Type
makt makt left_outer
mara mara from
nsdm_e_marc marc inner
t006 t006 inner

Parameters (1)

NameTypeDefault
p_langu spras

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName /MERP/MM_MAPLANT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality P view
ObjectModel.usageType.sizeCategory XL view
ObjectModel.usageType.dataClass MASTER view
EndUserText.label CDS View: Material Plant View view

Fields (222)

KeyFieldSource TableSource FieldDescription
KEY matnr mara matnr Vehicle Model
KEY werks nsdm_e_marc werks Receiving Plant
mtart mara mtart Product Type
mbrsh mara mbrsh Industry
matkl mara matkl Product Sold Group
meins mara meins Valuation Unit
xchpf mara xchpf Batch Mgmt Rqt(Plnt)
ean11 mara ean11 EAN/UPC
mfrpn mara mfrpn Mfr Part Number
mfrnr mara mfrnr Manufacturer
prdha mara prdha Prod.Hierarchy
serial mara serial SerialNoProfile
maktx makt maktx Product Description
pstat nsdm_e_marc pstat Processing Status
lvorm nsdm_e_marc lvorm Stock del. flag
bwtty nsdm_e_marc bwtty Valuation Cat.
xchar nsdm_e_marc xchar HU assignment
mmsta nsdm_e_marc mmsta Primary Status
mmstd nsdm_e_marc mmstd Valid From
maabc nsdm_e_marc maabc ABC Indicator
kzkri nsdm_e_marc kzkri Critical Part
ekgrp nsdm_e_marc ekgrp Sub. purchasing grp
ausme nsdm_e_marc ausme Unit of Issue
dispr nsdm_e_marc dispr MRP profile
dismm nsdm_e_marc dismm MRP Type
dispo nsdm_e_marc dispo MRP Controller
kzdie nsdm_e_marc kzdie MRPCtrllr=buyer
plifz nsdm_e_marc plifz Plnd Deliv.Time
webaz nsdm_e_marc webaz GR Proc. Time
perkz nsdm_e_marc perkz Period Type
ausss nsdm_e_marc ausss Assembly scrap
disls nsdm_e_marc disls Lot Sizing Procedure
beskz nsdm_e_marc beskz Procuremt Type
sobsl nsdm_e_marc sobsl SpecProcuremKey
minbe nsdm_e_marc minbe Reorder Point
eisbe nsdm_e_marc eisbe Safety Stock
bstmi nsdm_e_marc bstmi Min. Lot Size
bstma nsdm_e_marc bstma To Lot Size
bstfe nsdm_e_marc bstfe Fixed lot size
bstrf nsdm_e_marc bstrf Rounding value
mabst nsdm_e_marc mabst Max.Stock Level
losfx nsdm_e_marc losfx LSI Costs
sbdkz nsdm_e_marc sbdkz Indiv./ Coll.
lagpr nsdm_e_marc lagpr Storage Costs
altsl nsdm_e_marc altsl SelectionMethod
kzaus nsdm_e_marc kzaus Share of scrap
ausdt nsdm_e_marc ausdt Dunning Date
nfmat nsdm_e_marc nfmat Follow-Up Matl
kzbed nsdm_e_marc kzbed Reqmts grouping
miskz nsdm_e_marc miskz Mixed MRP
fhori nsdm_e_marc fhori Margin Key
pfrei nsdm_e_marc pfrei Autom. fix. pl. ords
ffrei nsdm_e_marc ffrei Autom. release
rgekz nsdm_e_marc rgekz Backflushing
fevor nsdm_e_marc fevor Prodn Supervisor
bearz nsdm_e_marc bearz Processing Time
ruezt nsdm_e_marc ruezt Setup time
tranz nsdm_e_marc tranz Move Time
basmg nsdm_e_marc basmg Base quantity
dzeit nsdm_e_marc dzeit InhseProdTime
maxlz nsdm_e_marc maxlz Max. Storage
lzeih nsdm_e_marc lzeih Time unit
kzpro nsdm_e_marc kzpro Withd.fm.pr.bin
gpmkz nsdm_e_marc gpmkz Rough-Cut Plng
ueeto nsdm_e_marc ueeto Overdeliv. Tol.
ueetk nsdm_e_marc ueetk Unlimited
uneto nsdm_e_marc uneto Underdel. Tol.
wzeit nsdm_e_marc wzeit Total RL time
atpkz nsdm_e_marc atpkz Replacemt Part
vzusl nsdm_e_marc vzusl Surcharge %
herbl nsdm_e_marc herbl State of manufac
insmk nsdm_e_marc insmk Stock Type
sproz nsdm_e_marc sproz Sample %
quazt nsdm_e_marc quazt Quarantine
ssqss nsdm_e_marc ssqss QM Control Key
mpdau nsdm_e_marc mpdau Mean insp. dur.
kzppv nsdm_e_marc kzppv Insp. plan ind.
kzdkz nsdm_e_marc kzdkz Doc. required
wstgh nsdm_e_marc wstgh Active subst.
prfrq nsdm_e_marc prfrq Inspection Interval
nkmpr nsdm_e_marc nkmpr Next inspection
ladgr nsdm_e_marc ladgr Loading Group
usequ nsdm_e_marc usequ Quota arr.usage
lgrad nsdm_e_marc lgrad Target Service Level
auftl nsdm_e_marc auftl Splitting
plvar nsdm_e_marc plvar Plan version
otype nsdm_e_marc otype Type of Val.
objid nsdm_e_marc objid Work Center
mtvfp nsdm_e_marc mtvfp Avail. check
periv nsdm_e_marc periv FYear Variant
kzkfk nsdm_e_marc kzkfk Corr. factors
vrvez nsdm_e_marc vrvez Setup time
vbamg nsdm_e_marc vbamg Base quantity
vbeaz nsdm_e_marc vbeaz Processing time
lizyk nsdm_e_marc lizyk Deactivated
bwscl nsdm_e_marc bwscl Supply source
kautb nsdm_e_marc kautb Autom. PO
kordb nsdm_e_marc kordb Source list
stawn nsdm_e_marc stawn Commodity Code
herkl nsdm_e_marc herkl C/R of Origin
herkr nsdm_e_marc herkr Reg. of Origin
expme nsdm_e_marc expme Comm. code unit
mtver nsdm_e_marc mtver Intrastat Group
prctr nsdm_e_marc prctr Profit Centers
mrppp nsdm_e_marc mrppp Planning cal.
sauft nsdm_e_marc sauft Repetitive Mfg
fxhor nsdm_e_marc fxhor Plng time fence
vrmod nsdm_e_marc vrmod Consmption mode
vint1 nsdm_e_marc vint1 Bwd cons. per.
vint2 nsdm_e_marc vint2 Fwd cons.period
verkz nsdm_e_marc verkz Version
stlal nsdm_e_marc stlal AlternativeBOM
stlan nsdm_e_marc stlan Usage
plnnr nsdm_e_marc plnnr Task List Group
aplal nsdm_e_marc aplal Group Counter
losgr nsdm_e_marc losgr Cstg Lot Size
sobsk nsdm_e_marc sobsk SpecProcType
frtme nsdm_e_marc frtme Production unit
lgpro nsdm_e_marc lgpro Storage Location
disgr nsdm_e_marc disgr MRP Group
kausf nsdm_e_marc kausf Component Scrap
qzgtp nsdm_e_marc qzgtp CertificateType
qmatv nsdm_e_marc qmatv Insp. Setup
takzt nsdm_e_marc takzt Takt time
rwpro nsdm_e_marc rwpro Coverage Prof.
copam nsdm_e_marc copam Field name
abcin nsdm_e_marc abcin CC Phys. Inv.
awsls nsdm_e_marc awsls Variance key
sernp nsdm_e_marc sernp SerialNoProfile
cuobj nsdm_e_marc cuobj Object Number
stdpd nsdm_e_marc stdpd Conf. Material
sfepr nsdm_e_marc sfepr REM Profile
xmcng nsdm_e_marc xmcng Neg. Stocks
qssys nsdm_e_marc qssys Target QM Sys.
lfrhy nsdm_e_marc lfrhy Planning Cycle
rdprf nsdm_e_marc rdprf Rounding Prfl.
vrbmt nsdm_e_marc vrbmt Ref.matl: cons.
vrbwk nsdm_e_marc vrbwk Ref.plant:cons.
vrbdt nsdm_e_marc vrbdt Date to
vrbfk nsdm_e_marc vrbfk Multiplier
autru nsdm_e_marc autru Autom.reset
prefe nsdm_e_marc prefe Cus. Preference
prenc nsdm_e_marc prenc Exemption cert.
preno nsdm_e_marc preno Exempt.cert.no.
prend nsdm_e_marc prend Iss.date of crt
prene nsdm_e_marc prene Vendor decl.
preng nsdm_e_marc preng Vdr decl. date
itark nsdm_e_marc itark Military goods
servg nsdm_e_marc servg Service Level
kzkup nsdm_e_marc kzkup Co-Product
strgr nsdm_e_marc strgr Strategy Group
cuobv nsdm_e_marc cuobv Int. object no.
lgfsb nsdm_e_marc lgfsb Storage Location
schgt nsdm_e_marc schgt Bulk material
ccfix nsdm_e_marc ccfix CC ind. fixed
eprio nsdm_e_marc eprio Withdr.Seq.Grp
qmata nsdm_e_marc qmata QM Matl Auth.
resvp nsdm_e_marc resvp Adjustmt period
plnty nsdm_e_marc plnty Task List Type
uomgr nsdm_e_marc uomgr UoM Group
umrsl nsdm_e_marc umrsl Conv. Group
abfac nsdm_e_marc abfac Air Buoy. Fact.
sfcpf nsdm_e_marc sfcpf Prod. Sched. Profile
shflg nsdm_e_marc shflg Safety Time Ind
shzet nsdm_e_marc shzet Safety Time
mdach nsdm_e_marc mdach Action Control
kzech nsdm_e_marc kzech Enter batch
megru nsdm_e_marc megru UoM Group
mfrgr nsdm_e_marc mfrgr Prod.Frgt Group
kzagl nsdm_e_marc kzagl Smth prom. cons
fvidk nsdm_e_marc fvidk Prod. Version
fxpru nsdm_e_marc fxpru Fixed-Price Co-Prod.
loggr nsdm_e_marc loggr Logistics group
fprfm nsdm_e_marc fprfm Dist.prof.
indus nsdm_e_marc indus Mat. category
mownr nsdm_e_marc mownr EU prod.list no.
mogru nsdm_e_marc mogru CAP prod. group
casnr nsdm_e_marc casnr CAS no.(pharm.)
gpnum nsdm_e_marc gpnum PRODCOM no.
steuc nsdm_e_marc steuc Control Code
fabkz nsdm_e_marc fabkz Sched. Agr. Forecast
matgr nsdm_e_marc matgr Mat. Grouping
vspvb nsdm_e_marc vspvb Supply Area
dplfs nsdm_e_marc dplfs Fair share rule
dplpu nsdm_e_marc dplpu Push distribution
dplho nsdm_e_marc dplho Deploymnt hrzn
minls nsdm_e_marc minls Min. Lot Size
maxls nsdm_e_marc maxls Max. Lot Size
fixls nsdm_e_marc fixls Fix. lot size
ltinc nsdm_e_marc ltinc Lot size incr.
compl nsdm_e_marc compl This field is no longer used
convt nsdm_e_marc convt Conv. type
shpro nsdm_e_marc shpro Time Profile
ahdis nsdm_e_marc ahdis MRP Relevant
diber nsdm_e_marc diber MRP area exists
kzpsp nsdm_e_marc kzpsp Cross-Project
ocmpf nsdm_e_marc ocmpf Overall profile
apokz nsdm_e_marc apokz Relevant to APO
mcrue nsdm_e_marc mcrue MARDH rec. already exists for per. before last of MARD per.
lfmon nsdm_e_marc lfmon Current Period
lfgja nsdm_e_marc lfgja Year Cur.Period
eislo nsdm_e_marc eislo Min. Saf. Stock
ncost nsdm_e_marc ncost Do Not Cost
uchkz nsdm_e_marc uchkz OB Management
ucmat nsdm_e_marc ucmat PB Material
sgt_covs nsdm_e_marc sgt_covs Segment. Strategy
sgt_statc nsdm_e_marc sgt_statc Seg. Status MRP
sgt_scope nsdm_e_marc sgt_scope Seg. Scope
sgt_mrpsi nsdm_e_marc sgt_mrpsi Sort Stock
sgt_prcm nsdm_e_marc sgt_prcm Cons. Prio.
sgt_chint nsdm_e_marc sgt_chint Discr.Batch No.
sgt_stk_prt nsdm_e_marc sgt_stk_prt Stk Prot.
fsh_seaim nsdm_e_marc fsh_seaim Season Act. IM
cons_procg nsdm_e_marc cons_procg Consign.Control
gi_pr_time nsdm_e_marc gi_pr_time GI Proc.Time
ref_schema nsdm_e_marc ref_schema Deter. Schema
min_troc nsdm_e_marc min_troc Minimum Target Range
max_troc nsdm_e_marc max_troc Maximum Target Range
target_stock nsdm_e_marc target_stock Target Stock
vsor_pkgrp nsdm_e_marc /vso/r_pkgrp
iuid_type nsdm_e_marc iuid_type IUID Type
uid_iea nsdm_e_marc uid_iea Ext. Allocation

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 /merp/mm_Material_Plant.
-- 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: /MERP/MM_MAPLANT
-- Parameters: p_langu : spras

CREATE VIEW /merp/mm_Material_Plant AS
SELECT
  mara.matnr AS matnr,
  marc.werks AS werks,
  mara.mtart AS mtart,
  mara.mbrsh AS mbrsh,
  mara.matkl AS matkl,
  mara.meins AS meins,
  mara.xchpf AS xchpf,
  mara.ean11 AS ean11,
  mara.mfrpn AS mfrpn,
  mara.mfrnr AS mfrnr,
  mara.prdha AS prdha,
  mara.serial AS serial,
  makt.maktx AS maktx,
  marc.pstat AS pstat,
  marc.lvorm AS lvorm,
  marc.bwtty AS bwtty,
  marc.xchar AS xchar,
  marc.mmsta AS mmsta,
  marc.mmstd AS mmstd,
  marc.maabc AS maabc,
  marc.kzkri AS kzkri,
  marc.ekgrp AS ekgrp,
  marc.ausme AS ausme,
  marc.dispr AS dispr,
  marc.dismm AS dismm,
  marc.dispo AS dispo,
  marc.kzdie AS kzdie,
  marc.plifz AS plifz,
  marc.webaz AS webaz,
  marc.perkz AS perkz,
  marc.ausss AS ausss,
  marc.disls AS disls,
  marc.beskz AS beskz,
  marc.sobsl AS sobsl,
  marc.minbe AS minbe,
  marc.eisbe AS eisbe,
  marc.bstmi AS bstmi,
  marc.bstma AS bstma,
  marc.bstfe AS bstfe,
  marc.bstrf AS bstrf,
  marc.mabst AS mabst,
  marc.losfx AS losfx,
  marc.sbdkz AS sbdkz,
  marc.lagpr AS lagpr,
  marc.altsl AS altsl,
  marc.kzaus AS kzaus,
  marc.ausdt AS ausdt,
  marc.nfmat AS nfmat,
  marc.kzbed AS kzbed,
  marc.miskz AS miskz,
  marc.fhori AS fhori,
  marc.pfrei AS pfrei,
  marc.ffrei AS ffrei,
  marc.rgekz AS rgekz,
  marc.fevor AS fevor,
  marc.bearz AS bearz,
  marc.ruezt AS ruezt,
  marc.tranz AS tranz,
  marc.basmg AS basmg,
  marc.dzeit AS dzeit,
  marc.maxlz AS maxlz,
  marc.lzeih AS lzeih,
  marc.kzpro AS kzpro,
  marc.gpmkz AS gpmkz,
  marc.ueeto AS ueeto,
  marc.ueetk AS ueetk,
  marc.uneto AS uneto,
  marc.wzeit AS wzeit,
  marc.atpkz AS atpkz,
  marc.vzusl AS vzusl,
  marc.herbl AS herbl,
  marc.insmk AS insmk,
  marc.sproz AS sproz,
  marc.quazt AS quazt,
  marc.ssqss AS ssqss,
  marc.mpdau AS mpdau,
  marc.kzppv AS kzppv,
  marc.kzdkz AS kzdkz,
  marc.wstgh AS wstgh,
  marc.prfrq AS prfrq,
  marc.nkmpr AS nkmpr,
  marc.ladgr AS ladgr,
  marc.usequ AS usequ,
  marc.lgrad AS lgrad,
  marc.auftl AS auftl,
  marc.plvar AS plvar,
  marc.otype AS otype,
  marc.objid AS objid,
  marc.mtvfp AS mtvfp,
  marc.periv AS periv,
  marc.kzkfk AS kzkfk,
  marc.vrvez AS vrvez,
  marc.vbamg AS vbamg,
  marc.vbeaz AS vbeaz,
  marc.lizyk AS lizyk,
  marc.bwscl AS bwscl,
  marc.kautb AS kautb,
  marc.kordb AS kordb,
  marc.stawn AS stawn,
  marc.herkl AS herkl,
  marc.herkr AS herkr,
  marc.expme AS expme,
  marc.mtver AS mtver,
  marc.prctr AS prctr,
  marc.mrppp AS mrppp,
  marc.sauft AS sauft,
  marc.fxhor AS fxhor,
  marc.vrmod AS vrmod,
  marc.vint1 AS vint1,
  marc.vint2 AS vint2,
  marc.verkz AS verkz,
  marc.stlal AS stlal,
  marc.stlan AS stlan,
  marc.plnnr AS plnnr,
  marc.aplal AS aplal,
  marc.losgr AS losgr,
  marc.sobsk AS sobsk,
  marc.frtme AS frtme,
  marc.lgpro AS lgpro,
  marc.disgr AS disgr,
  marc.kausf AS kausf,
  marc.qzgtp AS qzgtp,
  marc.qmatv AS qmatv,
  marc.takzt AS takzt,
  marc.rwpro AS rwpro,
  marc.copam AS copam,
  marc.abcin AS abcin,
  marc.awsls AS awsls,
  marc.sernp AS sernp,
  marc.cuobj AS cuobj,
  marc.stdpd AS stdpd,
  marc.sfepr AS sfepr,
  marc.xmcng AS xmcng,
  marc.qssys AS qssys,
  marc.lfrhy AS lfrhy,
  marc.rdprf AS rdprf,
  marc.vrbmt AS vrbmt,
  marc.vrbwk AS vrbwk,
  marc.vrbdt AS vrbdt,
  marc.vrbfk AS vrbfk,
  marc.autru AS autru,
  marc.prefe AS prefe,
  marc.prenc AS prenc,
  marc.preno AS preno,
  marc.prend AS prend,
  marc.prene AS prene,
  marc.preng AS preng,
  marc.itark AS itark,
  marc.servg AS servg,
  marc.kzkup AS kzkup,
  marc.strgr AS strgr,
  marc.cuobv AS cuobv,
  marc.lgfsb AS lgfsb,
  marc.schgt AS schgt,
  marc.ccfix AS ccfix,
  marc.eprio AS eprio,
  marc.qmata AS qmata,
  marc.resvp AS resvp,
  marc.plnty AS plnty,
  marc.uomgr AS uomgr,
  marc.umrsl AS umrsl,
  marc.abfac AS abfac,
  marc.sfcpf AS sfcpf,
  marc.shflg AS shflg,
  marc.shzet AS shzet,
  marc.mdach AS mdach,
  marc.kzech AS kzech,
  marc.megru AS megru,
  marc.mfrgr AS mfrgr,
  marc.kzagl AS kzagl,
  marc.fvidk AS fvidk,
  marc.fxpru AS fxpru,
  marc.loggr AS loggr,
  marc.fprfm AS fprfm,
  marc.indus AS indus,
  marc.mownr AS mownr,
  marc.mogru AS mogru,
  marc.casnr AS casnr,
  marc.gpnum AS gpnum,
  marc.steuc AS steuc,
  marc.fabkz AS fabkz,
  marc.matgr AS matgr,
  marc.vspvb AS vspvb,
  marc.dplfs AS dplfs,
  marc.dplpu AS dplpu,
  marc.dplho AS dplho,
  marc.minls AS minls,
  marc.maxls AS maxls,
  marc.fixls AS fixls,
  marc.ltinc AS ltinc,
  marc.compl AS compl,
  marc.convt AS convt,
  marc.shpro AS shpro,
  marc.ahdis AS ahdis,
  marc.diber AS diber,
  marc.kzpsp AS kzpsp,
  marc.ocmpf AS ocmpf,
  marc.apokz AS apokz,
  marc.mcrue AS mcrue,
  marc.lfmon AS lfmon,
  marc.lfgja AS lfgja,
  marc.eislo AS eislo,
  marc.ncost AS ncost,
  marc.uchkz AS uchkz,
  marc.ucmat AS ucmat,
  marc.sgt_covs AS sgt_covs,
  marc.sgt_statc AS sgt_statc,
  marc.sgt_scope AS sgt_scope,
  marc.sgt_mrpsi AS sgt_mrpsi,
  marc.sgt_prcm AS sgt_prcm,
  marc.sgt_chint AS sgt_chint,
  marc.sgt_stk_prt AS sgt_stk_prt,
  marc.fsh_seaim AS fsh_seaim,
  marc.cons_procg AS cons_procg,
  marc.gi_pr_time AS gi_pr_time,
  marc.ref_schema AS ref_schema,
  marc.min_troc AS min_troc,
  marc.max_troc AS max_troc,
  marc.target_stock AS target_stock,
  marc./vso/r_pkgrp AS vsor_pkgrp,
  marc.iuid_type AS iuid_type,
  marc.uid_iea AS uid_iea
FROM mara
INNER JOIN nsdm_e_marc AS marc ON /* join condition not captured in parsed metadata */
INNER JOIN t006 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN makt ON /* join condition not captured in parsed metadata */
;