Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR, AEDTM, UNAME, HISTO, ITXEX, REFEX, ORDEX, ITBLD, PREAS, FLAG1, FLAG2, FLAG3, FLAG4, RESE1, RESE2, GRPVL, ORTYP, OPTYP, APRUN, OPAPD, OPRES, ORGUN, ORGPS, RTDAT, RTTYP, RTCER, ISSBY, RTAPD, RTPNS, RPCUR, PAYBY, GRBRT, GRFRT, HGPOS, DESCR, BENTY, RTBEN, BENDT, BENAP, SPWRK, SPLEN, SPZEH, ELRES, DRTID, RELOC, REPOS, DETDT, PLFUN, PLCUR, WRKUN, WRCUR, HLAWN, HLCUR, OTHER, OTCUR FROM PB3534