SAP Knowledge Base Article - Public

3023278 - The substitution for reason code is not working for journal entries posted from valuation


You have defined a substitution for reason code, but it is not working for valuation journal entries.


SAP S/4Hana Cloud

Reproducing the Issue

  1. Define a substitution for reason code in app Custom Fields and Logic
  2. Perform foreign currency valuation 
  3. Check the valuation journal entries generated 


When performing foreign currency valuation, posting no longer updated in table BSEG (backend), only in table ACDOCA (backend). However field RSTGR (reason code) does not exist in table ACDOCA, so substitution won't work.

Please refer to the following KBA which explains the reason why only table ACDOCA updated with app Perform Foreign Currency Valuation (FAGL_FCV).

2383115 - FI-Document created with document status 'Posting in General Ledger Only'

Reason and Prerequisites


The following processes creates documents with BSTAT = 'U'

  • Foreign Currency Valuations posted with FAGL_FCV (Perform Foreign Currency Valuation) or using the FIORI app 'Post Currency Adjustments ( S4H 1610 or later and sFIN 3.0 / sFIN oP 1605)


The substitution for reason code is not valid for valuation journal entries, due to reason above


substitution, reason code, foreign currency valuation, journal entries. , KBA , FI-GL-GL-G , Closing Operations / Period-End , Problem


SAP S/4HANA Cloud all versions