You can find general information about account determination and its customizing on the following wiki page: https://wiki.scn.sap.com/wiki/x/noehG
Problems that can occur
The account number derived is not correct.
1) The account number has been dervided from table T030S, not from T030H
Please check if the parameter NO_T030H is activated:
SE38 -> enter program name (FAGL_FCV) -> Variants -> Display -> Enter variant name used -> Attributes -> Display -> check the parameter NO_T030H
If parameter NO_T030H is active the valuation program reads the account numbers from T030S.
Please check if account determination exists in KDF transaction for the given account /chart of account.
If KDF is not filled , the account number is derived from transaction KDB (table T030S).
KDF is maintained, but the account(s) does not exist in company code.
If the account maintained does not exist in the company code, the account number is derived from KDB (table T030S).
Please check following wiki page for details: https://wiki.scn.sap.com/wiki/x/XQp2Gg.
2) The account number has been dervided from T030H, not from T030HB
You are using delta logic and accounts are maintained on valuation area level (table T030HB). The program reads the accounts that are defined without a valuation area in KDF.Please check and apply the note : 1454842 - FAGL_FC_VAL: Delta logic / incorrect account determination
3) The gain /loss account is not correctly derived.
You are valuating open items. Although positive and negative values are also calculated on account /currency level , the valuation differences are posted to the same account (GAIN or LOSS account).
Please check your valuation method settings in OB59 transaction.
If parameter “Balance valuat" (field XSALB) is set ,the valuation difference is posted as an expense or revenue (per account, only revenue OR expense).
You can find more details , scenarios on the following wiki page: https://wiki.scn.sap.com/wiki/x/RINaFg
You are valuating G/L account balances . Although positive and negative values are also calculated on account assigment level for the same G/L account, the valuation differences are posted to the same account (GAIN or LOSS account).
That is correct. Please check the following wiki page for examples and details: https://wiki.scn.sap.com/wiki/x/7YJ9Gg .
You are valuating G/L account balances and the account determination occurs on account assignment level and not on account level.
Please check and apply the following notes 1501278 - FAGL_FC_VAL: Incorrect account determination for bal valuatn and
You are using valuation with delta logic. the P&L target account determination is not correct.
Please check and apply the following note: 1399226 - FAGL_FC_VAL: Account determination unrealized differences and
4) Account determination is taken from OBA1 - KDF - Translation section
If the flag T001-XKDFT is activated for the company code , translation accounts are read from table T030H.( fields T030H-LSTRA ,LHTRA, LHTRV).Please check if flag T001-XKDFT is activated in transaction OB66. You can find further information on the following wiki page: https://wiki.scn.sap.com/wiki/x/hAZiGQ
Foreign currency valuation is run with a valuation area that applies delta logic and the program should create additional translation postings - as the"Indicator: Post translations for exchange rate differences" (T001-XKDFT)" is active for the company code.
Please check note: 1462080 - FAGL_FC_VALUATION: Translation postings (T001-XKDFT)
The account numbers are missing in the valuation documents
1) Error message FR257 / FR670 is raised in the valuation program ( "Incorrect account determination: &1 &2 &3" ; "Acct determination is incorrect: Comp. Code &1 - Val. Area &2 - Acct &3")
The error says that the account determination is incorrect in the company code.
Please check your account determination in OBA1 Transaction. More info
2) Error message FR884 is raised in the valuation program ("Account determination for account &3: Account &1 missing in co. code &2")
The account defined on OBA1 does not exist in the given company code. Please create the account in FS00 transaction
. Please check wiki page https://wiki.scn.sap.com/wiki/x/IAp2Gg for details.
Other error messages:
1) FAGL_POST_SERVICE012 Postings to G/L accounts with open item management are not permitted
Please go through the KBA 1646406 - FI FAGL_FC_VAL/FAGL_FCV throws error FAGL_POST_SERVICE012 Postings to G/L accounts with open item management are not permitted
2) F5354 "Account ... in company code ... cannot be directly posted to"
Reconciliation accounts cannot be posted to directly in the general ledger. Doing so would interfere with the reconciliation between the general ledger and subledgers. Instead of the reconciliation account you should use a (receivables) adjustment account to make direct postings. This account should also be created in such a way that it is entered in the same financial statement item in the reporting.
900962 - GL allocation: Account ... cannot be directly posted to (F53