Mvt type-MM

32
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.

Transcript of Mvt type-MM

Page 1: Mvt type-MM

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 inhttp://service.sap.com/retail.

Page 2: Mvt type-MM

Movement Types MM-IM Task Force Logistics

SAP AG Page 2

DescriptionThe 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 indicatoramong many others.

(Comment: Read the notes in the presentation.)

MovementTypes_MM-IM.ppt

Page 3: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

SAP AG

Movement Types in MM-IM

Page 4: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Contents

� Introduction

� Table T156SY with value strings/quantity strings

� Other movement type tables

Page 5: Mvt type-MM

®

� 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

Page 6: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Stock Tables Overview

VendorPlant

Customer

GR-blockedstock

ReturnsMARD-RETME

SubcontractorMSSL/MSLB(Sobkz = O)unrestricted/Q

ConsignmentMSKU(Sobkz = V)unrestricted/Q

ReturnablepackagingMSKU(Sobkz = W)unrestricted/Q

Customer orderMSSA/MSKA(Sobkz = E)unrestrictedQ/S

Project stockMSSQ/MSPR(Sobkz = Q)unrestrictedQ/S

Vendor consignment/RTPMKOL (Sobkz = K, M)unrestricted Q/S

Storage locationMARDunrestricted/Q/S+ transfer (313/5)

Batches(MCHB)

Plant level MARCtransfer (MARC-UMLMC - 303/5)transit (MARC-TRAME - 641)

101 601

103 105 453 651

Consumption201

Page 7: Mvt type-MM

®

� 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

Page 8: Mvt type-MM

®

� 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

Page 9: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Customizing Movement Type: OMJJ

� All customizable movement type tables can bemaintained with OMJJ (Customizing MM-IM)

� View-Cluster MB_156

� No new entries possible, only copy

� Do not create own movement types only to change acustomizing field!

� To copy a movement type do not forget to select thewhole range because you want to copy to 9xx range

Page 10: Mvt type-MM

®

� 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

Page 11: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Table T156SY,Value Strings, Quantity Strings

Page 12: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Movement Type 101 Overview

Vendor

Plant

SubcontractorMSSL/MSLB(Sobkz = O)Unrestricted/Q

Customer orderMSSA/MSKA(Sobkz = E)UnrestrictedQ/S

Project stockMSSQ/MSPR(Sobkz = Q)UnrestrictedQ/S

Vendor consignment/RTPMKOL (Sobkz = K, M)Unrestricted Q/S

Storage locationMARDUnrestrictedQuality inspectionBlocked stock

Batches(MCHB)

Transit stock(MARC-TRAME)

101 FProduction101 B

Insmk _, 2, 3

101 B + Kzzug X101 BK / M

Sobkz OE

Q

ConsumptionKzvbr V

Page 13: Mvt type-MM

®

� 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 copiedfrom standard mvt type

Page 14: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Key for T156SY and T156SC

BWART101901

BUSTR101101

T156

BUSTR ...101 ...

BUSTWWE01T156SY

BWART ...101 ...901 ...

Avail. check0102

T156SC

Page 15: Mvt type-MM

®

� 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 WA01Quantity string BUSTM MA01

T158-KZBEW (transaction)

T134M (material type)

T156-BUSTR (mvt type)

Page 16: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Page 17: Mvt type-MM

®

� 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

Page 18: Mvt type-MM

®

� 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

Page 19: Mvt type-MM

®

� 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 toCO object is necessary

Page 20: Mvt type-MM

®

� 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

Page 21: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

From Value String to Processing Key

T156SYbustr 201wertu Xmengu Xsobkz spacekzbew spacekzzug spacekzvbr space

ValuationprogramSAPLMBGBForm WA01

Table XACCITBSX 300000 -20GBB 400000 +20

Accountinginterface

Table XZCXCM(1) BSX H - 20(2) GBB S +20(3) PRD 0(4) BSX 0(5) UMB 0

Customer account table T030BSX 300000GBB 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

Page 22: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Page 23: Mvt type-MM

®

� 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 modifiersdepending 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)

Page 24: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156X: Indicator XPKON (1)

� XPKON = X means account assignment data (CO object) willbe copied to XACCIT of that processing key (usually GBB)

� Copying of CO object also depends on field selection inT156B (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 thesame CO object for price differences(possible for AUM since 30F, note 13984)

= possible solution to message KI235 for PRD/AUM line

Page 25: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156X: Indicator XPKON (2)

� Entry 101 is necessary for GR for PO with accountassignment (value string WE06 processing key KBS)

� KBS means we copy the account from the PO, so noaccount determination is necessary (already done)

Page 26: Mvt type-MM

®

� 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

Page 27: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156M: Quantity Strings for Simple Movements

BWART +SOBKZ

T156SHKZG

T156SYBUSTM

T156BUMSOK

T156M T156F

501 S (+) MA01 MA01 – 1 = L01 MARD-LABST201 H (-) MA01 MA01 – 1 = L01 MARD-LABST201K H (-) MAK1 MAK1 – 1 = LK0 K01 MARD-KLABS + MKOL-SLABS

BWART +SOBKZ

T156SHKZG

T156SYBUSTM

T156BUMSOK

T156M T156F

501 S (+) MA01 MA01 2 1 = LQ1 MARD-INSME201 H (–) MA01 MA01 2 1 = LQ1 MARD-INSME201K 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 order201: GI for cost center201K: GI for cost center from vendor consignment

Page 28: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156M: Quantity Strings for TransfersBWART +SOBKZ

T156SHKZG

T156SYBUSTM

T156BUMSOK

T156M T156F

301 H (–) MA04 MA01 – 1 = L01MA01 – 2 = L01

MARD-LABST (–)MARD-LABST (+)

411K H (–) MAK4 MAK4 – 1 = LK0 K01MAK4 – 2 = L01

MARD-KLABS MKOL-SLABS (–)MARD-LABST (+)

413Q H (–) MAAQ E MAAQ – 1 = Q01 QSLMAAQ – 2 = A01 ASL

MSPR-PRLAB MSSQ-SQLAB (–)MSKA-KALAB MSSA-SALAB (+)

453 S (+) MAR1 MAR1 – 1 = L01MAR1 – 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 location413Q: Transfer from project stock (Q) to customer order stock (E) - unrestricted453: Transfer from returns stock to unrestricted storage location

Page 29: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

Other Movement Type Tables

Page 30: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156N: Subsequent Movement Types

� Key: FCODE + BWART

� ST 601 > 602: cancel movement type (used inMB_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)

Page 31: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T156B: Screen Layout

� Field modification for MB11 transactions

� Not possible for MB01 (101 mvt types) as accountassignment is copied from PO

� Determines also which account assignments will becopied to FI document

� Not used in MB_CREATE_GOODS_MOVEMENT

� MIGO: new table MIGO_CUST_FIELDS

Page 32: Mvt type-MM

®

� SAP AG 2000 BWART 05/2000

T158B: Allowed Movement Types

� Allowed movement types per transaction

� MB_CREATE callers are responsible for creating theentries in T158B for their own transaction

� Help view available for T158B/T157H