SAP Knowledge Base Article - Public

3788296 - Item Text Not Carried to Simulation and Error "Field 'Text' Is Required"(F5808) in Post General Journal Entries App

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

  1. Open the “Post General Journal Entries” app and enter a journal entry with line items.
  2. Maintain Item Text on the affected line item(s).
  3. Choose Simulate and observe that Item Text is not shown in the Simulation screen.
  4. 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

  1. Open the “Custom Logic” app.
  2. Locate active implementations of the Journal Entry Substitution BAdI for journal entries.
  3. Open the implementation and choose Open Code Editor.
  4. Use Test , then Changing Parameters to verify that Item Text is defined as a changing parameter and is being overwritten or cleared.
  5. Adjust the logic so that Item Text is preserved when provided or temporarily disable the BAdI in a test environment 
  6. Publish the corrected implementation.
  7. 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

Product

SAP S/4HANA Cloud Public Edition all versions