Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR, AEDTM, UNAME, HISTO, ITXEX, REFEX, ORDEX, ITBLD, PREAS, FLAG1, FLAG2, FLAG3, FLAG4, RESE1, RESE2, GRPVL, CONT1, NHOUR, REDET, REDEA, STP1E, STP1R, CONT2, PARTI, RETIR, WORKC, CONDT, STP2E, STP2R, NORMA, CONT3, HEHID, STP3E, STP3R, TFREE, TCALC, TAXOF, STPDR, STPER, STPFR, STPGR, STPHR, STPIR, STPJR, STPKR, THAND, TPROG, TYITA, STTFP, TYRER, TAXST FROM PA0519