Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, PLVAR, OTYPE, OBJID, SUBTY, ISTAT, BEGDA, ENDDA, VARYF, SEQNR, INFTY, OTJID, AEDTM, UNAME, REASN, HISTO, ITXNR, TEILN_TYP, BCHECK, VCHECK, KCHECK, QCHECK, QASSIGN, DELRKURS, INSRKTYP, XDATA, TEILNTYP01, BCHECK01, VCHECK01, KCHECK01, QCHECK01, QASSIGN01, DELRKURS01, INSRKTYP01, XDATA01, TEILNTYP02, BCHECK02, VCHECK02, KCHECK02, QCHECK02, QASSIGN02, DELRKURS02, INSRKTYP02, XDATA02, TEILNTYP03, BCHECK03, VCHECK03, KCHECK03, QCHECK03, QASSIGN03, DELRKURS03, INSRKTYP03, XDATA03, TEILNTYP04, BCHECK04, VCHECK04, KCHECK04, QCHECK04, QASSIGN04, DELRKURS04, INSRKTYP04, XDATA04, TEILNTYP05, BCHECK05, VCHECK05, KCHECK05, QCHECK05, QASSIGN05, DELRKURS05, INSRKTYP05, XDATA05, TEILNTYP06, BCHECK06, VCHECK06, KCHECK06, QCHECK06, QASSIGN06, DELRKURS06, INSRKTYP06, XDATA06, TEILNTYP07, BCHECK07, VCHECK07, KCHECK07, QCHECK07, QASSIGN07, DELRKURS07, INSRKTYP07, XDATA07, TEILNTYP08, BCHECK08, VCHECK08, KCHECK08, QCHECK08, QASSIGN08, DELRKURS08, INSRKTYP08, XDATA08, TEILNTYP09, BCHECK09, VCHECK09, KCHECK09, QCHECK09, QASSIGN09, DELRKURS09, INSRKTYP09, XDATA09, TEILNTYP10, BCHECK10, VCHECK10, KCHECK10, QCHECK10, QASSIGN10, DELRKURS10, INSRKTYP10, XDATA10, TEILNTYP11, BCHECK11, VCHECK11, KCHECK11, QCHECK11, QASSIGN11, DELRKURS11, INSRKTYP11, XDATA11, TEILNTYP12, BCHECK12, VCHECK12, KCHECK12, QCHECK12, QASSIGN12, DELRKURS12, INSRKTYP12, XDATA12, TEILNTYP13, BCHECK13, VCHECK13, KCHECK13, QCHECK13, QASSIGN13, DELRKURS13, INSRKTYP13, XDATA13, TEILNTYP14, BCHECK14, VCHECK14, KCHECK14, QCHECK14, QASSIGN14, DELRKURS14, INSRKTYP14, XDATA14, TEILNTYP15, BCHECK15, VCHECK15, KCHECK15, QCHECK15, QASSIGN15, DELRKURS15, INSRKTYP15, XDATA15 FROM ZRP1030