You are on page 1of 12

LSMW - Examples

Project: Subproject: Object:

PROJECT00 LOGISTICS IDOCMATLE

LSMW examples Logistics Data Material master via IDOC

Data transfer program: MATMAS03 Data transfer method: I (IDoc)

Source structures
MATL - material master basic data MATL2 - material master consumption data

Target struct.
E1MARAM - Master material general data (MARA) E1MAKTM - Master material short texts (MAKT) E1MARCM - Master material C segment (MARC) E1MVEGM - Master material total consumption E1MARMM - Master material units of measure (MARM) E1MBEWM - Master material material valuation (MBEW)

Structure relations
E1MARAM <=== MATL E1MAKTM <=== MATL E1MARCM <=== MATL E1MVEGM <=== MATL2 E1MARMM <=== MATL E1MBEWM <=== MATL

Source fields
MATL - material master basic data MATNR material number MATTYPE material type SECTOR industry sector PLANT plant LOCATION storage location COMPCODE company code UNIT unit of measure TEXT short text STATUS status to be transfered MATGROUP material group TRANSGR transportation group LOADGR loading group 11.04.13

Type:C Type:C Type:C Type:C Type:C Type:C Type:C Type:C Type:C Type:C Type:C Type:C

Lgth:010 Lgth:004 Lgth:004 Lgth:004 Lgth:004 Lgth:004 Lgth:002 Lgth:020 Lgth:015 Lgth:005 Lgth:004 Lgth:004

Position:0001 Position:0002 Position:0003 Position:0004 Position:0005 Position:0006 Position:0007 Position:0008 Position:0009 Position:0010 Position:0011 Position:0012 -1-

LSMW - Examples
PURCHGR MRP MRPCONTR LOT CHECKGR PERIOD SCHED STORCOST purchasing group MRP type MRP controller lot size check group for availability period indicator sched marg. key for floats storage costs indicator Type:C Lgth:003 Position:0013 Type:C Type:C Type:C Type:C Type:C Type:C Type:C Lgth:002 Lgth:003 Lgth:002 Lgth:002 Lgth:001 Lgth:003 Lgth:001 Position:0014 Position:0015 Position:0016 Position:0017 Position:0018 Position:0019 Position:0020

MATL2 - material master consumption data MATNR material number CONDATE consumption date CONVALUE consumption value

Type:C Lgth:010 Position:0001 Type:C Lgth:008 Position:0002 Type:C Lgth:010 Position:0003

Target fields
E1MARAM - Master material general data (MARA) MSGFN Function MATNR Material number ERSDA Creation date ERNAM Name of Person who Created the Object LAEDA Date of last change AENAM Name of person who changed object PSTAT Maintenance status LVORM Flag Material for Deletion at Client Level MTART Material type MBRSH Industry sector MATKL Material group BISMT Old material number MEINS Base unit of measure BSTME Order unit ZEINR Document number (without document management system) ZEIAR Document type (without Document Management system) ZEIVR Document version (without Document Management system) ZEIFO Page format of document (w/o Document Management sys.) AESZN Document change number (w/o document management sys.) BLATT Page number of document (w/o Document Management sys.) BLANZ Number of sheets (without Document Management system) FERTH Production/inspection memo FORMT Page Format of Production Memo GROES Size/dimensions WRKST Basic material (basic constituent of a material) NORMT Industry Standard Description (such as ANSI or ISO) LABOR Laboratory/design office EKWSL Purchasing value key BRGEW Gross weight NTGEW Net weight GEWEI Weight Unit VOLUM Volume VOLEH Volume unit BEHVO Container requirements RAUBE Storage conditions TEMPB Temperature conditions indicator TRAGR Transportation group STOFF Hazardous material number SPART Division KUNNR Competitor WESCH Quantity: Number of GR/GI slips to be printed BWVOR Procurement rule BWSCL Source of Supply SAISO Season category ETIAR Label type ETIFO Label form EAN11 International Article Number (EAN/UPC) Type:CHAR Type:CHAR Type:DATS Type:CHAR Type:DATS Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:UNIT Type:UNIT Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:QUAN Type:UNIT Type:QUAN Type:UNIT Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Lgth:003 Lgth:018 Lgth:008 Lgth:012 Lgth:008 Lgth:012 Lgth:015 Lgth:001 Lgth:004 Lgth:001 Lgth:009 Lgth:018 Lgth:003 Lgth:003 Lgth:022 Lgth:003 Lgth:002 Lgth:004 Lgth:006 Lgth:003 Lgth:003 Lgth:018 Lgth:004 Lgth:032 Lgth:014 Lgth:018 Lgth:003 Lgth:004 Lgth:014 Lgth:014 Lgth:003 Lgth:014 Lgth:003 Lgth:002 Lgth:002 Lgth:002 Lgth:004 Lgth:018 Lgth:002 Lgth:010 Lgth:014 Lgth:001 Lgth:001 Lgth:004 Lgth:002 Lgth:002 Lgth:018

