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, NTNUM, REGTY, REGNO, REGDT, SPECL, BASED, CLACC, TRUST, NHSPC, NHSSL, UNISW, NHSSW, UNISC, NHSSC, APLSB, HONHS, HEINHS, CLINICAL, CLINARD, SUBCL1, SUBCL2, SUBCL3, SPECL2, SPECL3 FROM PA0617