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, ZZTEL0163B, ZZTEL0167B, ZZTEL0171B, ZZTEL0175B, ZZTEL0179B, ZZTEL0183B, ZZTEL0187B, ZZTEL0191B, ZZTEL0195B, ZZTEL0199B, ZZTEL0207B, ZZTEL0211B, ZZTEL0215B, ZZTEL0223B, ZZTEL0227B, ZZTEL0231B, ZZTEL0235B, ZZTEL0239B, ZZTEL0243B FROM PA9996