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, ZZTEL0115B, ZZTEL0119B, ZZTEL0123B, ZZTEL0127A, ZZTEL0131B, ZZTEL0135A, ZZTEL0139B, ZZTEL0143B, ZZTEL0147A, ZZTEL0151B, ZZTEL0155B, ZZTEL0159A FROM PA9991