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, PY_SEQNR, MOLGA, ABKRS, WAERS, FPPER, PAYTY, PAYID, PAY_DATE, TXCMP, TAXAU, ZZTEL0043B, ZZTEL0063B, ZZTEL0247B, ZZTEL0251B, ZZTEL0067B, ZZTEL0087B, ZZTEL0255B, ZZTEL0259B, ZZTEL0091B, ZZTEL0111B, ZZTEL0263B, ZZTEL0267B FROM PA0451