11.04.13

-2-

LSMW - Examples
NUMTP LAENG BREIT HOEHE MEABM PRDHA CADKZ ERGEW ERGEI ERVOL ERVOE GEWTO VOLTO VABME KZKFG XCHPF VHART FUELG STFAK MAGRV BEGRU QMPUR RBNRM MHDRZ MHDHB MHDLP VPSTA EXTWG MSTAE MSTAV MSTDE MSTDV KZUMW KOSCH NRFHG MFRPN MFRNR BMATN MPROF PROFL IHIVI ILOOS KZGVH XGCHP COMPL KZEFF RDMHD IPRKZ PRZUS MTPOS_MARA GEWTO_NEW VOLTO_NEW WRKST_NEW Number category of International Article Number (EAN) Length Width Height Unit of dimension for length/width/height Product hierarchy CAD indicator Allowed packaging weight Weight Unit Allowed packaging volume Volume unit Excess weight tolerance for shipping unit Excess volume tolerance limit during packing Variable order unit active Configurable Material Batch management requirement indicator Shipping material type Filling level (by volume) Stacking factor Material group: shipping materials Authorization group QM in Procurement is Active Catalog Profile Minimum remaining shelf life Total shelf life Storage percentage Maintenance status of complete material External material group Cross-Plant Material Status Cross-distribution-chain material status Date from which cross-plant material status is valid Date from which X-distr.-chain mat.- status is valid Indicator: Environmentally relevant Product allocation determination procedure Material qualifies for discount in kind Manufacturer part number Manufacturer number To material number Mfr part profile Dangerous goods indicator profile Indicator: Highly viscous Indicator: In bulk/liquid Shipping material is closed packaging Indicator: Approved batch record required Material completion level Assign effectivity parameter values/ Rounding rule for calculation of SLED Period indicator for shelf life expiration date Indicator: Product composition printed on packaging General item category group Excess weight tolerance for shipping unit Excess volume tolerance limit during packing Basic Material Type:CHAR Type:QUAN Type:QUAN Type:QUAN Type:UNIT Type:CHAR Type:CHAR Type:QUAN Type:UNIT Type:QUAN Type:UNIT Type:DEC Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:INT2 Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:DEC Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DATS Type:DATS Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:DEC Type:CHAR Type:CHAR Type:LANG Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Lgth:002 Lgth:014 Lgth:014 Lgth:014 Lgth:003 Lgth:018 Lgth:001 Lgth:014 Lgth:003 Lgth:014 Lgth:003 Lgth:003 Lgth:003 Lgth:001 Lgth:001 Lgth:001 Lgth:004 Lgth:003 Lgth:005 Lgth:004 Lgth:004 Lgth:001 Lgth:009 Lgth:006 Lgth:006 Lgth:005 Lgth:015 Lgth:018 Lgth:002 Lgth:002 Lgth:008 Lgth:008 Lgth:001 Lgth:018 Lgth:001 Lgth:040 Lgth:010 Lght:018 Lgth:004 Lgth:003 Lgth:001 Lgth:001 Lgth:001 Lgth:001 Lgth:002 Lgth:001 Lgth:001 Lgth:001 Lgth:001 Lgth:004 Lgth:005 Lgth:005 Lgth:048 Lgth:003 Lgth:001 Lgth:040 Lgth:002 Lgth:003 Lgth:004 Lgth:015 Lgth:001 Lgth:001 Lgth:001 Lgth:001 Lgth:003

