SAP Knowledge Base Article - Public

3405789 - In App Manage Journal Entries - New Version, an error is reported after editing the item text.

Symptom

Customer is getting error message:

error":{"code":"FIN_SUB_VAL/000"}

现金流不能为空  -> Cash flow cannot be empty (English translated).

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP S/4HANA Cloud.

Reproducing the Issue

  1. Go to App Manage Journal Entries - New Version.
  2. Open the Journal Entry.
  3. Press Edit button.
  4. Go to line items.
  5. Change the field Item text in the Entry View.
  6. Save.

Cause

User has created a BADI Implementation in the App Custom Logic.

Resolution

  1. Go to App Custom Logic Tracing.
  2. Start trace.
  3. Preform the steps to reproduce to get the error message.
  4. Finish Trace.
  5. In the result you find the BADI Implementation name ex. "YY1_<Name>".
  6. Open the App Custom Logic.
  7. Search for the BADI Implementation "YY1_<Name>" you found in the trace.
  8. Open BADI Implementation.
  9. Press Open Code Editor button.
  10. Check the code snippet for substitution logic:
    IF accountingdocheader-accountingdocumentheadertext IS NOT INITIAL
        and accountingdocitem-documentitemtext is initial. "
        accountingdocitemout-documentitemtext = accountingdocheader-accountingdocumentheadertext.
        substitutiondone = abap_true.
      ENDIF.
  11. the accounting document item text is same as accounting document header text.

Keywords

F0717A, manage, journal, entries, new, accountingdocheader-accountingdocumentheadertext, accountingdocitemout-documentitemtext, item text. F0717A, F3438, F6957, FI-FI-GL-IS-2CL, FI-FIO-GL-2CL, FI-SL-VSR, S4_PC , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , FI-FIO-GL-2CL , Fiori UI for General Ledger Accounting (Public Cloud) , Bug Filed

Product

SAP S/4HANA Cloud Public Edition all versions