User Exit to Modify the serial Number in Production Order

本文介绍了一种通过增强功能IQSM0001和退出功能EXIT_SAPLIPW1_001自动生成带有前缀的字母数字序列号的方法。此方法适用于生产订单中的物料,序列号的数量等于订单数量,并且每个序列号都包含指定的前缀。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Generation of Alphanumeric Serial Number that is possible by following Enhancement for Serial Numbers:

You can generate alphanumeric serial number with the following BADI / Customer Exit:

Name of Enhancement : IQSM0001

Name of Function Module Exit: EXIT_SAPLIPW1_001

Name of Include : ZXQSMU01

ZXQSMU01:

This user exit can be used to create the serial numbers automatically for material of a production order. Number of serial numbers generated will be equal to the total number of quantity. The purpose behind development of this user exit was to attach prefix in each serial number generated. so as per your requirement you can generate serial number like ABC0001 etc.

Process Steps:

For exit: EXIT_SAPLIPW1_001

  1. Get serial number profile for a material in respective plant.
  2. Check if the profile is ‘XYZ’.
  3. If profile is ‘XYZ’ generate the serial numbers for the given quantity of material in production order.

General Program Structure

For exit: EXIT_SAPLIPW1_001

  1. Get the serial number profile using function module 'MARC_SINGLE_READ' for a material.
  2. Check if the profile is ‘XYZ’.
  3. If the serial number profile is ‘XYZ’ then generate the serial numbers for the given production order quantity of a material.
  4. Concatenate ABC as a prefix to the all generated serial numbers

Implement above Enhancement in CMOD.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值