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, RSK01, PRO01, EXC01, RSK02, PRO02, EXC02, RSK03, PRO03, EXC03, RSK04, PRO04, EXC04, RSK05, PRO05, EXC05, RSK06, PRO06, EXC06, RSK07, PRO07, EXC07, RSK08, PRO08, EXC08, RSK09, PRO09, EXC09, RSK10, PRO10, EXC10 FROM PA3377