generate alphanumeric serial number
Posted yangykaifa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了generate alphanumeric serial number相关的知识,希望对你有一定的参考价值。
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.
以上是关于generate alphanumeric serial number的主要内容,如果未能解决你的问题,请参考以下文章
如何在 C# 中生成 ALPHANUMERIC 优惠券代码? [复制]
如何加快创建大表 AlphaNumeric 代码的 SQL 脚本
Winform 应用程序名称在 Windows 10 任务管理器的启动选项卡上显示为 _alphanumeric
Magento错误 Illegal scheme supplied, only alphanumeric characters are permitted
a DNS-1123 label must consist of lower case alphanumeric characters or ‘-‘, and must start and end w