generate alphanumeric serial number
2015-07-21 15:04
302 查看
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 u2018XYZu2019.
3. If profile is u2018XYZu2019 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 u2018XYZu2019.
3. If the serial number profile is u2018XYZu2019 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.
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 u2018XYZu2019.
3. If profile is u2018XYZu2019 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 u2018XYZu2019.
3. If the serial number profile is u2018XYZu2019 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.
相关文章推荐
- Oracle学习笔记(13)------------ 视图、同义词、索引
- Recommending Firefox add-ons with Spark
- iOS 上TextField常用退出键盘的方法
- 【玩转cocos2d-x之一】V2.2.0版本开发环境配置
- 浅谈ERP数据的重要性
- 正则验证邮箱格式是不是正确
- ios UIBarButtonItem去除标题
- Object-C
- 欢迎使用CSDN-markdown编辑器
- android uri 简介
- JAVA环境变量JAVA_HOME、CLASSPATH、PATH设置详解
- sgu163
- 剑指off-第一个字符串删除第二个字符串中的所有元素
- 网络编程
- POJ2255-Tree Recovery
- 什么是程序员?
- 模板类重载<<运算符
- synchronized 与 Lock 的异同
- GRE写作必备句型
- Windows XP SP1扫描结果分享