E1MAKTM - Master material short texts (MAKT) MSGFN Function SPRAS Language Key MAKTX Material description SPRAS_ISO Language according to ISO 639 E1MARCM - Master material C segment (MARC) MSGFN Function WERKS Plant PSTAT Maintenance status LVORM Deletion flag BWTTY Valuation category MAABC ABC indicator KZKRI Indicator: Critical part EKGRP Purchasing group

11.04.13

-3-

LSMW - Examples

AUSME DISPR DISMM DISPO PLIFZ WEBAZ PERKZ AUSSS DISLS BESKZ SOBSL MINBE EISBE BSTMI BSTMA BSTFE BSTRF MABST LOSFX SBDKZ LAGPR ALTSL KZAUS AUSDT NFMAT KZBED MISKZ FHORI PFREI FFREI RGEKZ FEVOR BEARZ RUEZT TRANZ BASMG DZEIT MAXLZ LZEIH KZPRO GPMKZ UEETO UEETK UNETO WZEIT ATPKZ VZUSL HERBL INSMK SSQSS KZDKZ UMLMC LADGR XCHPF USEQU LGRAD AUFTL PLVAR OTYPE OBJID MTVFP PERIV KZKFK VRVEZ VBAMG VBEAZ LIZYK BWSCL

Unit of issue Material: MRP profile MRP type MRP controller Planned delivery time in days Goods receipt processing time in days Period indicator Assembly scrap in percent Lot size (materials planning) Procurement Type Special procurement type Reorder point Safety stock Minimum lot size Maximum lot size Fixed lot size Rounding value for purchase order quantity Maximum stock level Ordering costs Dependent reqmts ind. for individual and coll. reqmts Storage costs indicator Method for Selecting Alternative Bills of Material Discontinuation indicator Effective-out date Follow-up material Indicator for Requirements Grouping Mixed MRP indicator Scheduling Margin Key for Floats Indicator: automatic fixing of planned orders Release indicator for production orders Indicator: Backflush Production scheduler Processing time Setup and teardown time Interoperation time Base quantity In-house production time Maximum storage period Unit for maximum storage period Indicator: withdrawal of stock from production bin Indicator: material included in rough-cut planning Overdelivery tolerance limit Indicator: Unlimited overdelivery allowed Underdelivery tolerance limit Total replenishment lead time (in workdays) Replacement part Surcharge factor for cost in percent State of manufacture Post to inspection stock QA control key Documentation required indicator Stock in transfer (plant to plant) Loading group Batch management requirement indicator Quota arrangement usage Service level Splitting Indicator Plan version Object type Object ID Checking group for availability check Fiscal year variant Indicator: take correction factors into account Shipping setup time Base quantity for capacity planning in shipping Shipping processing time Delivery cycle Source of Supply

Type:UNIT Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:DEC Type:CHAR Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:QUAN Type:QUAN Type:QUAN Type:QUAN Type:QUAN Type:QUAN Type:CURR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DATS Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:DEC Type:DEC Type:QUAN Type:DEC Type:DEC Type:UNIT Type:CHAR Type:CHAR Type:DEC Type:CHAR Type:DEC Type:DEC Type:CHAR Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:QUAN Type:DEC Type:CHAR Type:CHAR

Lgth:003 Lgth:004 Lgth:002 Lgth:003 Lgth:003 Lgth:003 Lgth:001 Lgth:005 Lgth:002 Lgth:001 Lgth:002 Lgth:014 Lgth:014 Lgth:014 Lgth:014 Lgth:014 Lgth:014 Lgth:014 Lgth:012 Lgth:001 Lgth:001 Lgth:001 Lgth:001 Lgth:008 Lgth:018 Lgth:001 Lgth:001 Lgth:003 Lgth:001 Lgth:001 Lgth:001 Lgth:003 Lgth:006 Lgth:006 Lgth:006 Lgth:014 Lgth:003 Lgth:005 Lgth:003 Lgth:001 Lgth:001 Lgth:004 Lgth:001 Lgth:004 Lgth:003 Lgth:001 Lgth:005 Lgth:002 Lgth:001 Lgth:008 Lgth:001 Lgth:014 Lgth:004 Lgth:001 Lgth:001 Lgth:004 Lgth:001 Lgth:002 Lgth:002 Lgth:008 Lgth:002 Lgth:002 Lgth:001 Lgth:006 Lgth:014 Lgth:006 Lgth:004 Lgth:001

