Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, ZMODN, WONUM, QDIN1, QDIN2, QDIN3, QDIN4, QDIN5, QDIN6, QDIN7 FROM T5G23