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, VARID, ACLEVELVAR, OPTLENGTH, MAXLENGTH, TIMEUNIT, RESTRICTED, FULLTPARTT, GRPVAR, PROGCVAR, ASSPROC, CENMAINT, INACTIVE FROM HRP1730