cancel
Showing results for 
Search instead for 
Did you mean: 

System Genereated Serial Number

former_member667328
Active Participant
0 Kudos

Hi,

Please tell how the System will give the automatic nest serial number.

I have assign the Serial no. profile y001,and assign a serial number at IQ01 i.e one alpa and numeric(e.x-A1001)

And i want system to be generated the the next serial number i.e A1002.

Is that possible,if yes please revert back ASAP.

Please tell the procedure!!!!

Thanks,

Mohit

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member667328
Active Participant
0 Kudos

Hi Tejas,

Thanks For Reply..

I want to assign a serial number with my Material number + numeric number..is that possible.

For E.x my part no. is A-200 and i want the serial staring from A2000001.

and while creating serial number profile in osi2 what i have to be selected while creating a new profile .

Please revert back ASAP.

Former Member
0 Kudos

Hi,

You want to generate 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 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

Provide above details reg. implementation BADI / Enhancement to your ABAPer and go ahead.

You can implement above Enhancement in CMOD.

Hope this helps.

Revert in case of any doubt.

Award points if useful.

Regards,

Tejas

Former Member
0 Kudos

Hi Mohit,

If you want system to generate the serial no and assign it automatically, there is no need to create it in IQ01.

Create your serial no profile (dont check the 'ExistReq.' check box.

define your Serializing procedures for ser procedures under Ser usage give 04 Automatic (This ind is not allowed for all procedures)

assign your ser profile in material master.

Then carry out your action say backflush

in this depending on the number range assigned system will create next serial no and will assign it in material movement.

Regards,

Vinayak.