on 04-14-2014 7:06 PM
Hello,
Am trying to use BAPI "BAPI_MATERIAL AVAILABILITY" in R/3 to get the qty details for the materials from APO. This BAPI is giving correct ATP qty details for the regular materials, but if the materials is on allocation it is giving "0" qty. So is there any other BAPI which we can use for Allocation materials or any code change in existing BAPI?
Regards
Ank
Hi Ankur,
You need to call the function AVAILABILITY_CHECK_CONTROLLER to get Allocation quantity through ATP check.
Please refer OSS note 1586293 - BAPI_MATERIAL_AVAILABILITY : Allocation check not
executed
Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ankur,
In, in my view BAPI_MATERIAL_AVAILABILITY gives the picture filtered result. If you really want to know what was the amount of quantity that passed through after allocation check, you need to use the subset BAPI of the above mentioned BAPI which is BAPI_APOATP_CHECK. This is the BAPI which does the RFC call to APO system to get the data and update the schedule lines. So, you need to concentrate a bit on this one. Please look out for the internal table S_APORESX which has the split of all the checks that has been performed in APO. So, the record which has the value against the RESIND value = 6 would give you the necessary allocation quantity that you're looking for.
Hope this helps. Please let me know if you any questions, otherwise close the thread.
Babu Kilari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.