11.04.13

-4-

LSMW - Examples
KAUTB KORDB STAWN HERKL HERKR EXPME MTVER PRCTR TRAME MRPPP SAUFT FXHOR VRMOD VINT1 VINT2 STLAL STLAN PLNNR APLAL LOSGR SOBSK FRTME LGPRO DISGR KAUSF QZGTP TAKZT RWPRO COPAM ABCIN AWSLS SERNP STDPD SFEPR XMCNG QSSYS LFRHY RDPRF VRBMT VRBWK VRBDT VRBFK AUTRU PREFE PRENC PRENO PREND PRENE PRENG ITARK PRFRQ KZKUP STRGR LGFSB SCHGT CCFIX EPRIO QMATA PLNTY MMSTA SFCPF SHFLG SHZET MDACH KZECH MMSTD MFRGR FVIDK INDUS Indicator: "automatic purchase order allowed" Indicator: Source list requirement Commodity code / Import code number for foreign trade Country of origin of the material Region of origin of material (non-preferential origin) Unit of measure for commodity code (foreign trade) Export/import material group Profit center Stock in transit PPC planning calendar Ind.: Repetitive mfg allowed Planning time fence Consumption mode Consumption period: backward Consumption period: forward Alternative BOM BOM usage Key for task list group Group counter Costing lot size Special Procurement Type for Costing Production unit Issue storage location MRP Group Component scrap in percent Certificate Type Takt time Range of coverage profile Local field name for CO/PA link to SOP Physical inventory indicator for cycle counting Variance key Serial Number Profile Configurable material Repetitive manufacturing profile Negative stocks allowed in plant Required QM System for Vendor Planning cycle Rounding profile Reference material for consumption Reference plant for consumption To date of the material to be copied for consumption Multiplier for reference material for consumption Reset forecast model automatically Preference indicator in export/import Exemption certificate: Indicator for legal control Number of exemption certificate in export/import Issue date of exemption certificate Indicator: Vendor declaration exists Validity date of vendor declaration Indicator: Military goods Character field with field length 7 Indicator: Material can be co-product Planning strategy group Default storage location for external procurement Indicator: bulk material CC indicator is fixed Withdrawal sequence group for stocks Material Authorization Group for Activities in QM Task list type Plant-Specific Material Status Production scheduling profile Safety time indicator (with or without safety time) Safety time (in workdays) Action control: planned order processing Determination of batch entry in the production Date from which plant-specific material status valid Material freight group Production version to be costed Material CFOP category Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:UNIT Type:CHAR Type:CHAR Type:QUAN Type:CHAR Type:CHAR Type:NUMC Type:CHAR Type:NUMC Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:CHAR Type:UNIT Type:CHAR Type:CHAR Type:DEC Type:CHAR Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DATS Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:DATS Type:CHAR Type:DATS Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:CHAR Type:CHAR Type:DATS Type:CHAR Type:CHAR Type:CHAR Lgth:001 Lgth:001 Lgth:017 Lgth:003 Lgth:003 Lgth:003 Lgth:004 Lgth:010 Lgth:015 Lgth:003 Lgth:001 Lgth:003 Lgth:001 Lgth:003 Lgth:003 Lgth:002 Lgth:001 Lgth:008 Lgth:002 Lgth:014 Lgth:002 Lgth:003 Lgth:004 Lgth:004 Lgth:005 Lgth:004 Lgth:003 Lgth:003 Lgth:010 Lgth:001 Lgth:006 Lgth:004 Lgth:018 Lgth:004 Lgth:001 Lgth:004 Lgth:003 Lgth:004 Lgth:018 Lgth:004 Lgth:008 Lgth:005 Lgth:001 Lgth:001 Lgth:001 Lgth:008 Lgth:008 Lgth:001 Lgth:008 Lgth:001 Lgth:007 Lgth:001 Lgth:002 Lgth:004 Lgth:001 Lgth:001 Lgth:004 Lgth:006 Lgth:001 Lgth:002 Lgth:006 Lgth:001 Lgth:002 Lgth:002 Lgth:001 Lgth:008 Lgth:008 Lgth:004 Lgth:002

