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, IDNUM, STATU, OLDID, NATUR, NUMEX, DECRE, DEMIS, DDIFF, DDEMA, ARCID, DVI01, AVI01, SVI01, DVI02, AVI02, SVI02, DVI03, AVI03, SVI03, DVI04, AVI04, SVI04, DVI05, AVI05, SVI05, DVI06, AVI06, SVI06, DVI07, AVI07, SVI07, DVI08, AVI08, SVI08, DVI09, AVI09, SVI09, DVI10, AVI10, SVI10, ITN1, ITF1, ITV1, ITN2, ITF2, ITV2, ITN3, ITF3, ITV3, ITN4, ITF4, ITV4, ITN5, ITF5, ITV5, ITN6, ITF6, ITV6, ITN7, ITF7, ITV7, ITN8, ITF8, ITV8, ITN9, ITF9, ITV9, ITN10, ITF10, ITV10, ITN11, ITF11, ITV11, ITN12, ITF12, ITV12, ITN13, ITF13, ITV13, ITN14, ITF14, ITV14, ITN15, ITF15, ITV15, ITN16, ITF16, ITV16, ITN17, ITF17, ITV17, ITN18, ITF18, ITV18, ITN19, ITF19, ITV19, ITN20, ITF20, ITV20, MOTIF, DDECI, DGEST, MODD1, MODD2, MODD3, MODD4, MODD5, DFDEC FROM PA0863