Symptom
Error message: "Special G/L indicator not defined or incorrect." (Message no. F5838) pops up when posting TRM transaction in app Fix, Pay and Post Flows (TBB1).
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Navigate to the Fix, Pay, and Post Flows (TBB1) app.
- Select a Treasury transaction and attempt to post the flows to accounting.
- The process terminates with error message F5838: "Special G/L Indicator Not Defined or Incorrect".
Cause
The error is caused by an inconsistency between the TRM account determination settings and the Financial Accounting posting rules:
- A Special G/L indicator is assigned to an account type in TRM configuration, but that specific combination is not defined or supported in the FI Automatic Account Determination rules.
- The same Posting Spec is used for both "Paying Valuation Areas" and "No Paying Valuation Areas" while attempting to use different posting keys or account types simultaneously.
Resolution
To resolve this inconsistency, review and adjust the configuration in SSCUI 103014 (Define Account Determination for Treasury and Risk Management):
- Differentiate Posting Specs:
- If using mirror transactions or complex intercompany flows, create a dedicated Posting Spec for "Nopaying Valuation Areas" instead of sharing one with "Paying Valuation Areas."
- Ensure the Special G/L Indicator field remains consistent across both versions for the same update type.
- Verify Account Symbol Assignment:
- Confirm that Account Symbol V.0 is only associated with Account Type K (Vendors).
- Confirm that Account Symbol C.0 is only associated with Account Type D (Customers).
- Check Special G/L Indicator Mapping:
- Ensure the Special G/L indicator used in the TRM posting spec (e.g. indicator "E") is valid for the account type assigned to the posting key (e.g. key "19" for Customers).
See Also
Keywords
special g/l indicator, message no. f5838, message no. tpm_trac1040, account symbol v.0, posting key conflict, subledger posting, treasury and risk management, trm account determination, sscui 103014, automatic account assignment , KBA , FIN-FSCM-TRM-CNT , S4H Best Practices for Treasury and Risk Management , Known Error
SAP Knowledge Base Article - Public