SAP Message 0K504 - Header table & contains no entries

Diagnosis
No entry was passed in the header table in the hierarchical-sequentiallist output function module call.