Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, BEGDA, ENDDA, GRSAL, EXS10, PRTAX, PRFND, TXDED, MEDEX, WAEHI, LTAEX, LTACF, LEAEX, GRYEX, VRSEX, VPRQS, PRSAL, SCDED, ECDED, NPERC, NPEEC, NPERB, NPEEB, GROSL, VOPRS, PLSAL, SRDED, ITDED FROM P2IN_PET