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, ZZTEL0165B, ZZTEL0169B, ZZTEL0173B, ZZTEL0177B, ZZTEL0181B, ZZTEL0185B, ZZTEL0189B, ZZTEL0193B, ZZTEL0197B, ZZTEL0201B, ZZTEL0209B, ZZTEL0213B, ZZTEL0217B, ZZTEL0225B, ZZTEL0229B, ZZTEL0233B, ZZTEL0237B, ZZTEL0241B, ZZTEL0245B FROM PA9998