Modelagem do Problema Integrado de Dimensionamento de Lotes ...
117_BB_ConfigGuide_EN_CL Gestión de lotes
-
Upload
under-los-de-abajo -
Category
Documents
-
view
40 -
download
1
Transcript of 117_BB_ConfigGuide_EN_CL Gestión de lotes
EHP4 for SAP ERP 6.0
December 2010
English
Batch Management (117)
SAP AGDietmar-Hopp-Allee 1669190 WalldorfGermany
Building Block Configuration Guide
SAP Best Practices Batch Management (117): Configuration Guide
Copyright
© 2010 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, Clear Enterprise, SAP BusinessObjects Explorer, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP France in the United States and in other countries.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
© SAP AG Page 2 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Icons
Icon Meaning
Caution
Example
Note or Tip
Recommendation
Syntax
Typographic Conventions
Type Style Description
Example text Words or characters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths and options.
Cross-references to other documentation.
Example text Emphasized words or phrases in body text, titles of graphics and tables.
EXAMPLE TEXT Names of elements in the system. These include report names, program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example, SELECT and INCLUDE.
Example text Screen output. This includes file and directory names and their paths, messages, source code, names of variables and parameters as well as names of installation, upgrade and database tools.
EXAMPLE TEXT Keys on the keyboard, for example, function keys (such as F2) or the ENTER key.
Example text Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation.
<Example text> Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.
© SAP AG Page 3 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Content
1 Purpose................................................................................................................................... 6
2 Prerequisites............................................................................................................................ 6
3 Batch Management General....................................................................................................6
3.1 Defining Batch Level......................................................................................................6
3.2 Activating Status Management......................................................................................7
3.3 Converting Batch Level.................................................................................................7
3.4 Converting Status Management....................................................................................8
3.5 Activating Internal Batch Number Assignment...............................................................9
3.6 Internal Batch Number Assignment for Assigned Goods Receipt..................................9
3.7 Updating LOBM Standard Characteristics (only Expiration Date)................................10
4 Essential Master Data............................................................................................................10
4.1 General Master Data for Batch Determination and Batch Check.................................10
4.1.1 Creating Characteristics (FIFO only).......................................................................10
4.1.2 Creating Classes (FIFO and Expiration Date).........................................................12
4.1.3 Creating Sort Sequences (FIFO and Expiration Date)............................................12
5 Configuration of Batch Management.....................................................................................13
5.1 Configuration for Batch Management General............................................................13
5.1.1 Activating Batch Classification for Goods Movements in IM....................................13
5.1.2 Making Settings for Batch Where-Used List............................................................15
5.1.3 Setting Expiration Date Check for Plant (Expiration Date only)...............................16
5.1.4 Setting Expiration Date Checks for Movement Types (Expiration Date only)..........17
5.2 Configuration for Batch Determination and Batch Check.............................................18
5.2.1 MM Batch Determination and Batch Check.............................................................18
5.2.2 PP Batch Determination and Batch Check..............................................................21
5.2.3 Assign Search Procedure to Pull List......................................................................24
5.2.4 SD Batch Determination and Batch Check..............................................................25
5.3 Batch Split Processing in SD.......................................................................................34
5.3.1 Deliveries with Batch Split.......................................................................................34
5.3.2 Billing of Batch Split Items.......................................................................................36
6 Master Data........................................................................................................................... 39
6.1 Material Master............................................................................................................39
6.1.1 Creating Material Master: Assigning Class (FIFO & EXP DATE)............................39
6.1.2 Changing Material Master: Activating Batch Management......................................39
6.1.3 Changing Material Master: Maintaining Expiration Date (only PI)...........................40
6.2 Batch Search Strategies - Condition Records.............................................................41
© SAP AG Page 4 of 46
SAP Best Practices Batch Management (117): Configuration Guide
6.2.1 Batch Search Strategy for Inventory Management (FIFO and Exp.Date)................41
6.2.2 Batch Search Strategy for Sales and Distribution (FIFO and Exp.Date).................45
© SAP AG Page 5 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Batch Management
1 PurposeThis configuration guide provides the information you need to set up the configuration of this building block manually.
If you do not want to configure manually and prefer an automated installation process using BC Sets and other tools, refer to the installation guide of this building block.
2 PrerequisitesBefore you start installing this scenario, you must install prerequisite building blocks.
For more information, see the Building Block Prerequisite Matrix for Baseline. The matrix (an Excel file) is linked on the solution's DVD Web site in the following location:
Content Library
3 Batch Management General
3.1 Defining Batch Level
UseThis transaction enables you to set the batch level for batch management. Three unique options for a material are available:
At plant level
At material level
At client level
PrerequisitesIf the material or client level for a material is chosen, check that no materials exist in stock. If a material exists in stock, the level may not be changeable.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Specify Batch Level and Activate Status Management
Menu IMG Logistica en General Gestión de lotes Determinar nivel de lote y activar gestión de estados
Transaction Code OMCE
2. Choose Batch Level.
© SAP AG Page 6 of 46
SAP Best Practices Batch Management (117): Configuration Guide
3. On the Define Batch Level screen, select Batch unique at material level and choose Save (Ctrl + S).
4. If the system displays any warning messages, continue by choosing Enter.
ResultThe batch level has been set to the material level.
3.2 Activating Status Management
UseThe purpose of this activity is to set the batch management to active status in the client.
PrerequisitesThe batch level should be set before the batch management is set to active.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Specify Batch Level and Activate Status Management
Menu IMG Logistica en General Gestión de lotes Determinar nivel de lote y activar gestión de estados
Transaction Code OMCS
2. Choose Batch status management.
3. Select Batch status management active.
4. Choose Save (Ctrl + S).
ResultThe batch level status has been activated.
3.3 Converting Batch Level
UseThe purpose of this activity is to activate the conversion of the batch level. Carefully consider this step, because it is very difficult to change the batch level once materials exist in stock.
PrerequisitesThe batch level has been chosen. The project should carefully review which batch level is needed before configuration and creation of master data is started.
© SAP AG Page 7 of 46
SAP Best Practices Batch Management (117): Configuration Guide
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Specify Batch Level and Activate Status Management
Menu IMG Logistica en General Gestión de lotes Determinar nivel de lote y activar gestión de estados
Transaction Code OMCT
2. On the Batch definition screen, choose Batch level Conversion.
3. In the dialog box, choose No. The status bar will display a notification of success.
ResultThe batch level has been converted.
3.4 Converting Status Management
UseThis activity converts the batch management status to active.
PrerequisitesThe status of batch management has been set from inactive to active.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Specify Batch Level and Activate Status Management
Menu IMG Logistica en General Gestión de lotes Determinar nivel de lote y activar gestión de estados
Transaction Code OMCT
2. Choose Batch status management Conversion.
3. In the dialog box, choose Yes to run the conversion in test mode. If this test run is successful, you should run the conversion directly, choosing No.
ResultThe batch status level has been converted.
© SAP AG Page 8 of 46
SAP Best Practices Batch Management (117): Configuration Guide
3.5 Activating Internal Batch Number Assignment
UseThe purpose of this activity is to set the internal number assignment of batches to automatically active.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Batch Number Assignment Activate Internal Batch Number Assignment
Menu IMG Logistica en- General Gestión de Lotes Asignación de números de lote Activar asignación interna de números de lote
Transaction Code OMCZ
2. Choose Activate batch number assignment.
3. Choose Automatic batch number assignment active and choose Save (Ctrl + S).
4. In the Prompt for Local Workbench Request dialog box, choose Create request.
5. In the Create Request dialog box, in Short Description, enter a short description (for example, J05 Activities), then choose Save (Ctrl + S).
6. Choose Continue (Enter).
7. Choose Back (F3).
3.6 Internal Batch Number Assignment for Assigned Goods Receipt
UseThe purpose of this activity is to set the internal number allocation of batches at goods receipt to automatic.
ProcedureCarry out the following steps:
1. Access the activity using the following navigation options:
IMG Menu Logistics - General Batch Management Batch Number Assignment Activate Internal Batch Number Assignment
Menu IMG Logística en general Gestión de lotes Asignación de números de lote Activar asignación interna de números de lote
Transaction Code SPRO
2. Choose the activity Internal Batch Number Assignment for Assigned Goods Receipt.
© SAP AG Page 9 of 46
SAP Best Practices Batch Management (117): Configuration Guide
3. On the Change View “Internal Batch Number Assignment for Assigned Goods Receipt” screen, enter the following information:
PlantBch no. automatic f. GR w. acctAssg
Plant_1 (1000) X
Plant_2 (1100) X
4. Choose Save.
3.7 Updating LOBM Standard Characteristics (only Expiration Date)
UseThe purpose of this activity is to copy LOBM standard characteristics from client 000 to the development client.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Batch Valuation Update Standard Characteristics
Menu IMG Logistica en General Gestión de Lotes Valoración de lotes Actualizar características estándar
Transaction Code BMSM
2. In the Update the Standard Features dialog box, choose Yes.
3. On the Copy Object Lists between clients screen, choose Back (F3).
4. On the Maintaining Standard Characteristics with objects dependencies screen, choose Back (F3).
ResultYou have copied the LOBM standard characteristics from client 000 into your development client.
4 Essential Master Data
4.1 General Master Data for Batch Determination and Batch Check
4.1.1 Creating Characteristics (FIFO only)
Use
© SAP AG Page 10 of 46
SAP Best Practices Batch Management (117): Configuration Guide
The purpose of this activity is to prepare the master data for the search strategy.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central Functions Variant Configuration Environment Classification Master Data Characteristics
Menu SAP Logistica Funciones centrales Configuración de variantes Entorno Sistema de clasificación Datos maestros Gestión de características
Transaction Code CT04
2. Create class characteristic YB_FIFO Internal Batch Number FIFO with the following entries:
Field Name Input
Characteristic Name YB_BATCH_NUMBER
Basic Data
Description Batch Number
Data Type CHAR
Number of Chars 10
Single Value X
Additional Data
Table Name MCH1
Field Name CHARG
3. Save your entries.
Field Name Input
Characteristic Name YB_ SUPPLIER_BATCH_NUMBER
Basic Data
Description Vendor Batch Number
Data Type CHAR
Number of Chars 15
Single Value X
Additional Data
Table Name MCH1
Field Name LICHA
4. Create class characteristic YB_BATCH_SUPPLIER_BATCH_NO Vendor Batch Number with the following entries:
5. Save your entries.
Result
© SAP AG Page 11 of 46
SAP Best Practices Batch Management (117): Configuration Guide
The class characteristics YB_FIFO and YB_BATCH_SUPPLIER_BATCH_NO are created.
4.1.2 Creating Classes (FIFO and Expiration Date)
UseThe purpose of this activity is to prepare the master data for the search strategy.
In this step, you define two classes for use with batches. One class contains the characteristic LOBM_VFDAT: Expiration Date, and the other class with three characteristics: LOBM_RLZ Remaining shelf life for batch, LOBM_LFDAT Batch determination delivery date, and LOBM_VFDAT Expiration date, shelf life.
The class YB_BATCH is used for the FIFO search strategy.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central Functions Variant Configuration Environment Classification Master Data Classes
Menu SAP Logistica Funciones Centrales Configuración de variantes Entorno Sistema de clasificación Datos maestros Gestión de clases
Transaction Code CL01
2. Enter the class and the class type as follows, choose Create and maintain the other necessary master data manually.
Class Class type
Description Characteristic Characteristic Characteristic
YB_BATCH 023 Batch FIFO YB_BATCH_NUMBER
YB_SUPPLIER_BATCH_NUMBER
YB_EXP_DATE_001 023 Products with Expiration Date
LOBM_VFDAT
YB_EXP_DATE_002 023 Search class with expiration date
LOBM_RLZ LOBM_LFDAT LOBM_VFDAT
3. Save your entries.
ResultThe materials are later assigned to class 023_001 (YB_EXP_DATE_001) or YB_BATCH in the material masters. 023_002 (YB_EXP_DATE_002) is used in the batch determination search strategies for SD and PP/PI.
4.1.3 Creating Sort Sequences (FIFO and Expiration Date)
Use
© SAP AG Page 12 of 46
SAP Best Practices Batch Management (117): Configuration Guide
The purpose of this activity is to create the sort sequence used to sort batches during batch determination. In this case, the characteristic LOBM_VFDAT: Expiration Date, Shelf Life is assigned to the sort class YB_EXP_DATE_SORT. FIFO-sorting is sorting batches first-in-first-out.
PrerequisitesAs a rule, all characteristics (this applies to standard characteristics as well as to user-defined characteristics) used in the sort sequence must also be contained in the batch class.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central Functions Batch Management Batch Determination Selection and Sort Define Sort Rules Create
Menu SAP Logistica Funciones centrales Gestión de Lotes Determinación de lotes Selección y clasificación Regla clasif. Crear
Transaction Code CU70
2. To maintain the necessary master data manually, enter the sort sequence as follows, choose Enter and make the following entries:
Sort sequence Description Status Characteristic name
YB_FIFO_SORT Sorting rule batch number 1-Released YB_BATCH_NUMBER
YB_EXP_DATE_SORT Sorting rule expiration date 1-Released LOBM_VFDAT
In German: ‚MHD’
3. Save your entries.
ResultThe sort sequences were created.
5 Configuration of Batch Management
5.1 Configuration for Batch Management General
5.1.1 Activating Batch Classification for Goods Movements in IM
UseThe purpose of this activity is to activate batch classification for goods movements in IM.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
© SAP AG Page 13 of 46
SAP Best Practices Batch Management (117): Configuration Guide
IMG Menu Logistics - General Batch Management Batch Valuation Valuation for Goods Movement in Inventory Management Activate Batch Classification for Goods Movements in IM
Menu IMG Logistica en General Gestión de Lotes Valoración de lotes Valoración en gestión de stocks durante movim.de mercancías Activar clasif.lotes durante movimientos de mercancías
Transaction Code OMCV
2. On the Classify Batches Within Goods Movement screen, enter the following information and then choose Save (Ctrl + S):
Movement Type Batch Classification
101 4
102 4
103 1
105 4
131 4
132 4
201 1
301 4
302 4
303 1
305 4
309 4
310 4
311 1 (changed from 4 to 1)
315 4
319 4 (new)
321 3
323 3
325 4
342 4
451 4 new update file!
453 4
501 1
503 4 new update file!
505 4 new update file!
511 4 new update file!
521 4
© SAP AG Page 14 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Movement Type Batch Classification
523 4 new update file!
525 4 new update file!
531 4 new update file!
541 3
543 3
561 4
562 4
563 4 new update file!
565 4 new update file!
651 3 new update file!
653 3 new update file!
655 3 new update file!
ResultYou have activated batch classification for goods movements in IM.
5.1.2 Making Settings for Batch Where-Used List
UseThe purpose of this activity is to make the settings for the batch where-used list.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Batch Where-Used List Make Settings for Batch Where-Used List
Menu IMG Logistica en General Gestión de Lotes Referencia de utilización de lotes Instalar referencia de utilización de lotes
Transaction Code SPRO
2. On the Batch Where-Used List: Overview screen, enter the following information and choose Save:
Plant Description BaWU synchron. posting
PLANT_1 (1000)
Production Plant X
PLANT_2 (1100)
Distribution Plant X
© SAP AG Page 15 of 46
SAP Best Practices Batch Management (117): Configuration Guide
ResultYou have made settings for the batch where-used list.
5.1.3 Setting Expiration Date Check for Plant (Expiration Date only)
UseThe purpose of this activity is to set the expiration date check for relevant plants.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Shelf Life Expiration Date (SLED) Set Expiration Date Check
Menu IMG Logistica en General Gestión de Lotes Fecha preferente de consumo (FPC) Parametrizar control de fecha preferente de consumo
Transaction Code OMJ5
2. On the Activate/Deactivate Expiration Date Check screen, choose Plant.
3. On the Change View “Activate Exp.Date View per Plant, Mvnt Type”: Overview screen, enter the following information:
Plnt BBD/ProdDt
PLANT_1 (1000) X
PLANT_2 (1100) X
4. Choose Save.
Result The expiration date is activated for the selected plants.
5.1.4 Setting Expiration Date Checks for Movement Types (Expiration Date only)
UseThe purpose of this activity is to set the material shelf life expiration date check for goods receipts for movement type.
PrerequisitesThe shelf life expiration date of a material can only be entered if:
© SAP AG Page 16 of 46
SAP Best Practices Batch Management (117): Configuration Guide
The minimum remaining shelf life is maintained in the material master record. The minimum remaining shelf life is the time the material must still be usable, so that the goods receipt is accepted by the system. You can define the time unit the system uses in the storage data of the material master record in the Period indicator field.
The shelf life expiration date check is active in the plant.
The shelf life expiration date check is active for the movement type.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistics – General ® Batch Management ® Shelf Life Expiration Date (SLED) ® Set Expiration Date Check
Menu IMG Logistica en General Gestión de Lotes Fecha preferente de consumo (FPC) Parametrizar control de fecha preferente de consume
Transaction Code OMJ5
2. Choose Movement Type.
3. On the Change View “Expiration Date per Movement Type”: Overview screen, enter the following information:
Movemnt Type Check SExpDate
101 1
105 1
123 1
301 2
302 2
303 2
305 1
315 1
501 1
503 1
505 1
511 1
521 1
523 1
525 1
531 1
561 1
563 1
565 1
© SAP AG Page 17 of 46
SAP Best Practices Batch Management (117): Configuration Guide
4. Choose Save.
Result The expiration date is required as input for the selected movement types and is checked when entered.
5.2 Configuration for Batch Determination and Batch Check
5.2.1 MM Batch Determination and Batch Check
5.2.1.1Defining Inventory Management Strategy Types (FIFO & Expiration Date)
UseThe purpose of this activity is to define the Inventory Management strategy types.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Strategy Types Define Inventory Management Strategy Types
Menu IMG Logistica en General Gestión de Lotes Determinación y verificación de lotes Clases de estrategia Definir clases de estrategia en la gestión de stocks
Transaction Code SPRO
2. On the Change View “Strategy types (&1&2)”: overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB11
Description BP: Batch number
Access seq. ME01
Selection
Class YB_BATCH
Sorting
Sort sequence YB_FIFO_SORT
Batch split
No. of splits Leave empty
Changes allowed X
© SAP AG Page 18 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Field Name Description User Action and Values Comment
Quantity proposal
Display UoM A
Dialog Batch Determin.
Leave empty
Qty proposal Leave empty
3. Choose Save (Ctrl + S).
4. On the Change View “Strategy types (&1&2)”: overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB12
Description BP: Expiration date
Access seq. ME01
Selection
Class YB_EXP_DATE_002
Sorting
Sort sequence YB_EXP_DATE_SORT
Batch split
No. of splits 3
Changes allowed X
Quantity proposal
Display UoM B
Dialog Batch Determin.
X
Qty proposal Leave empty
5. Choose Save (Ctrl + S).
6. Choose Back (F3).
5.2.1.2 Defining Inventory Management Search Procedure
5.2.1.2.1 Define Inventory Management Search Procedure - Procedures
UseThe purpose of this activity is to define batch search procedures for production orders and the areas Inventory Management, Warehouse Management, and Sales and Distribution.
ProcedureCarry out the following steps:
© SAP AG Page 19 of 46
SAP Best Practices Batch Management (117): Configuration Guide
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Definition Define Inventory Management Search Procedure
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Definir esquema de búsqueda en la gestión de stocks
Transaction Code SPRO
2. On the Change View “Procedures”: overview screen, choose New Entries and make the following entries:
Procedure Description
YB0001 BP: Search procedure
5.2.1.2.2 Define Inventory Management Search Procedure – Control Data
Procedure 1. Access the activity using one of the following navigation options:
IMG Menu Logistic – General Batch Management Batch Determination and Batch Check Batch Search Procedure Definition Define Inventory Management Search Procedure
Menu IMG Logística en general Gestión de lotes Determinación y verificación de lotes Definición del procedimiento para la búsqueda de lotes Definir esquema de búsqueda en la gestión de stocks
Transaction Code SPRO
2. Select your entry (for example, YB0001) and choose Control data.
3. Enter the following information:
Step Contr CTyp
10 1 YB11
20 1 YB12
4. Choose Save (Ctrl + S).
5. Choose Back (F3).
ResultYou have defined an inventory management search procedure.
5.2.1.3 Allocating IM Search Procedure/Activate Check
Use
© SAP AG Page 20 of 46
SAP Best Practices Batch Management (117): Configuration Guide
The purpose of this activity is to allocate the IM search procedure and activates the check.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Allocation and Check Activation Allocate IM Search Procedure /Activate Check
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Asignar proced.búsqueda de lotes y activar verificación Asignar esquema búsqueda a gestión de stocks y activar verif.
Transaction Code OMCG
2. On the Change View “Search Procedures: batch determine. MM”: Overview screen, choose movement type 261 (GI for order) and make the following entries:
MvT Movment Type Text S Special Stock description Search Check batch
261 GI for order YB0001 X
3. Choose Save (Ctrl + S).
4. Choose Back (F3).
ResultYou have allocated the IM search procedure and activated the check.
5.2.2 PP Batch Determination and Batch Check
5.2.2.1Defining Production Order Strategy Types (FIFO & Expiration Date)
UseThe purpose of this activity is to define the process order strategy types.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Strategy Types Define Production Order Strategy Types
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Clases de estrategia Definir clases de estrategia en la orden de fabricación
Transaction Code SPRO
© SAP AG Page 21 of 46
SAP Best Practices Batch Management (117): Configuration Guide
2. On the Change View “Strategy types (&1&2)”: overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB11
Description BP: Batch number
Access seq. C001
Selection
Class YB_BATCH
Sorting
Sort sequence YB_FIFO_SORT
Batch split
No. of splits Leave empty
Changes allowed X
Quantity proposal
Display UoM A
Dialog Batch Determin.
Leave empty
Qty proposal Leave empty
3. Choose Save (Ctrl + S).
4. On the Change View “Strategy types (&1&2)”: overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB12
Description BP: Expiration date
Access seq. C001
Selection
Class YB_EXP_DATE_002
Sorting
Sort sequence YB_EXP_DATE_SORT
Batch split
No. of splits 3
Changes allowed X
Quantity proposal
Display UoM B
Dialog Batch Determin.
X
Qty proposal Leave empty
5. Choose Save (Ctrl + S).
© SAP AG Page 22 of 46
SAP Best Practices Batch Management (117): Configuration Guide
6. Choose Back (F3).
ResultYou have defined process order strategy types.
5.2.2.2Defining Production / Process Order Search
5.2.2.2.1 Define Production / Process Order Search Procedure – Procedures
UseIn this step, you define batch search procedures for batch determination in process orders.
A batch search procedure comprises all strategy types that can be used for a particular combination of plant and order type.
ProcedureCarry out the following steps:
1. Access the activity using the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Definition Define Production Order Search Procedure
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Definición del procedimiento para la búsqueda de lotes Definir esquema de búsqueda en la orden de fabricación
Transaction Code SPRO
2. On the Change View “Procedures”: overview screen, choose New Entries and make the following entries:
Procedure Description
YB0001 BP: Search procedure
3. Choose Back (F3).
5.2.2.2.2 Define Production / Process Order Search Procedure – Control
Procedure1. Access the activity using the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Definition Define Production Order Search Procedure
Menu IMG Logistica en general Gestion de lotes Determinación y verificación de lotes Definición del procedimiento para la búsqueda de lotes Definir esquema de búsqueda en la
© SAP AG Page 23 of 46
SAP Best Practices Batch Management (117): Configuration Guide
orden de fabricación
Transaction Code SPRO
4. Select your entry (for example, YB0001) and choose Control.
5. Enter the following information:
Step Contr CTyp
10 1 YB11
20 1 YB12
6. Choose Save (Ctrl + S)
7. Choose Back (F3).
ResultYou have defined a production order search procedure.
5.2.3 Assign Search Procedure to Pull List
UseIn this work step you assign batch search procedures to the individual plants for which batches are to be determined.
Procedure1. Access the activity using the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Allocation and Check Activation Assign Search Procedures to Production and Activate Check Assign Search Procedure to Pull List
IMG Menu Logistica en general Gestion de lotes Determinación y verificación de lotes Asignar proced. Búsqueda de lotes y activar verificación Asignar esquema de búsqueda en producción y activar verif. Asignar esquema búsqueda a la lista puesta a dispos. Material
Transaction Code SPRO
8. On the Change View “Pull List Control”: overview screen, make the following entries:
Plnt Procedure Description
1000 YB0001 BP: Search procedure
2. Choose Save (Ctrl + S)
3. Choose Back (F3).
© SAP AG Page 24 of 46
SAP Best Practices Batch Management (117): Configuration Guide
5.2.4 SD Batch Determination and Batch Check
5.2.4.1Defining Sales & Distribution Strategy Types (FIFO & Expiration Date)
ProcedureCarry out the following steps:
1. Access the next activity using the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Strategy Types Define Sales & Distribution Strategy Types
Menu IMG Logistica en general Gestion de lotes Determinación y verificación de lotes Definir clases de estrategia en Comercial
Transaction Code SPRO
2. On the Change View “Strategy types (&1&2)”: Overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB11
Description BP: Batch number
Access seq. SD01
Selection
Class YB_BATCH
Sorting
Sort sequence YB_FIFO_SORT
Batch split
No. of splits Leave empty
Changes allowed X
Quantity proposal
Display UoM A
Dialog Batch Determin.
Leave empty
Qty proposal Leave empty
3. Choose Save (Ctrl + S).
4. On the Change View “Strategy types (&1&2)”: overview screen, choose New Entries and make the following entries:
Field Name Description User Action and Values Comment
Condit. type YB12
Description BP: Expiration date
Access seq. SD01
© SAP AG Page 25 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Field Name Description User Action and Values Comment
Selection
Class YB_EXP_DATE_002
Sorting
Sort sequence YB_EXP_DATE_SORT
Batch split
No. of splits 3
Changes allowed X
Quantity proposal
Display UoM B
Dialog Batch Determin.
X
Qty proposal Leave empty
5. Choose Save (Ctrl + S).
6. Choose Back (F3).
ResultThe SD batch search strategy types have been created.
5.2.4.2 Defining Sales and Distribution Search Procedure
5.2.4.2.1 Define Sales and Distribution Search Procedure – Procedures
UseThe purpose of this activity is to define batch search procedures for production orders and the areas Inventory Management, Warehouse Management, and Sales and Distribution.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Definition Define Sales and Distribution Search Procedure
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Definición del procedimiento para la búsqueda de lotes Definir esquema de búsqueda en Comercial
Transaction Code SPRO
© SAP AG Page 26 of 46
SAP Best Practices Batch Management (117): Configuration Guide
2. On the Change View “Procedures”: overview screen, choose New Entries and make the following entries:
Procedure Description
YB0001 BP: Search procedure
3. Choose Save (Ctrl + S).
4. Choose Back (F3).
5.2.4.2.2Define Sales and Distribution Search Procedure - Control data
Procedure
1. Select your entry (for example, YB0001) and choose Control data.
2. Enter the following information:
Step Contr CTyp
10 1 YB11
20 1 YB12
3. Choose Save (Ctrl + S).
4. Choose Back (F3).
ResultYou have defined an SD search procedure.
5.2.4.3Allocating SD Search Procedure/Activate Check
UseThe purpose of this activity is to allocate the IM search procedure and activates the check.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Logistic - General Batch Management Batch Determination and Batch Check Batch Search Procedure Allocation and Check Activation Allocate SD Search Procedure /Activate Check
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Asignar proced.búsqueda de lotes y activar verificación Asignar esquema de búsqueda a Comercial y activar verif.
Transaction Code SPRO
© SAP AG Page 27 of 46
SAP Best Practices Batch Management (117): Configuration Guide
2. On the Change View “Search Procedure for Batches: Determination in Sales Docs screen, choose New Entries.
3. On the New Entries: Overview of Added Entries screen, make the following entries:
Sales Org. Distribution Channel Division Sales DocType
Search Procedure
Check Batch
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
DL YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
FD YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
KB YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
OR YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
SO YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
YBFD YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
YBRE YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL2 (20)
DIVISION (10)
DL YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL2 (20)
DIVISION (10)
FD YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL2 (20)
DIVISION (10)
KB YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL2 (20)
DIVISION (10)
OR YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL2 (20)
DIVISION (10)
SO YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL3 (30)
DIVISION (10)
DL YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL3 (30)
DIVISION (10)
FD YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL3 (30)
DIVISION (10)
KB YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL3 (30)
DIVISION (10)
OR YB0001 X
SALES_ORG1 (1000)
DISTRIBUTION_CHANNEL3 (30)
DIVISION (10)
SO YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
DL YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION (10)
FD YB0001 X
© SAP AG Page 28 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Sales Org. Distribution Channel Division Sales DocType
Search Procedure
Check Batch
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION1 (10)
KB YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION1 (10)
OR YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION1 (10)
SO YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION1 (10)
YBFD YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL1 (10)
DIVISION1 (10)
YBMO YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL2 (20)
DIVISION1 (10)
DL YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL2 (20)
DIVISION1 (10)
FD YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL2 (20)
DIVISION1 (10)
KB YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL2 (20)
DIVISION1 (10)
OR YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL2 (20)
DIVISION1 (10)
SO YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
DL YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
FD YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
KB YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
NL YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
OR YB0001 X
SALES_ORG1 (1100)
DISTRIBUTION_CHANNEL3 (30)
DIVISION1 (10)
SO YB0001 X
4. Choose Save.
ResultYou have allocated the SD search procedure and activated the check.
5.2.4.4 Defining Item Categories for Batch Sub Items
UseThe purpose of this activity is to define the item categories YB99 and YB98 (return) for batch split items.
© SAP AG Page 29 of 46
SAP Best Practices Batch Management (117): Configuration Guide
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Sales Sales Documents Sales Document Item Define Item Category
Menu IMG Comercial Ventas Documentos de Ventas Posición documento ventas Definir tipos de posición
Transaction Code SPRO
2. On the Change View “Maintain Item Categories”: Overview screen, choose Position.
3. Enter TAN in the input field Item category in the Another entry dialog box.
4. Choose Continue (Enter).
5. On the Change View “Maintain Item Categories”: Overview screen, mark the line of item category TAN and choose Copy As…(F6).
6. On the Change View “Maintain Item Categories”: Details of Selected Set screen, enter the values shown below (do not overwrite or delete existing field values).
Field Name User Action and Values
Item Category YB99 - Batch Sub Item
7. Choose Enter.
8. Confirm the Dependent entries for copying control dialog box with enter.
9. Save your entries.
10. On the Change View “Maintain Item Categories”: Overview screen, choose Position.
11. Enter REN in the input field Item category in the Another entry dialog box.
12. Choose Continue (Enter).
13. On the Change View “Maintain Item Categories”: Overview screen, mark the line of item category REN and choose Copy As…(F6).
14. On the Change View “Maintain Item Categories”: Details of Selected Set screen, enter the values shown below (do not overwrite or delete existing field values).
Field Name User Action and Values
Item Category YB98 – Batch Sub Item
Billing Relevance A
Determine Cost No
15. Choose Enter.
16. Confirm the Dependent entries for copying control dialog box with enter.
17. Save your entries.
18. Choose Back (F3).
© SAP AG Page 30 of 46
SAP Best Practices Batch Management (117): Configuration Guide
5.2.4.4.1 Define Item Categories: Texts
Procedure1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Sales Sales Documents Sales Document Item Define Item Category
Menu IMG Comercial Ventas Documentos de Ventas Posición documento ventas Definir tipos de posición
Transaction Code SPRO
2. On the Change View “Maintain Item Categories”: Overview screen, choose Position
Procedure Description
YB99 Batch Sub Item
YB98 Standard Item
3. Save your entries.
4. Choose Back (F3)
5.2.4.4.2 Define Item Categories: Maintain Copy Control for Sales Documents
Procedure1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Sales Maintain Copy Control for Sales Documents
Menu IMG Comercial Ventas Actualizar control de copia para documentos de ventas
Transaction Code SPRO
2. Select Copying Control: Sales Document to Sales Document.
The extention of the configuration that is performed. For that, access SCPR3 and search for the BCset /SMBA0/TVCPA_B1P2_J01
5.2.4.4.3 Define Item Categories: Maintain Copying Control For Billing Documents
Procedure1. Access the activity using one of the following navigation options:
© SAP AG Page 31 of 46
SAP Best Practices Batch Management (117): Configuration Guide
IMG Menu Sales and Distribution Sales Maintain Copy Control for Sales Documents
IMG Menu Comercial Ventas Actualizar control de copia para documentos de ventas
Transaction Code SPRO
2. Select Copying Control: Sales Document to Sales Document.
the extention of the configuration that is performed. For that, access SCPR3 and search for the BCset /SMBA0/TVCPA_B1P2_J01
5.2.4.4.4 Define Item Categories: Maintain Copying Control For Deliveries
Procedure1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Sales Maintain Copy Control for Sales Documents
IMG Menu Comercial Ventas Actualizar control de copia para documentos de ventas
Transaction Code SPRO
2. Select Copying Control: Sales Document to Sales Document
????
5.2.4.5 Activating Automatic Batch Determination in SD (Item Cat Delivery)
UseThe purpose of this activity is to activate automatic batch determination in SD.
General Information: The Automatic Batch Determination can be done either on Sales order level or in the delivery. When you assign the Batch already in the Sales Order a batch split is not possible. The standard configuration foresees the Automatic Batch Determination in the Delivery.
ProcedureCarry out the following steps:
© SAP AG Page 32 of 46
SAP Best Practices Batch Management (117): Configuration Guide
1. Access the activity using one of the following navigation options:
IMG Menu Logistics - General Batch Management Batch Determination and Batch Check Activate Automatic Batch Determination in SD
Menu IMG Logistica en General Gestion de Lotes Determinación y verificación de lotes Activar la determinación automática de lotes en Comercial
Transaction Code SPRO
2. Choose Activate Automatic Batch Determination for Delivery Item Cat and enter the following information:
Item Category Description Automatic Batch Determination
KBN Consignment Fill-up X
KLN InterCo Stock Tr.Itm X
NLC StandStockTransItem X
NLN Free of Charge Item X
RTTC SPE Ret.pos.to Cust. X
RTTR SPE Ret.pos.Over. X
TAN Standard Item X
TAQ Pric.at Header Level X
YBAB Standard Item IM X
YBAO Standard Item X
YBEN Free of Charge Exps X
YBLN Order BOS/Std Item X
YB99 Batch Sub Item X
3. Choose Save (Ctrl + S).
4. Choose Back (F3).
5.3 Batch Split Processing in SD
5.3.1 Deliveries with Batch Split
5.3.1.1Defining Item Category Determination in Deliveries
UseThe purpose of this activity is to define item category determination in deliveries.
ProcedureCarry out the following steps:
© SAP AG Page 33 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Access the activity using one of the following navigation options:
IMG Menu Logistics Execution Shipping Deliveries Define Item Category Determination in Deliveries
Menu IMG Logistics Execution Expedición Entregas Definir determinación de tipo de posición en entregas
Transaction Code 0184
On the Change View “Delivery item category determination”: Overview screen, choose New Entries.
Enter the following information:
DlvT ITCG Usg. ITMC ITMC
LF ERLA CHSP KLN KLN
LF ERLA CHSP NLC NLC
LF ERLA CHSP NLN NLN
LF ERLA CHSP YBLN YBLN
LF NORM CHSP YB99
LF NORM CHSP KLN KLN
LF NORM CHSP NLC NLC
LF NORM CHSP NLN NLN
LF NORM CHSP TANN TANN
LF NORM CHSP YBLN TAN
NL ERLA CHSP NLN NLN
NL NORM CHSP NLN NLN
NLCC ERLA CHSP NLC NLC
NLCC NORM CHSP NLC NLC
LR NORM CHSP YB98
Choose Save (Ctrl + S).
Choose Back (F3).
5.3.1.2 Foreign Trade: Defining Procedures and Setting Default Values
UseIn this step the proposal for foreign trade procedure is set.
ProcedureCarry out the following steps:
1. Define Procedure Default.
IMG Menu IMG Sales and Distribution Foreign Trade/Customs
© SAP AG Page 34 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Basis Data for Foreign Trade Define Procedures and Default Values
Menu IMG IMGComercial Comercio exterior/Aduana Datos básicos para el comercio exterior Definir procedimento y valor propuesto
Transaction Code OVE7
2. Choose Define procedure default.
3. Select New Entries.
4. Define Procedure Default.
Field Name Description User Action and Values Comment
Country CL
SOrg. Sales Organization 1000
Distr. Chl. Distribution Channel
10
Division 10
Exp/ImpGrp. Blank
Item cat. YB98
Procedure 10000
5. Select Next Entry.
6. Define Procedure Default.
Field Name Description User Action and Values Comment
Country CL
SOrg. Sales Organization
1100
Distr. Chl. Distribution Channel
10
Division 10
Exp/ImpGrp. Blank
Item cat. YB98
Procedure 10000
7. Select Next Entry.
8. Define Procedure Default.
Field Name Description User Action and Values Comment
Country CL
SOrg. Sales Organization
1000
Distr. Chl. Distribution Channel
10
© SAP AG Page 35 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Field Name Description User Action and Values Comment
Division 10
Exp/ImpGrp. Blank
Item cat. YB99
Procedure 10000
9. Select Next Entry.
10. Define Procedure Default.
Field Name Description User Action and Values Comment
Country CL
SOrg. Sales Organization 1100
Distr. Chl. Distribution Channel
10
Division 10
Exp/ImpGrp. Blank
Item cat. YB99
Procedure 10000
11. Save your entries.
5.3.2 Billing of Batch Split Items
5.3.2.1Maintaining Copying Control for Billing Documents
5.3.2.1.1 Maintain Copying Control For Billing Documents – Header
UseThe purpose of this activity is to maintain the copying control for billing documents.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Billing Billing Documents Maintaining Copying Control for Billing Documents
Menu IMG Comercial Facturación Documentos de facturación Actualizar control de copia para facturas
Transaction Code VTFL
2. Choose Copying control: Delivery document to billing document.
3. Choose Display/Change. On the Change View “Delivery item category determination”: Overview screen, choose New Entries. Enter the following information:
© SAP AG Page 36 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Target Billing Type
From de-livery type
Item Cate-gory
Copy-ing re-quire-ments
Data trans-fer VBRK
Data trans-fer VBRK/VBRP
Data transfer KOMV
Pri-cing Type
Pos. Neg. Quantity
Bil-ling Quan-tity
F2 LF KLN 004 000 001 000 G + G
F2 LF TAN 004 000 007 000 G + G
F2 LF TANN 004 000 001 000 G + G
F2 LF YBLN 004 000 001 000 G + G
F8 LF KLN 010 000 000 000 G H
F8 LF TAN 010 000 000 000 G H
F8 LF TANN 010 000 000 000 G H
F8 LF YBLN 010 000 000 000 G H
IV NLCC NLC 018 000 000 000 B + G
IV NLCC NLN 018 000 000 000 B + G
YBRE LF YB98 004 000 001 000 G +
F8 LR YB99 010 000 000 000 G G
4. Choose Save (Ctrl + S).
5.3.2.1.2 Maintain Copying Control For Billing Documents - Item
Procedure1. Access the activity using one of the following navigation options:
IMG Menu Sales and Distribution Billing Billing Documents Maintaining Copying Control for Billing Documents
Menu IMG Comercial Facturación Documentos de facturación Actualizar control de copia para facturas
Transaction Code VTFL
2. Choose Copying control: Delivery document to billing document.
3. Choose Display/Change. On the Change View “Delivery item category determination”: Overview screen, choose New Entries.
Enter the following information:Target Billing Type
From delivery type
Item Category
Copying requirements
Data transfer VBRK
Data transfer VBRK/VBRP
Data transfer KOMV
Pricing Type
Pos. Neg. Quantity
Billing Quantity
F2 LF KLN 004 000 001 000 G + G
© SAP AG Page 37 of 46
SAP Best Practices Batch Management (117): Configuration Guide
F2 LF TAN 004 000 007 000 G + G
F2 LF TANN 004 000 001 000 G + G
F2 LF YBLN 004 000 001 000 G + G
F8 LF KLN 010 000 000 000 G H
F8 LF TAN 010 000 000 000 G H
F8 LF TANN 010 000 000 000 G H
F8 LF YBLN 010 000 000 000 G H
IV NLCC
NLC 018 000 000 000 B + G
IV NLCC
NLN 018 000 000 000 B + G
F8 LF YB99 010 000 000 000 G G
4. Choose Save (Ctrl + S).
6 Master Data
6.1 Material Master
6.1.1 Creating Material Master: Assigning Class (FIFO & EXP DATE)
UseThe purpose of this activity is to create the classification view of batch managed trading materials, e.g. Trade21 (H21) and Trade22 (H22). The class assignment of the process specific materials is done in the scenario level.
Class YB_BATCH is used for FIFO searched batches.
Class YB_EXP_DATE_001 is used for expiration date searched batches.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Materials Management Material Master Material Create (General) Immediately
Menu IMG Logistica Gestion de Materiales Maestro de materiales Material Crear en general MM01 - Inmediatamente
Transaction Code MM01
2. On the Create Material (Initial Screen) screen enter TRADE21 (H21) in input field Material and choose Enter.
3. Choose Enter to confirm the information message.
4. On the Select view(s) screen mark the view Classification and choose Enter.
© SAP AG Page 38 of 46
SAP Best Practices Batch Management (117): Configuration Guide
5. On the Class type (1) screen select class type 023 and double click.
6. On the Classification screen enter class YB_BATCH (FIFO) in input field Class and choose Enter.
7. Choose Save (Ctrl + S).
8. Repeat steps 1 to 7 using material TRADE22 (H22) and class YB_EXP_DATE_001 (EXP DATE).
6.1.2 Changing Material Master: Activating Batch Management
UseThe purpose of this activity is to activate batch management for trading materials TRADE21 (H21 or H22). Activation of batch management for process specific materials is done in the scenario level.
Prerequisite The materials TRADE21 (H21 or H22) must be virgin, that means they must not have stocks and must not be used in any documents, to be able to make them relevant to batch management.
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Materials Management Material Master Material Change Immediately
Menu SAP Logistica Gestion de Materiales Maestro de materiales Material Modificar Inmediatamente
Transaction Code MM02
2. On the Change Material (Initial Screen) screen, enter TRADE21 (H21) in input field Material and choose Select view(s).
3. On the Select view(s) screen mark view General Plant Data / Storage 1 and choose Organizational levels.
4. On the Organizational levels screen enter PLANT_1 (1000) in input field Plant and choose Enter.
5. On the Change Material TRADE21 (H21) screen select the checkbox Batch management (checkbox must be flagged).
6. Choose Save (Ctrl + S).
7. Repeat steps 1-6 with material TRADE22 (H22)
© SAP AG Page 39 of 46
SAP Best Practices Batch Management (117): Configuration Guide
6.1.3 Changing Material Master: Maintaining Expiration Date (only PI)
UseThese settings are only required for materials controlled with exp. Data. Here for trading material, e.g. TRADE22 (H22).
Prerequisite The material TRADE22 (H22) must exist in material master. The subsequent fields are on client level and used for every plant.
DependenciesThe period (day, week, month, year) depends on the entry in the Period indicator field.
Minimum Remaining Shelf Life: Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system.
Total shelf life: Period for which the material will keep in total, that is, from the date of production to the shelf life expiration date.
Value entered in the material master record. The system assumes that the date entered upon goods receipt is the material's date of production. It then calculates a shelf life expiration date from the date of production plus the total shelf life.
No value entered in the material master record.The system assumes that the date entered upon goods receipt is the material's shelf life expiration date.
In both cases, the system updates the shelf life expiration date in the batch master record and in the material document if the goods receipt is accepted.
The shelf life is checked upon goods receipt only if this check has been activated in Customizing for Inventory Management in the activity Set expiration date check.
ProcedureCarry out the following steps:
1. Access the transaction using one of the following navigation options:
SAP Menu Logistics Materials Management Material Master Material Change Immediately
Menu SAP Logistica Gestion de Materiales Maestro de materiales Material Modificar Inmediatamente
Transaction Code MM02
2. On the Change Material (Initial Screen) screen, enter TRADE22 (H22) in input field Material and choose Select view(s).
3. On the Select view(s) screen mark view General Plant Data / Storage 1 and choose Organizational levels.
4. On the Organizational levels screen delete any value in input field Plant and choose Enter. Please note that the fields are on client level and not on plant level.
5. On the Change Material TRADE22 (H22) screen enter the following values:
© SAP AG Page 40 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Material Period Indicator for Shelf Life Expiration Date
Minimum Remaining Shelf
Total shelf life
Unit for maximum storage period
TRADE22 (H22)
D 180 365
6. Choose Save (Ctrl + S).
6.2 Batch Search Strategies - Condition Records
6.2.1 Batch Search Strategy for Inventory Management (FIFO and Exp.Date)
6.2.1.1 Batch Search Strategy for Inventory Management (FIFO)
UseThe purpose of this activity is to create batch search strategies for inventory management for material TRADE21 (H21).
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central functions Batch Management Batch Determination Batch Search Strategy For Inventory Management
Menu SAP Logistica Funciones Centrales Gestion de Lotes Determinación de Lotes Estrategia búsqueda de lotes P.gestión de stocks
Transaction Code MBC1
2. On the Create Batch Search Strategy: Initial Screen, enter YB11 in input field Strategy type and choose Key Combination.
3. In the Key Combination popup, choose Movement Type / Material and choose Enter.
4. On the Create BP: Batch Number (YB11): Fast Entry screen, enter 601 in the Movement Type field.
© SAP AG Page 41 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Material No. batch splits
Changes allowed
Dialog batch determination
Dialog UoM
Quantity proposal
Overdelivery allowed
Sel. Type
TRADE21 (H21)
99 X X A 1 X O
Material
No. batch splits
Changes allowed
Dialog batch determination
Dialog UoM
Quantity proposal
Over-delivery allowed
Sel. Type
TRADE21 (H21)
99 X X A 1 X O
5. Make the following entries for Movement Type/Material:
6. Make the following entries for Movement Type/Material:
7. Choose Enter.
8. Select the entered line and choose Selection criteria.
9. The batch class YB_BATCH assigned to the material and the characteristics of the class are shown. Confirm the data by choosing Enter and Back (F3).
10. On the Create BP: Batch Number (YB11): Fast Entry screen, select the entered line again and choose Sort.
11. On the Create BP: Batch Number (YB11): Sort Rule screen, enter YB_FIFO_SORT in input field Sort rule.
12. Choose Enter and Back (F3).
13. Save your entries.
14. Repeat steps 3 to 11 for material TRADE21 (H21) and the following movement types:
Movement Type Description
601 (already done) GI for sales order
201 GI for cost center
231 GI for sales order
251 GI for sales
291 GI all acc. assigmts
301 TF trfr plnt to plnt
303 TF rem.fm stor.to pl
311 TF trfr within plant
313 TF rem.fm str.toSLoc
313 TF rem.fm str.toSLoc
451 GI returns
551 GI scrapping
© SAP AG Page 42 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Movement Type Description
553 GI scrapping QI
555 GI scrapping blocked
557 GI adjust. transit
557 GI adjust. Transit
603 TF rem.fm stor.to pl
6.2.1.2 Batch Search Strategy for Inventory Management (EXP DATE)
UseThe purpose of this activity is to create batch search strategies for inventory management for material TRADE22 (H22).
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central functions Batch Management Batch Determination Batch Search Strategy For Inventory Management
Menu SAP Logistica Funciones Centrales Gestion de Lotes Determinación de Lotes Estrategia búsqueda de lotes P.gestión de stocks
Transaction Code MBC1
2. On the Create Batch Search Strategy: Initial Screen, enter YB12 in input field Strategy type and choose Enter.
3. In the Key Combination dialog box, choose Movement Type / Material and choose Enter.
4. On the Create BP: Batch Number (YB11): Fast Entry screen, enter 601 in the Movement Type field.
5. Make the following entries for Movement Type/Material:
Material No. batch splits
Changes allowed
Dialog batch determi-nation
Dialog UoM
Quantity proposal
Over-delivery allowed
Sel. Type
TRADE22 (H22)
99 X X A 1 X O
6. Choose Enter.
7. Select the entered line and choose Selection criteria.
8. The batch class YB_EXP_DATE_002 assigned to the material and the characteristics of the class are shown. Confirm the data by choosing Enter and Back (F3).
© SAP AG Page 43 of 46
SAP Best Practices Batch Management (117): Configuration Guide
9. On the Create BP: Batch Number (YB11): Fast Entry screen, select the entered line again and choose Sort.
10. On the Create BP: Batch Number (YB11): Sort Rule screen, enter YB_EXP_DATE_SORT in input field Sort rule.
11. Choose Enter and Back (F3).
12. Save your entries.
13. Repeat steps 3 to 11 for material TRADE22 (H22) and the following movement types:
Movement Type Description
601 (already done) GI for sales order
201 GI for cost center
231 GI for sales order
251 GI for sales
291 GI all acc. assigmts
301 TF trfr plnt to plnt
303 TF rem.fm stor.to pl
311 TF trfr within plant
313 TF rem.fm str.toSLoc
313 TF rem.fm str.toSLoc
451 GI returns
551 GI scrapping
553 GI scrapping QI
555 GI scrapping blocked
557 GI adjust. transit
557 GI adjust. Transit
603 TF rem.fm stor.to pl
6.2.2 Batch Search Strategy for Sales and Distribution (FIFO and Exp.Date)
6.2.2.1 Batch Search Strategy for Sales and Distribution (FIFO)
UseThe purpose of this activity is to create batch search strategies for sales and distribution for material TRADE21(H21).
ProcedureCarry out the following steps:
© SAP AG Page 44 of 46
SAP Best Practices Batch Management (117): Configuration Guide
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central functions Batch Management Batch Determination Batch Search Strategy For Sales and Distribution
Menu IMG Logistica Funciones Centrales Gestion de Lotes Determinación de lotes Estrategia búsqueda de lotes Para Comercial
Transaction Code VCH1
2. On the Create Batch Search Strategy: Initial Screen enter YB11 in input field Strategy type.
3. In the Key Combination popup, choose Material and choose Enter.
4. On the Create BP: Batch Number (YB11): Fast Entry screen, enter the following information:
Material No. batch splits
Changes allowed
Dialog batch determi-nation
Dialog UoM
Quantity proposal
Over-delivery allowed
Sel. Type
TRADE21 (H21)
99 X X A 1 X O
5. Choose Enter.
6. Select the entered line and choose Selection criteria.
7. The batch class YB_BATCH assigned to the material and the characteristics of the class are shown. Confirm the data by choosing Enter and Back (F3).
8. On the Create BP: Batch Number (YB11): Fast Entry screen, select the entered line again and choose Sort.
9. On the Create BP: Batch Number (YB11): Sort Rule screen, enter YB_FIFO_SORT in input field sort rule.
10. Choose Enter and Back (F3).
11. Save your entries.
6.2.2.2 Batch Search Strategy for Sales and Distribution (EXP Date)
UseThe purpose of this activity is to create batch search strategies for sales and distribution for material TRADE22 (H22).
ProcedureCarry out the following steps:
1. Access the activity using one of the following navigation options:
SAP Menu Logistics Central functions Batch Management Batch Determination Batch Search Strategy For Sales and Distribution
Menu SAP Logistica Funciones Centrales Gestion de Lotes
© SAP AG Page 45 of 46
SAP Best Practices Batch Management (117): Configuration Guide
Determinación de lotes Estrategia búsqueda de lotes Para Comercial
Transaction Code VCH1
2. On the Create Batch Search Strategy: Initial Screen enter YB12 in input field Strategy type.
3. In the Key Combination popup, choose Material and choose Enter.
4. On the Create BP: Batch Number (YB11): Fast Entry screen, enter the following information:
Material No. batch splits
Changes allowed
Dialog batch determi-nation
Dialog UoM
Quantity proposal
Over-delivery allowed
Sel. Type
TRADE22 (H22)
99 X X A 1 X O
5. Choose Enter.
6. Select the entered line and choose Selection criteria.
7. The batch class YB_EXP_DATE_002 assigned to the material and the characteristics of the class are shown. Confirm the data by choosing Enter and Back (F3).
8. On the Create BP: Batch Number (YB11): Fast Entry screen, select the entered line again and choose Sort.
9. On the Create BP: Batch Number (YB11): Sort Rule screen, enter YB_EXP_DATE_SORT in input field sort rule.
10. Choose Enter and Back (F3).
11. Save your entries.
© SAP AG Page 46 of 46