Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, BEGDA, ENDDA, RENTO, LETVL, SEC23, INT24, REP24, OTH24, BSPFT, CPGLN, CPGLS, CPGNS, DVDND, INTRS, UNSPI, TDSOT, WAEHI, INTYP, DLART, DLARN, LSPER, LEPER, LLMIT, CPGSS, TDSAT FROM P2IN_IOS