Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, APZNR, PERNR, INFTY, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR, AEDTM, UNAME, HISTO, ITXEX, REFEX, ORDEX, ITBLD, PREAS, FLAG1, FLAG2, FLAG3, FLAG4, RESE1, RESE2, GRPVL, RSDRT, LGART, OPKEN, BETRG, WAERS, RSREA, RSADT, RSFMD, RSLBD, RSLED, RSDAS, RSEIC, RSNBR, LGBFA, RSBFA, WABFA, RSAMT, WAAMT, DSTAT, DSCAT, EDSTA, EDSCA, TRFGR, TRFST, VGLGR, VGLST, RSSCH, RSWAI, RSPCA, RSTFS, RSTAS, RSPCN, FAMST, DPCNT, RSKCO, KWERT, RSMAX, RSPCO, RS11P, RSACR, RSDPN FROM P2UN_RS