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, LGART, SEQNO, OVAMT, REAMT, FPPER, INPER, BONDT, PAYTY, PAYID, FXAMT, PRAMT, TFRGV, ECCON, NOTIF, DATNO, WAERS, PMTPY, PMAMT, STPPY, IPEND, INPTY, INPID FROM PA0909