We are trying to do an ATP check from ECC to APO. We have a custom BAPI (Function module) in which BAPI BAPI_MATERIAL_AVAILABILITY used for this purpose (this inturn calls BAPI_APOATP_CHECK). We are passing plant, material, unit and check rule as inputs. The output is the Available Quantity. In our case, we are getting the correct available quantity for Non-GATP materials. But, for GATP materials, we are getting the available quantity as Zero. Could you please let us know if any other paramaters need to be passed while doing ATP for GATP materials ( GATP config in ECC and SCM)? Also, is there any alternative way to achieve this?
Thanks in advance.