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, PERYR, PERID, TARGET_DEGREE, STUDYTYPE, FULLPARTDUAL, INTERRUPTSEM, PARTTYPE, PARTREASON FROM HRP1798