11.04.13

-5-

LSMW - Examples
MOWNR MOGRU CASNR GPNUM STEUC FABKZ MATGR LOGGR VSPVB DPLFS DPLPU DPLHO MINLS MAXLS FIXLS LTINC COMPL CONVT FPRFM SHPRO FXPRU KZPSP OCMPF APOKZ AHDIS EISLO NCOST MEGRU CAP: Number of CAP products list Common Agricultural Policy: CAS number for pharmaceutical products foreign trade Production stat.: PRODCOM number for foreign trade Control code for consumption taxes in foreign trade Indicator: Item relevant to JIT delivery schedules Group of materials for transition matrix Logistics handling group for workload calculation Proposed Supply Area in Material Master Record Fair share rule Indicator: push distribution Deployment horizon in days Minimum lot size for Supply Demand Match Maximum lot size for Supply Demand Match Fixed lot size for Supply Demand Match Lot size increment for Supply Demand Match Material completion level Conversion types for production figures Distribution profile of material in plant Period profile for safety time Fixed-price co-product Indicator for cross-project material Profile for OCM PP / PS Indicator: Is material relevant for APO MRP relevancy for dependent requirements Minimum safety stock No Costing Unit of measure group Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:QUAN Type:QUAN Type:QUAN Type:QUAN Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:QUAN Type:CHAR Type:CHAR Type:CHAR Type:DATS Type:QUAN Type:QUAN Type:CHAR Type:DEC Type:CHAR Type:UNIT Type:DEC Type:DEC Type:CHAR Type:CHAR Type:QUAN Type:QUAN Type:QUAN Type:UNIT Type:QUAN Type:UNIT Type:QUAN Type:UNIT Type:UNIT Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CURR Type:CURR Type:DEC Type:CHAR Type:CHAR Type:CURR Type:CURR Type:DEC Type:CHAR Lgth:012 Lgth:006 Lgth:015 Lgth:009 Lgth:016 Lgth:001 Lgth:020 Lgth:004 Lgth:010 Lgth:002 Lgth:001 Lgth:004 Lgth:015 Lgth:015 Lgth:015 Lgth:015 Lgth:002 Lgth:002 Lgth:003 Lgth:003 Lgth:001 Lgth:001 Lgth:006 Lgth:001 Lgth:001 Lgth:015 Lgth:001 Lgth:004 Lgth:003 Lgth:008 Lgth:015 Lgth:015 Lgth:001 Lgth:006 Lgth:003 Lgth:003 Lgth:005 Lgth:005 Lgth:018 Lgth:002 Lgth:014 Lgth:014 Lgth:014 Lgth:003 Lgth:014 Lgth:003 Lgth:014 Lgth:003 Lgth:003 Lgth:003 Lgth:004 Lgth:010 Lgth:001 Lgth:001 Lgth:012 Lgth:012 Lgth:005 Lgth:004 Lgth:001 Lgth:012 Lgth:012 Lgth:005 Lgth:004

E1MVEGM - Master material total consumption MSGFN Function ERTAG First day of the period to which the values refer VBWRT Consumption value KOVBW Corrected consumption value KZEXI Checkbox ANTEI Ratio of the corrected value to the original value E1MARMM - Master material units of measure (MARM) MSGFN Function MEINH Alternative unit of measure for stockkeeping unit UMREZ Numerator for Conversion to Base Units of Measure UMREN Denominator for conversion to base units of measure EAN11 International Article Number (EAN/UPC) NUMTP Number category of International Article Number (EAN) LAENG Length BREIT Width HOEHE Height MEABM Unit of dimension for length/width/height VOLUM Volume VOLEH Volume unit BRGEW Gross weight GEWEI Weight Unit MESUB Lower-Level Unit of Measure in a Packing Hierarchy E1MBEWM - Master material material valuation (MBEW) MSGFN Function BWKEY Valuation area BWTAR Valuation type LVORM Deletion flag VPRSV Price control indicator VERPR Moving average price/periodic unit price STPRS Standard price PEINH Price unit BKLAS Valuation class VMVPR Price control indicator for previous period VMVER Moving average/periodic unit price in previous period VMSTP Standard price in the previous period VMPEI Price unit of previous period VMBKL Valuation class of previous period

