Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, APZNR, CNTR1, BEGDA, ENDDA, PFREF, EEPFN, EEPNN, CTYPE, EEBAS, PFBAS, PNBAS, EEVPF, EECTR, CERRT, ERCTR, ERPNS, PFADM, EDLIC, EDLIA, PNFLG, PAYED, TSTID, TSTTY, PENID, TSTPR, PFINT, BSSWT, EEPFW, EVPFW, ERPFW, ERPNW, EREDW, ERPFA, EREDA, PFAMT, WAEHI, PNREF, PFRFN, VPFLM, PFCON, BDFLG, EEPFM, EEPNM, ERCCD, ERFLG, ERPRT, EECCD, EEFLG, EEPRT, EPGCR, PGCTR FROM P2IN_EPF