zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    缩略图生成算法
    页面间传值方法
    net开源cms系统
    海量图片的分布式存储及负载均衡研究(浅析)
    c# 序列化
    net 3.5平台上的Socket开发
    详细讲解jquery带进度上传插件Uploadify(ASP.NET版本)使用
    Linux命令小记
    Trunc(dtpPurDate.DateTime)可以将时间取到天。
    CentOS VNC配置(转)
  • 原文地址:https://www.cnblogs.com/yangykaifa/p/6835197.html
Copyright © 2011-2022 走看看