Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, SPSPL, BEGDA, ENDDA, MODSZ, MOLGA, LGART, BUKRS, WERKS, BTRTL, PERSG, PERSK, STAT3, MASSN, MASSG, PKSYM, BSGRD, WAERS, TGAEX, TGGST, TGGSO, TGBST, TGBSO, BBSTA, BBSON, KZSSL, AUTOM, BEWG1, BEWG2, PABRJ, PABRP, AKTIV, BETAG FROM P2RA_SP