I remember using this BAPI in the past.. and i understand, there is field which decide where to do the ATP.
don't remember exactly but it should you give you a hint.
Please check the parameters passed during your Non-GATP and GATP material while calling BAPI you are using..and you will find the issue.
I will try to check my notes if i have it written
Pravin M