批次管理 (Batch management)
同一种物料,每一采购批次或生产批次都不同,启用批次管理;食品、药品行业常用;


1 Batch Level:
(1)工厂级:
不同工厂的同一物料可以用同一个批次号,但特征值不同;工厂+物料信息才能决定一个批次;(两个工厂的同一物料都有各自的批次号A1,但两个A1内容不相同);跨工厂转储时,需重新建立批次、指定特征值;
(2)物料级:
不同工厂的同一物料,批次号相同、特征值相同;但是两种物料可能会有相同批次;
(3)Client级:
不同物料的批次号是不同的,一个批次号只分配一次;不同物料不共享同种批次号;
后台批次管理一旦确认哪种级别之后无法修改
Batch Status Management:是否启用批次状态管理,如果启用,会有一个Batch status页签

MSC1N:创建批次号
MSC2N:修改批次号
MSC3N:查看批次号
激活批次状态管理,在UU、QI、BLOCK基础上,多一个限制性库存
非限制到限制/限制到非限制必须通过更改批次属性实现,可以用MSC2N切换Batch的UU和RU状态,自动产生341、342的移动类型




Configure…for Internal Batch No.:激活用户出口,做内部号码段增强(CMOD)
EXIT_SAPLV01Z_001
EXIT_SAPLV01Z_002

重点讲下批次决定
表MCH1:BATCH
1、CT04,建Characteristics
(1)、最后收货日期:ZYQ01_MCH1_LWEDT



(2)BBD:ZYQ01_MCH1_VFDAT


(3)、生产日期:ZYQ01_MCH1_HSDAT


2、CL02 建Class:ZYQ01_MCH1(注意是023)




MIGO,对PO收货

自动生成批次号:1207000540,点“Classification”

MSC3N



做三次收货,产生三个批次
以上三个批次时间:
1207000540:收获期日:7.11 / 保质期:7.21 / 生产日期:6.21
1207000541:收获期日:7.11 / 保质期:7.22 / 生产日期:6.22
1207000542:收获期日:7.12 / 保质期:7.22 / 生产日期:6.22
批次的决定使用的也是SAP的条件技术

一个MVT(Application)由一个Search Procedure组成,由一个Condition Type组成,Strategy Type(一个Condition type+一个Access Sequence+一个Selection+一个Sorting)组成,一个Sequence有若干个Table组成
Define IM Access Sequence:
Copy ME01出一个ZY01出来

Define IM Strategy Types:

NEW一个Condition Type:ZY01,MVT/Plant/Material;
A.S.:填入之前维护的A.S.:ZY01
Selection:填入之前建的Class:ZYQ01_MCH1
Sorting:填入以什么作为Batch排列的顺序(通过CU70/71/72做Sorting的建/改/查)

SU70,建Sorting:以BBD作为Batch排列顺序

Ascending:升序排列
按照BBD从先往后、再按照生产日期从先往后、最后按照最后收货日期先进先出

回到建Condition Type界面,输入Sorting sequence

Define IM Search Procedure:


Define IM Search Procedure/Active Check:分配给MVT

MBC1,前台维护IM的条件记录:
输入后台自定义的Condition Type:ZY01



选中行,点Selection Criteria

选中,点Sorting

同样看下,点返回,行项目中Sorting Seq.自动打勾
保存,条件记录创建好

注:如果用MIGO发料,Batch不输“*”,而是点右侧的“Stock Determination for all”
网友评论