Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, BEGDA, ENDDA, TXNUM, TXLET, TXBAS, TXRFS, TXSTK, P45PY, P45TX, TXWKN, TXMTN, CMTPY, CMTXP, TXREG, TXNMB, TXCOD, CUTXC, ADJAMT, ADJUST, MPT, MPTGRS, MPTTAX, CNTXC FROM P2RG_ST