Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, BEGDA, ENDDA, SEKEY, SENUM, PERID, STYES, STATS, AKTIV, FRKOD, TRPCT, FRMAX, FRDAG, FRNRM, ARBS1, FIRM, AGRP, AF, TRDEF, ELEVN, FFIVE FROM P2RM_MTAX