on 2017 May 05 8:06 PM
Hi All,
My requirement is to deactivate external batch number assignment. We restricted for Material type/Movement type. Internal Batch Number assignment is active and in Number ranges also, we have not defined for external. But the problem, during Order creation in CO01, the system is allowing to enter the external batch number manually in Goods Receipt tab and the same batch number can be GRed in MIGO. System is not throwing any error. Can someone help how to control that?
Request clarification before answering.
Hi Sabitha,
You may want to try transaction variant. You could refer to following link to know how to use transaction variant:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
In BADI WORKORDER_UPDATE you'll have your AT_SAVE method.
With this you'll access your batch in Goods Receipt Tab
FIELD-SYMBOLS: <fs_charg> TYPE afpod-charg.
MOVE '(SAPLCOKO1)AFPOD-CHARG' TO f_globstr.
Once you have this data you can throws exceptions.
Hope to help
Bye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Helll
You can use BAdI WORKORDER_UPDATE to check the batch number.
Regards,
Caetano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using the production scheduling profile (transaction CORY). We have a bunch of custom code around that value but I'm pretty sure if you set the Auto Batch Creation to Auto Creation at Order Create or at Order Release, it won't let you manually enter a batch number. Using that would require that you assign the batch either when the order is created or released which then would get carried into the GR .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your response. My client does not want the Batch creation during Order creation/ Order release but only during GR. Hence controlling at the Production Scheduling Profile is ruled out.
However the batch field in the Order screen is enabled and there is a possibility that the user may enter any value and the system does not throw any error or warning message.
User | Count |
---|---|
96 | |
11 | |
10 | |
8 | |
6 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.