Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, PLVAR, OTYPE, OBJID, SUBTY, ISTAT, BEGDA, ENDDA, VARYF, SEQNR, INFTY, OTJID, AEDTM, UNAME, REASN, HISTO, ITXNR, STFEECAT, BENCAT, PDISCT1, PDISCT2, PDISCT3, PDISCT4, PDISCT5, PDISCT6 FROM HRP1706