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, CODE, PROPERTY, SOURCE_ID, APPROVER_ID, OWNER_ID, SOURCE_TYPE, APPROVER_TYPE, OWNER_TYPE, VALEXIT FROM HRP5058