Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, CNTR2, BEGDA, ENDDA, SOFIN, KDLHF, BGLST, TABEL, TIJDV, TARGR, INKKD, JAARL, JRLOT, BYZTR, MACHT, BEPBT, BAFTD, BAFTB, BTARD, BTART, BLTBD, SPEC1, SPEC2, SPEC3, SPEC4, SPEC5, AUSNA, GEMBZ, ONKST, ATRFG, AKLHF, CDFIS, CDVDR, OTHOG, AFBBT, PWNBD, RTTTC, TTTAC, TTPAP, NWRKB, ED30P, CH30P, AL30P FROM P2RN_ST