Hi
This error typically occurs if you have huge no of line items which are filled up in FAGL_SPLINFO. So you can create three four variants as below:
1. One variant for Vendor Open Items
2. One variant for customer open items
3. One variant for GL Open Items
4. One variants for GL balances
Essentially, break up the foreign currency valuation run.
Regards
Sanil Bhandari