Reading the case I have 2 ideas :
1 ) the query that you created is not being evaluated at the invoice stage, and the LP can only sort by the account of INFACC . The consultation is the sequence of queries the 2nd stage that uses FLQAD ?
2 ) There is a flag that exists in FLQINFACC in Portuguese appears as " Next " , which is the classification stop without running the entire chain of documents . Follows the descriptive field help in Portuguese and English :
Calculation of liquidity : further analysis
The second step of the FLQAD allocation mechanism ( information from invoices ) considers , for the creation of a chain of documents, all the clearing operations in ledger accounts in which defined this code as well as client accounts and vendor ( except advance ) in which this code was not defined in the general ledger account assigned .
Liquidity Calculation : Further Evaluation
To create its document chains , the second step of the assignment mechanism FLQAD (information from invoices ) considers all clearing activities on G / L accounts in Which this indicator is set, as well as all clearing activities on customer and vendor accounts ( except down payments ) in which this indicator is not set in the assigned G / L account .
See more about SAP FICO