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, OFGRP, DEC_MONTH, DEC_YEAR, FLAG_MM, FLAG_SM, CANA01, BEGD01, BEGT01, ENDD01, ENDT01, EERE01, CANA02, BEGD02, BEGT02, ENDD02, ENDT02, EERE02, CANA03, BEGD03, BEGT03, ENDD03, ENDT03, EERE03, CANA04, BEGD04, BEGT04, ENDD04, ENDT04, EERE04, CANA05, BEGD05, BEGT05, ENDD05, ENDT05, EERE05, CANA06, BEGD06, BEGT06, ENDD06, ENDT06, EERE06, CANA07, BEGD07, BEGT07, ENDD07, ENDT07, EERE07, CANA08, BEGD08, BEGT08, ENDD08, ENDT08, EERE08, CANA09, BEGD09, BEGT09, ENDD09, ENDT09, EERE09, CANA10, BEGD10, BEGT10, ENDD10, ENDT10, EERE10, SUBDT, SUBID, SUBST, VERST, APPST, ASSNO FROM PA3375