Prévia do material em texto
Movement Types MM-IM Task Force Logistics SAP AG Page 1 Movement Types MM-IM This document was created in the context of the Retail Task Force Logistics. Its aim is to help con- sultants solve concrete problems in customer projects. You can find more documents on the Task Force Logistics under the Expert Knowledge Corner in http://service.sap.com/retail. Movement Types MM-IM Task Force Logistics SAP AG Page 2 Description The following questions are dealt with in the presentation: • What are movement types? • What influences them and how are they influenced (possible configurations)? • How are movement types classified? • Which are the most important tables/transactions? The configurations are also explained by numerous examples. Important terms that are used in this environment include: • Value and quantity update • Movement indicator • Special stock indicator • Receipt indicator • Consumption indicator among many others. (Comment: Read the notes in the presentation.) MovementTypes_MM -IM.ppt ® � SAP AG 2000 BWART 05/2000 SAP AG Movement Types in MM-IM ® � SAP AG 2000 BWART 05/2000 Contents � Introduction � Table T156SY with value strings/quantity strings � Other movement type tables ® � SAP AG 2000 BWART 05/2000 What is a Movement Type? � Key for a specific goods movement (incomplete) � Quantity update (stock tables) � Value update (FI document, account determination) � Screen layout (dialog only) � GR/GI slip print � Checks (min. shelf life, dynamic availability, etc.) � Link to WM, QM, serial numbers ® � SAP AG 2000 BWART 05/2000 Stock Tables Overview Vendor Plant Customer GR- blocked stock Returns MARD- RETME Subcontractor MSSL/MSLB (Sobkz = O) unrestricted/Q Consignment MSKU (Sobkz = V) unrestricted/Q Returnable packaging MSKU (Sobkz = W) unrestricted/Q Customer order MSSA/MSKA (Sobkz = E) unrestricted Q/S Project stock MSSQ/MSPR (Sobkz = Q) unrestricted Q/S Vendor consignment/RTP MKOL (Sobkz = K, M) unrestricted Q/S Storage location MARD unrestricted/Q/S + transfer (313/5) Batches (MCHB) Plant level MARC transfer (MARC-UMLMC - 303/5) transit (MARC-TRAME - 641) 101 601 103 105 453 651 Consumption 201 ® � SAP AG 2000 BWART 05/2000 Classification of Movement Types � 1xx GR from purchasing/production + returns � 2xx GI for consumption � 3xx, 4xx Transfers � 5xx GR without reference to PO or PP order � 6xx LE-SHP movement types � 7xx Physical inventory (MM-IM: 70x / WM: 71x) � 8xx Brazil � Customer range: 9xx, Xxx, Yxx, Zxx � Complete list and description: see IMG MM-IM ® � SAP AG 2000 BWART 05/2000 Movement Type Tables: Customizable � T156 Definition (key: Bwart) � T156B Screen layout (46C: MIGO_CUST_FIELDS) (Bwart + Sobkz) Batch determination � T156SC WM mvt, availability check (complete key) (< 4.6: T156S) � T156Q QM inspection lot origin, HU � T156X Account modifier (KOMOK) � T156T Short text � T158B Allowed movement types per transaction � T157H Longer text per transaction / special stock � T157D Reason for movement � T156N Subsequent movement types � TMCA LIS statistic group ® � SAP AG 2000 BWART 05/2000 Customizing Movement Type: OMJJ � All customizable movement type tables can be maintained with OMJJ (Customizing MM-IM) � View-Cluster MB_156 � No new entries possible, only copy � Do not create own movement types only to change a customizing field! � To copy a movement type do not forget to select the whole range because you want to copy to 9xx range ® � SAP AG 2000 BWART 05/2000 Movement Type Tables: System Tables � T156SY Quantity / value strings (< 4.6: T156S) � T156W Value strings (Key: BUSTW) � T156M Quantity strings (Key: BUSTM) � T156F Field segments � T156C Stock types for LIS ® � SAP AG 2000 BWART 05/2000 Table T156SY, Value Strings, Quantity Strings ® � SAP AG 2000 BWART 05/2000 Movement Type 101 Overview Vendor Plant Subcontractor MSSL/MSLB (Sobkz = O) Unrestricted/Q Customer order MSSA/MSKA (Sobkz = E) Unrestricted Q/S Project stock MSSQ/MSPR (Sobkz = Q) Unrestricted Q/S Vendor consignment/RTP MKOL (Sobkz = K, M) Unrestricted Q/S Storage location MARD Unrestricted Quality inspection Blocked stock Batches (MCHB) Transit stock (MARC-TRAME) 101 FProduction 101 B Insmk _, 2, 3 101 B + Kzzug X101 B K / M Sobkz O E Q Consumption Kzvbr V ® � SAP AG 2000 BWART 05/2000 Central Table T156S (T156SY + T156SC) � Contains the complete key for a specific movement � T156S was split in 4.6A into � T156SY: client-independent, system table BUSTW/BUSTM,... � T156SC: client-dependent, customizable WM mvt types, ... � Key field BUSTR for T156SY derived from T156 � Old customer mvt types have their own BUSTR � New customer mvt type: BUSTR for T156SY is copied from standard mvt type ® � SAP AG 2000 BWART 05/2000 Key for T156SY and T156SC BWART 101 901 BUSTR 101 101 T156 BUSTR ... 101 ... BUSTW WE01T156SY BWART ... 101 ... 901 ... Avail. check 01 02 T156SC ® � SAP AG 2000 BWART 05/2000 From Movement Type to Value/Quantity String User enters data Movement type 201 Transaction MB1A No special stock Plant 0001 Material XYZ Program reads T156SY (old: T156S) Value string ref. BUSTR 201 Mvt indicator KZBEW space Special stock SOBKZ space Value update WERTU X Quantity update MENGU X Receipt indicator KZZUG space Consumption indic. KZVBR space and finds… Value string BUSTW WA01 Quantity string BUSTM MA01 T158-KZBEW (transaction) T134M (material type) T156-BUSTR (mvt type) ® � SAP AG 2000 BWART 05/2000 ® � SAP AG 2000 BWART 05/2000 Movement Indicator KZBEW � Needed to differentiate between � GR for purchase order (101 B) � GR for production order (101 F) � Depends on transaction (T158) for MB transactions � Filled by MB_CREATE callers in IMSEG (variable in VL02 / VL32) � Possible values: � B = purchase order � F = production order (not repetitive manufacturing) � L = LE-SHP delivery � Space= movement without purchase/production order � L/Space: will probably merge together in next releases ® � SAP AG 2000 BWART 05/2000 Receipt Indicator KZZUG � Filled only in case of transport orders � Movement types 351/641/643 (GI) and 101 (GR) � MB_CREATE: filled for T156-KZBWA 1,3,4,5 (set in MB_CREATE_GOODS_ISSUE_ITEM_TRA) � MB11/MB01: is not set by purchase order interface (EBEFU/BBEFU). It is set internally by SAPMM07M ® � SAP AG 2000 BWART 05/2000 Consumption Indicator KZVBR (1) � GR for PO: depends on assignment category in T163K (OME9). Table T163K also sets special stock SOBKZ. � SD and PP also work with table T163K � Values: � space normal goods issue with MB1A � V account assignment K (normal consumption) � A account assignment A (assets) � E/P used for non-valuated special stocks E/Q � Valuated special stock E/Q (KZBWS not initial): T156SY is read with KZVBR space � Used by SD and QM to determine if an assignment to CO object is necessary ® � SAP AG 2000 BWART 05/2000 Consumption Indicator KZVBR (2) � Set externally by LE-SHP, MM-PUR, PP � Database checks with SE16: � LIPS-KZVBR inbound/outbound delivery � EKPO-KZVBR purchase order � AFPO-KZVBR production order � Debugging: check incoming interfaces � MB_CREATE_GOODS_MOVEMENT: internal table IMSEG � MM07MFB7, call ME_READ_ITEM_GOODS_RECEIPT: XEBEFU � MM07MPPS,call CO_SF_ITEM_GOODS_RECEIPT: XFBEFU ® � SAP AG 2000 BWART 05/2000 From Value String to Processing Key T156SY bustr 201 wertu X mengu X sobkz space kzbew space kzzug space kzvbr space Valuation program SAPLMBGB Form WA01 Table XACCIT BSX 300000 -20 GBB 400000 +20 Accounting interface Table XZCXCM (1) BSX H - 20 (2) GBB S +20 (3) PRD 0 (4) BSX 0 (5) UMB 0 Customer account table T030 BSX 300000 GBB VBR 400000 MR_ACCOUNT_ ASSIGNMENT Table T156W: WA01 (1) BSX (2) GBB (3) PRD (4) BSX (5) UMB Loop at X156W T156X: account modifier (2) VBR ® � SAP AG 2000 BWART 05/2000 ® � SAP AG 2000 BWART 05/2000 T156X: Account Modifier (KOMOK) � Counter CNT02 in T156X refers to counter in T156W (= identifier for processing key) � Only possible for GBB, PRD, KON, AUM, (WRX?) � SD/QM: KZVBR leads to different account modifiers depending on KZVBR (set if CO object needed): � SD uses VAX and VAY (CO object for VAY) (movement type 601) � QM uses VQP and VQY (CO object for VQY) (movement type 331) � In case of valuated special stock E/Q (KZBWS set), we read � Table T156SY w/o KZVBR � Table T156X with KZVBR (E/P/V) ® � SAP AG 2000 BWART 05/2000 T156X: Indicator XPKON (1) � XPKON = X means account assignment data (CO object) will be copied to XACCIT of that processing key (usually GBB) � Copying of CO object also depends on field selection in T156B (OMBW). See note 117596 for special stock E/Q. = possible solution to message KI235 for GBB line � Manual account is also be copied to that line � Can also be set for PRD/AUM if customer wants the same CO object for price differences (possible for AUM since 30F, note 13984) = possible solution to message KI235 for PRD/AUM line ® � SAP AG 2000 BWART 05/2000 T156X: Indicator XPKON (2) � Entry 101 is necessary for GR for PO with account assignment (value string WE06 processing key KBS) � KBS means we copy the account from the PO, so no account determination is necessary (already done) ® � SAP AG 2000 BWART 05/2000 Check Strings in Material Documents � SE16 MSEG contains � All T156SY fields (Bwart, Mengu, Wertu, Kzbew, Kzvbr, Kzzug) � Value string BUSTW � Quantity string BUSTM ® � SAP AG 2000 BWART 05/2000 T156M: Quantity Strings for Simple Movements BWART + SOBKZ T156 SHKZG T156SY BUSTM T156B UMSOK T156M T156F 501 S (+) MA01 MA01 – 1 = L01 MARD-LABST 201 H (-) MA01 MA01 – 1 = L01 MARD-LABST 201K H (-) MAK1 MAK1 – 1 = LK0 K01 MARD-KLABS + MKOL-SLABS BWART + SOBKZ T156 SHKZG T156SY BUSTM T156B UMSOK T156M T156F 501 S (+) MA01 MA01 2 1 = LQ1 MARD-INSME 201 H (–) MA01 MA01 2 1 = LQ1 MARD-INSME 201K H (–) MAK1 MAK1 2 1 = LKQ KQ1 MARD-KINSM + MKOL-SINSM Movements 501, 201 and 201K without QM Movements 501, 201 and 201K with QM 501: GR from vendor without purchase order 201: GI for cost center 201K: GI for cost center from vendor consignment ® � SAP AG 2000 BWART 05/2000 T156M: Quantity Strings for Transfers BWART + SOBKZ T156 SHKZG T156SY BUSTM T156B UMSOK T156M T156F 301 H (–) MA04 MA01 – 1 = L01 MA01 – 2 = L01 MARD-LABST (–) MARD-LABST (+) 411K H (–) MAK4 MAK4 – 1 = LK0 K01 MAK4 – 2 = L01 MARD-KLABS MKOL-SLABS (–) MARD-LABST (+) 413Q H (–) MAAQ E MAAQ – 1 = Q01 QSL MAAQ – 2 = A01 ASL MSPR-PRLAB MSSQ-SQLAB (–) MSKA-KALAB MSSA-SALAB (+) 453 S (+) MAR1 MAR1 – 1 = L01 MAR1 – 2 = LR0 MARD-LABST (+) MARD-RETME (–) 301: Transfer from plant to plant in one step (no PO, unrestricted stock) 411K: Transfer from vendor consignment to unrestricted storage location 413Q: Transfer from project stock (Q) to customer order stock (E) - unrestricted 453: Transfer from returns stock to unrestricted storage location ® � SAP AG 2000 BWART 05/2000 Other Movement Type Tables ® � SAP AG 2000 BWART 05/2000 T156N: Subsequent Movement Types � Key: FCODE + BWART � ST 601 > 602: cancel movement type (used in MB_CANCEL_GOODS_MOVEMENT) � RL 101 > 122: return delivery transaction MBRL � Special codes for automatic movements: � WEUB 647-> 101 (one-step transfer with transfer PO) � LBWA -> 543 (GI of components during GR subcontracting) ® � SAP AG 2000 BWART 05/2000 T156B: Screen Layout � Field modification for MB11 transactions � Not possible for MB01 (101 mvt types) as account assignment is copied from PO � Determines also which account assignments will be copied to FI document � Not used in MB_CREATE_GOODS_MOVEMENT � MIGO: new table MIGO_CUST_FIELDS ® � SAP AG 2000 BWART 05/2000 T158B: Allowed Movement Types � Allowed movement types per transaction � MB_CREATE callers are responsible for creating the entries in T158B for their own transaction � Help view available for T158B/T157H