on 09-18-2008 10:53 PM
Hi,
I need the solution for following requirement.
Release production order(CO02) . Then go to Menu header-> Serial Numbers.
Here I am getting serial numbers automatically as the material used in production order is set for automatic serial number calculation.
But I want to restrict automatic serial number assignment based on production order type.
If order type is 'XYZ', I dont want to calculate serial numbers automatically.
Can anyone tell me how to do it?
Regards,
Manan Desai.
i think it is not possible ...the serial number procedure - PPAU is fixed at this level itself...and not at Production order type level...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use one of the following exit
IQSM0001 Automatic serial number assignment
IQSM0002 Check when copying object list
IQSM0003 Serial numbers, user exit for additional data
IQSM0004 Serial numbers, user exit after exiting the serial scre
IQSM0005 Serial numbers, user exit in the update
IQSM0007 Serial numbers, user exit for goods movements
IQSM0008 Serial number character string check
I think 1st one IQSM0001 may be useful...try and come back
When you press Release Order button the BADI 'WORKORDER_UPDATE->AT_RELEASE' will be called.
At this point the internal tables for Serial numbers are filled by the program automatically.
So call function module 'SERIAL_INTTAB_REFRESH' which will refresh the internal tables for serial numbers generated before teh serial number window pops up.
Also at the BADI 'WORKORDER_UPDATE->AT_SAVE' call the same function module because before this BADI call when you press 'SAVE' the program again checks if automatic serial number is set for that material and if yes then check if no serial numbers are generated then it generates the serial numbers again and fills the internal tables. So clear the internal tables again based on the conditions.
In these BADI's we have access of header information which can be used to check condition.
I hope this will give you better idea.
Thanks for your efforts.
Manan Desai.
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.