Hello R. Brahmankar,
thanks for your reply. I tried the BADI WORKORDER_GOODSMVT and set to all methods a break point. The BADi will be called, but I still found no possibility to change the batch.
If I do it manually e.g. at CO11 and change the batch value (from the production order number which is the default to a other value) than it works. If I change a value on the BADi's, the change will be ignored and still the value out of the production order data taken.
A way around would be a background job which updates the production order (field AFPOD-CHARG) at shift end, but if one worker has open the order in edit mode, no update will happen... so this wouldn't be a reliable solution.
Best regards
Andreas