11.04.13

-6-

LSMW - Examples

VJVPR VJVER VJSTP LFGJA LFMON BWTTY ZKPRS ZKDAT BWPRS BWPRH VJBWS VJBWH VVJLB VVMLB VVSAL ZPLPR ZPLP1 ZPLP2 ZPLP3 ZPLD1 ZPLD2 ZPLD3 KALKZ KALKL XLIFO MYPOL BWPH1 BWPS1 ABWKZ PSTAT KALN1 KALNR BWVA1 BWVA2 BWVA3 VERS1 VERS2 VERS3 HRKFT KOSGR PPRDZ PPRDL PPRDV PDATZ PDATL PDATV EKALR VPLPR MLMAA MLAST VJBKL VJPEI HKMAT EKLAS QKLAS MTUSE MTORG OWNPR BWPEI

Price control indicator for previous year Moving average periodic unit price in previous year Standard price in previous year Fiscal year of current period Current period (posting period) Valuation category Future price Date as of which the price is valid Valuation price based on tax law: level 1 Valuation price based on commercial law: level 1 Valuation price based on tax law: level 3 Valuation price based on commercial law: level 3 Total valuated stock in year before last Total valuated stock in period before last Value of total valuated stock in period before last Future planned price Future Planned Price 1 Future Planned Price 2 Future Planned Price 3 Date from Which Future Planned Price 1 Is Valid Date from Which Future Planned Price 2 Is Valid Date from Which Future Planned Price 3 Is Valid Indicator: Standard cost estimate for the period Indicator: standard cost estimate for current period LIFO/FIFO-relevant Pool number for LIFO valuation Valuation price based on commercial law: level 2 Valuation price based on tax law: level 2 Lowest value: devaluation indicator Maintenance status Cost estimate number - product costing Cost est number for cost est w/o qty structure Valuation variant for future standard cost estimate Valuation variant for current standard cost estimate Valuation variant for past standard cost estimate Costing version of the future standard cost estimate Costing version of the current standard cost estimate Costing version of the previous standard cost estimate Origin Group as Subdivision of Cost Element Costing overhead group Period of future cost estimate Period of the current cost estimate Period of the previous cost estimate Future fiscal year Fiscal year for current cost estimate Fiscal year of previous cost estimate Material is costed with quantity structure Previous planned price Material ledger activated at material level Material Price Determination: Control Valuation class from previous year Price unit of previous year Material-related origin Valuation Class for Sales Order Stock Valuation Class for Project Stock Usage of the material Origin of the material Produced in-house Price unit val. prices based on tax/commercial law

Type:CHAR Type:CURR Type:CURR Type:NUMC Type:NUMC Type:CHAR Type:CURR Type:DATS Type:CURR Type:CURR Type:CURR Type:CURR Type:QUAN Type:QUAN Type:CURR Type:CURR Type:CURR Type:CURR Type:CURR Type:DATS Type:DATS Type:DATS Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CURR Type:CURR Type:NUMC Type:CHAR Type:NUMC Type:NUMC Type:CHAR Type:CHAR Type:CHAR Type:NUMC Type:NUMC Type:NUMC Type:CHAR Type:CHAR Type:NUMC Type:NUMC Type:NUMC Type:NUMC Type:NUMC Type:NUMC Type:CHAR Type:CURR Type:CHAR Type:CHAR Type:CHAR Type:DEC Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:CHAR Type:DEC

Lgth:001 Lgth:012 Lgth:012 Lgth:004 Lgth:002 Lgth:001 Lgth:012 Lgth:008 Lgth:012 Lgth:012 Lgth:012 Lgth:012 Lgth:015 Lgth:015 Lgth:015 Lgth:012 Lgth:012 Lgth:012 Lgth:012 Lgth:008 Lgth:008 Lgth:008 Lgth:001 Lgth:001 Lgth:001 Lgth:004 Lgth:012 Lgth:012 Lgth:002 Lgth:015 Lgth:012 Lgth:012 Lgth:003 Lgth:003 Lgth:003 Lgth:002 Lgth:002 Lgth:002 Lgth:004 Lgth:010 Lgth:003 Lgth:003 Lgth:003 Lgth:004 Lgth:004 Lgth:004 Lgth:001 Lgth:012 Lgth:001 Lgth:001 Lgth:004 Lgth:007 Lgth:001 Lgth:004 Lgth:004 Lgth:001 Lgth:001 Lgth:001 Lgth:006

