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.

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-07-29 01:50:53

generate alphanumeric serial number的相关文章

Solutions to fix IDM has been registered with a fake serial number

Solutions to fix IDM has been registered with a fake serial number: There are two methods to fix IDM has been registered with a fake serial number error. Prefer using the first one method as it is the better trick to fix the error. If the first metho

How to generate a random number in R

Generate a random number between 5.0 and 7.5x1 <- runif(1, 5.0, 7.5) # 参数1表示产生一个随机数x2 <- runif(10, 5.0, 7.5)# 参数10表示产生10个随机数 Generate a random integer between 1 and 10x3 <- sample(1:10, 1)  # 参数1表示产生一个随机数x4 <- sample(1:10, 5, replace=T) # 参数5表

WIP 投料报 Invalid Serial Number

1.接口表数据检查无误 2.同样数据界面能正常完成 界面做trace SQL ID: b2mw8gjyv7guh Plan Hash: 2015965341 DELETE FROM MTL_SERIAL_NUMBERS_TEMP WHERE TRANSACTION_TEMP_ID =  :b1 call     count       cpu    elapsed       disk      query    current        rows ------- ------  -----

Source insight 3572版本安装及An invalid source insight serial number was detected解决方法

Source insight有最新版3572.3.50.0076 下载连接:http://www.sourceinsight.com/down35.html,   http://www.sourceinsight.com/distribute/Si3570Setup.exe 注册号:SI3US-205035-36448 1.卸载掉旧版安装新版, 可能会有提示" An invalid source insight serial number was detected",然后不能使用. 解

C templet and switch case with serial number

1 /************************************************************************** 2 * C templet and switch case with serial number 3 * 声明: 4 * 1.本文参考<Android底层开发技术实战详解--内核.移植和驱动>. 5 * 2.其中书上泛形部分写法有错,需要在行尾加上反斜杠. 6 * 7 * 2015-7-19 晴 深圳 南山平山村 曾剑锋 星期日 8 ***

Volume serial number could associate file existence on certain volume

When it comes to lnk file analysis, we should put more emphasis on the volume serial number. It could help forensic guys to identify whether files exist(ed) on certain volume or not. Let's take a look at lnk files as below: 1. Take a look at AndroidG

Source insight 3572安装和版本号An invalid source insight serial number was detected解

Source insight最新版本3572 下载链接:http://www.sourceinsight.com/down35.html,   http://www.sourceinsight.com/distribute/Si3570Setup.exe 注冊号:SI3US-205035-36448 1.卸载掉旧版安装新版, 可能会有提示" An invalid source insight serial number was detected",然后不能使用. watermark/2

openssl error while loading serial number

unable to load number from D:/Program Files/OpenSSL-Win64/bin/demoCA/serialerror while loading serial number9552:error:0D066096:asn1 encoding routines:a2i_ASN1_INTEGER:short line:.\crypto\asn1\f_int.c:210: 解决: echo 00 > serial win10 这儿产生Unicode文件,ope

open数据库报错ERROR at line 1: ORA-03113: end-of-file on communication channel Process ID: 3880 Session ID: 125 Serial number: 3

1.今天打开数据时,失败,报错 ERROR at line 1:ORA-03113: end-of-file on communication channelProcess ID: 3880Session ID: 125 Serial number: 3 2.想看下数据库的状态,发现提示:not connected to ORACLE[email protected]> select status,instance_name from v$instance;ERROR:ORA-03114: no