Symptom
When posting a journal entry in the 'Post General Journal Entries' app, the entered 'Item Text' is not carried to the Simulation screen, resulting in the error "Field 'Text' is a required field for G/L account."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the “Post General Journal Entries” app and enter a journal entry with line items.
- Maintain Item Text on the affected line item(s).
- Choose Simulate and observe that Item Text is not shown in the Simulation screen.
- Attempt to post and encounter the error: “Field ‘Text’ is a required field for G/L account.”
Cause
A custom logic implementation for Journal Entry Substitution (BAdI) treats 'Item Text' as a changing parameter and clears it during simulation/posting, which removes the provided text.
Resolution
- Open the “Custom Logic” app.
- Locate active implementations of the Journal Entry Substitution BAdI for journal entries.
- Open the implementation and choose Open Code Editor.
- Use Test , then Changing Parameters to verify that Item Text is defined as a changing parameter and is being overwritten or cleared.
- Adjust the logic so that Item Text is preserved when provided or temporarily disable the BAdI in a test environment
- Publish the corrected implementation.
- Test again in the “Post General Journal Entries” app: enter Item Text, simulate, and post to confirm the text is retained and no error occurs.
See Also
KBA 3664782- Error F5808 occurs during documents posting.
Keywords
post general journal entries, item text, simulation screen, required field, field text is a required field for g/l account, line item text, journal entry, substitution, badi, custom logic, changing parameters, posting error, field status group, fiori app, s/4hana cloud , KBA , FI-FIO-GL-TRA-2CL , Transaction Apps (Public Cloud) , Problem
SAP Knowledge Base Article - Public