I'm writing a program for a customer where it is possible to create statistical postings (in different foreign currencies). Inside the program I use the call transaction command for this and it works fine. The postings appear as expected on the account.
There is a requirement, to have a cleared balance before the next statistical posting takes place in order to avoid currency differences on this account.
Is there a function module available to determine the current balance of a customer account or do I have to check the tables BSID, BSAD for this?
Can the transaction F-32 be used for this via a call transaction and what needs to be considered to revert the previous posting? Or is not possible at all to clear out statistical postings on a customer account?