on 2022 Mar 10 7:58 PM
Hi all,
I am stuck in issue, any help will be appreciated.
I am on COR1, after clicking COMPONENTS, co products elements are getting assigned with batches. For this we used exit_saplv01z_002. It works fine.
Now client want same for BY PRODUCTS at same stage. When I debugged, i found that system is only considering only CO PRODUCTS materials in exit_saplv01z_002. Pfa screenshots.20220314-173256.jpg20220314-173306.jpg
Kindly guide me how can i achieve this. Please ask any questions if needed.
Thanks.
Request clarification before answering.
Hello rahul06578
See the note 1500952 - Batch number assignment when entering co-product
It looks like your production scheduling profile assigned to the co-product doesn't activate batch creation during process order creation. You need to assign a production scheduling profile to the co-product. The profile needs to activate batch creation:
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
rahul06578 Honestly I don't know if the note applies also to by-products. You need to try that out. I'm afraid it may not work as by-product are like issues in reverse, with negative quantities.
If that doesn't work, you can always determine batches during confirmation - the end result will be the same and it's easier to implement.
Hi Dominik,
Thanks for your suggestions and time. Appreciate it.
Will implement during confirmation/release.
One more thing - will workorder_update badi can also serve the purpose?
Thanks.
rahul06578
I don't think WORKORDER_UPDATE will work here. As it allows for an order validation but it doesn't allow to change it. Check out the interface of the BAdI - there are not methods that would allow custom changes to an order.
Hi rahul06578
The WORKORDER_GOODSMVT is called during an order confirmation not release. Typically when you confirm an order, that is when production is finished, goods movements are posted automatically, i.e. receipt of a finished product and consumption of components. The BAdI is used to influence how those automatic movements are posted - see the BAdI's documentation.
I'd say that the BACKFLUSH method will allow you to enter by-products' batches.
Hello rahul06578
rahul06578Why don't you use the WORKORDER_GOODSMVT BAdI to manipulate goods movements generated during process order confirmation?
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just inserted breakpoints in every interface of workorder_goodsmvt, none of them got triggered when i clicked component button in cor1. Maybe they will get trigger at release or save level. But my requirement is to pre-fill batches of by-product component, just like exit exit_saplv01z_002 is doing currently in our system. But since it is missing by-product batch determination, i would also like to get the batches of by-product component to be assigned.
In the pic you can see, for co prod batch is assigned, but not for by prod items 20220314-173256.jpg20220314-173306.jpg
Thanks.
User | Count |
---|---|
106 | |
39 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.