on 01-13-2015 12:54 PM
Hi,
My case is the following.
We use a subcontracting vendor to build dispay pallets. The vendor send us files with the finished pallets (for GR) and used components (for GI)..
So based on the component file, we do a goods issue to vendor stock (like ME2O) using bapi BAPI_GOODSMVT_CREATE and then, based on the GR-file, we do the GR, also using BAPI_GOODSMVT_CREATE, which also consumes the component from vendor stock. And then we post everything to WM.
This works fine except for one situation which I hope you to shed some light over.
Sometimes our vendor uses components from multiple batches, For example, we need total 36 SU of material X to build the pallet. The vendor user 20 SU from batch AAA and 16 SU from batch BBB. That results in an error message from BAPI_GOODSMVT_CREATE when doing GR saying we have a deficit in vendor stock of 16 SU, since the bapi seems to be unable to consume the component from two different batches.
I have tried to do this manually in MIGO and the automatic batch detemination gives me components from the two batches without any problems.
Manually in MB01, I get asked for component info and are given the full 36 SU as component quantity to be consumed. If I change the quantity to 20 SU and enters batch AAA, I am not asked to provide data about the 16 SU left. The documents posts and I have a display pallet in stock but without consuming the correct quantity of components. Then I have to do an adjustment in MB04. But that is a manual routine.
Can I setup the batch detemination process to fix this problem? I find it strange that the determination process works for MIGO but not when I to a posting using the BAPI_GOODSMVT_CREATE from a background program.
kind regards,
Glenn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.