Symptom
In the Manage Automatic Payments app:
- Payment run is executed successfully.
- Payment documents are created.
However:
- Downloaded file shows:
“The file specified is empty” - Manage Automatic Payment log shows:
“Format tree /<Custom_Tree> (PAYM) generated empty output” - Payment status is updated as:
“Payment in File”, even though no file content is generated.
"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 Public Edition
Reproducing the Issue
- Run automatic payments using Manage Automatic Payments so that payment documents are created successfully.
- Start the payment medium run for the created payments.
- Attempt to download the generated payment file.
- Observe the message “The file specified is empty” and review the log entry “Format tree /<Custom_Tree> (PAYM) generated empty output”.
Cause
A custom format tree has a condition on the main node that is always false (for example, a constant compared to a different constant), preventing the root node from outputting any data and resulting in an empty file.
The issue occurs due to incorrect condition maintained in the format tree:
- In the format tree, the main node contains a condition that evaluates to FALSE
- As a result:
- The main node is never processed
- No segments are generated
- Entire output file remains empty
Example of incorrect condition:
constant 'HKBNK' = constant 'HDFC1'
Resolution
- Open the "Map Format Data for Payments" app.
- Open the custom payment format (format tree) used by the payment medium run.
- Review the conditions on the main node.
- Remove or correct any condition that always evaluates to false (for example, comparisons of unequal constants).
- Save and activate the adjusted format.
- Rerun the payment medium for the affected payment run.
- Download the payment file and verify it now contains data.
Keywords
manage automatic payments, payment medium, payment file empty, the file specified is empty, format tree generated empty output, custom format tree, document node condition, dme, paym, payment file not generated, f110, empty output, output parameter determination, payment in file status, format tree condition , KBA , FI-AP-AP-B1 , Payment transfer (w/o DE, US) , FI-FIO-AP-PAY-2CL , Payment Apps (Public Cloud) , Problem
SAP Knowledge Base Article - Public