Fieldmapping
All fields not listed of the R/3 structures keep their initial values.

11.04.13

-7-

LSMW - Examples

Struct.: E1MARAM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MARAM001'. g_edidd_segnum = '0001'. g_edidd_psgnum = '000000'. g_edidd_hlevel = '02'. clear E1MARAM. E1MARAM-MSGFN Rule type: Constant E1MARAM-MSGFN = '004'. E1MARAM-MATNR <=== MATL-MATNR Rule type: Prefix concatenate 'GR00' MATL-MATNR into E1MARAM-MATNR. E1MARAM-ERSDA Rule type: ABAP Coding * Zielfeld: E1MARAM-ERSDA Erstellungsdatum E1MARAM-ERSDA = SY-DATUM. E1MARAM-ERNAM Rule type: ABAP Coding * Zielfeld: E1MARAM-ERNAM Name des Sachbearbeiters, der das Objekt hinzu E1MARAM-ERNAM = SY-UNAME. E1MARAM-PSTAT Rule type: Constant E1MARAM-PSTAT = 'B'. E1MARAM-MTART <=== MATL-MATTYPE Rule type: ABAP Coding E1MARAM-MTART = MATL-MATTYPE. TRANSLATE E1MARAM-MTART TO UPPER CASE. E1MARAM-MBRSH <=== MATL-SECTOR Rule type: Translation (reusable) perform lsmw_translate using 'MBRSH' MATL-SECTOR changing E1MARAM-MBRSH. E1MARAM-MATKL <=== MATL-MATGROUP Rule type: Translation (reusable) perform lsmw_translate using 'MATKL' MATL-MATGROUP changing E1MARAM-MATKL. E1MARAM-MEINS <=== MATL-UNIT Rule type: ABAP Coding E1MARAM-MEINS = MATL-UNIT. TRANSLATE E1MARAM-MEINS TO UPPER CASE. E1MARAM-TRAGR <=== MATL-TRANSGR Rule type: Transfer (MOVE) E1MARAM-TRAGR = MATL-TRANSGR.

11.04.13

-8-

LSMW - Examples

__END_OF_RECORD__ transfer_record. Struct.: E1MAKTM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MAKTM001'. g_edidd_segnum = '0002'. g_edidd_psgnum = '000001'. g_edidd_hlevel = '03'. clear E1MAKTM. E1MAKTM-MSGFN Rule type: Constant E1MAKTM-MSGFN = '004'. E1MAKTM-SPRAS Rule type: Constant E1MAKTM-SPRAS = 'D'. E1MAKTM-MAKTX <=== MATL-TEXT Rule type: Transfer (MOVE) E1MAKTM-MAKTX = MATL-TEXT. __END_OF_RECORD__ transfer_record. Struct.: E1MARCM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MARCM001'. g_edidd_segnum = '0003'. g_edidd_psgnum = '000001'. g_edidd_hlevel = '03'. clear E1MARCM. E1MARCM-MSGFN Rule type: Constant E1MARCM-MSGFN = '004'. E1MARCM-WERKS <=== MATL-PLANT Rule type: Transfer (MOVE) E1MARCM-WERKS = MATL-PLANT. E1MARCM-PSTAT Rule type: Constant E1MARCM-PSTAT = 'ABCDEFGKLPQSVXZ'. E1MARCM-BWTTY Rule type: Constant E1MARCM-BWTTY = 'B'. E1MARCM-EKGRP <=== MATL-PURCHGR Rule type: Transfer (MOVE) E1MARCM-EKGRP = MATL-PURCHGR. E1MARCM-DISMM <=== MATL-MRP Rule type: ABAP Coding E1MARCM-DISMM = MATL-MRP. TRANSLATE E1MARCM-DISMM TO UPPER CASE. 11.04.13 -9-

