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, ARBGB, ORT01, LAND1, BRANC, TAETE, TAETEBSCHR, ANSVX, INST_PARTNER, CONTACT_PARTNER, ACAD_YEAR, ACAD_SESSION, ISHREG_ID, START_DATE, END_DATE, TEXT, STATUS, CATEGORY1, CATEGORY2, CATEGORY3, CATEGORY4, CATEGORY5, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, GUIDTYPE, GUID, SC_OBJID, ACLEVEL, REF_OTYPE, REF_OBJID, NOTE_GUID, DURATION, UNIT, FULLPART_IND FROM HRP1718