Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, SUBTY, OBJPS, BEGDA, ENDDA, SCREF, EEREF, LOLEV, UPLEV, PCTEE, PCTER, PCMEE, PCMER, PCHIE, PCHIR, PCEES, PCERS, FTREE, FTRER, FTMEE, FTMER, FTHEE, FTHER, FTEES, FTERS, CALEE, CALER, CLEES, CLERS, TTEEC, TTEES, TTERC, TTERS, PNCAP, PENSFLAG, PSSCH FROM P2RG_PENS