I'd actived a customer field (PS_PSP_PNR) in the main ledger and I'd included this field in totals table (FAGLFLEXT). I tested this customization and it worked fine.
The problem happens when G/L account is a statistical cost element (type 90). In this situation, I fill the field (PS_PSP_PPNR) and save the document, when I'm going to check its value in the position of the document (BSEG) is filled ,but when I check the balance of this G/L account in the table FAGLFLEXT it's empty.
I appreciate your help in this problem.