LSMW - Examples

E1MARCM-DISPO <=== MATL-MRPCONTR Rule type: Transfer (MOVE) E1MARCM-DISPO = MATL-MRPCONTR. E1MARCM-PERKZ <=== MATL-PERIOD Rule type: Transfer (MOVE) E1MARCM-PERKZ = MATL-PERIOD. E1MARCM-DISLS <=== MATL-LOT Rule type: ABAP Coding E1MARCM-DISLS = MATL-LOT. TRANSLATE E1MARCM TO UPPER CASE. E1MARCM-LAGPR Rule type: Transfer (MOVE) E1MARCM-LAGPR = MATL-STORCOST. E1MARCM-FHORI Rule type: Transfer (MOVE) E1MARCM-FHORI = MATL-SCHED. E1MARCM-LADGR <=== MATL-LOADGR Rule type: Transfer (MOVE) E1MARCM-LADGR = MATL-LOADGR. E1MARCM-MTVFP <=== MATL-CHECKGR Rule type: Transfer (MOVE) E1MARCM-MTVFP = MATL-CHECKGR. E1MARCM-LOSGR Rule type: Constant E1MARCM-LOSGR = '1000'. E1MARCM-LGPRO <=== MATL-LOCATION Rule type: Transfer (MOVE) E1MARCM-LGPRO = MATL-LOCATION. __END_OF_RECORD__ transfer_record. Struct.: E1MVEGM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MVEGM'. g_edidd_segnum = '0009'. g_edidd_psgnum = '000003'. g_edidd_hlevel = '04'. clear E1MVEGM. E1MVEGM-MSGFN Rule type: Constant E1MVEGM-MSGFN = '004'. E1MVEGM-ERTAG <=== MATL2-CONDATE Rule type: Transfer (MOVE) E1MVEGM-ERTAG = MATL2-CONDATE. E1MVEGM-VBWRT <=== MATL2-CONVALUE Rule type: Transfer (MOVE) E1MVEGM-VBWRT = MATL2-CONVALUE. 11.04.13 - 10 -

LSMW - Examples

__END_OF_RECORD__ transfer_record. Struct.: E1MARMM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MARMM'. g_edidd_segnum = '0012'. g_edidd_psgnum = '000001'. g_edidd_hlevel = '03'. clear E1MARMM. E1MARMM-MSGFN Rule type: Constant E1MARMM-MSGFN = '004'. E1MARMM-MEINH Rule type: Constant E1MARMM-MEINH = 'ST'. __END_OF_RECORD__ transfer_record. Struct.: E1MBEWM __BEGIN_OF_RECORD__ g_edidd_segnam = 'E2MBEWM001'. g_edidd_segnum = '0014'. g_edidd_psgnum = '000001'. g_edidd_hlevel = '03'. clear E1MBEWM. E1MBEWM-MSGFN Rule type: Constant E1MBEWM-MSGFN = '004'. E1MBEWM-BWKEY Rule type: Constant E1MBEWM-BWKEY = '0001'. E1MBEWM-VPRSV Rule type: Constant E1MBEWM-VPRSV = 'S'. E1MBEWM-PEINH Rule type: Constant E1MBEWM-PEINH = '10'. E1MBEWM-BKLAS Rule type: Constant E1MBEWM-BKLAS = '3000'. E1MBEWM-VMVPR Rule type: Constant E1MBEWM-VMVPR = 'S'. E1MBEWM-VMPEI Rule type: Constant E1MBEWM-VMPEI = '10'. 11.04.13 - 11 -

LSMW - Examples

E1MBEWM-VMBKL Rule type: Constant E1MBEWM-VMBKL = '3000'. E1MBEWM-VJVPR Rule type: Constant E1MBEWM-VJVPR = 'S'. E1MBEWM-VJBKL Rule type: Constant E1MBEWM-VJBKL = '3000'. E1MBEWM-VJPEI Rule type: Constant E1MBEWM-VJPEI = '10'. __END_OF_RECORD__ transfer_record. __END_OF_TRANSACTION__ transfer_transaction.

11.04.13

- 12 -

You might also like