SAP Knowledge Base Article - Public

3783686 - DE_WHT_50A statutory report generated with error "No items to report;Query DOC_SEL did not return any data."

Symptom

  • Error message "No items to report;Query DOC_SEL did not return any data." occurs when executing DE_WHT_50A report via Run Statutory Reports App.
  • No data is retrieved in DE_WHT_50A report.

"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

  1. Open the app Run Statutory Reports.
  2. Select report name DE_WHT_50A and the relevant reporting year.
  3. Open the desired period (for example, a specific month).
  4. Choose New Run.
  5. Under Run Options, choose Start a Short Run Now (Less than 3 Minutes).
  6. Choose Run and observe that the run is generated with errors and shows: "No items to report;Query DOC_SEL did not return any data."
  7. Verify in Manage Withholding Tax Items that withholding tax records exist for the same company code and period.

Cause

The error happens due to the possible reason that the Official Withholding Tax Key maintained for the corresponding WHT codes in configuration activity 104227 - Define Withholding Tax Codes - does not belong to the supported list as outlined in Defining Withholding Tax Keys.

Resolution

Maintain the Official Withholding Tax Key included in Defining Withholding Tax Keys for the corresponding WHT codes.

This aligns with official legal requirements and ensures that submitted WHT reports are accepted by the withholding tax portal. Using any custom or self-defined WHT key without supporting legal documentation will result in rejection by the withholding tax portal.

See Also

SAP help portal Defining Withholding Tax Keys.

Keywords

withholding tax, statutory report, de_wht_50a, no items to report, manage withholding tax items, doc_sel did not return any data, unsupported withholding tax key, transaction 5008, transaction 5009, transaction 5010, transaction 5011, run statutory reports, localization, tax reporting, wht 50a, DE, WHT, public cloud , KBA , FI-AP-AP-Q1 , Withholding Tax (Reporting) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions