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, STAT2, REGIO, PFIND, TXSTA, NODEP, AGIND, TXPRO, FLEXI, DIRPC, RBAMT, EXAMT, CSTKY, NAPER, DIRNO, REGNO, RSCCD, NORSC, REGNC, FOINC, DDIRA, WAERS, DCOMP, IRP30, LABRK, EXFIN, PAYNO, XLOSE, XDATE, UIFNO, SDLNO, TRVLC FROM P2RW_ST