Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, BEGDA, ENDDA, KENN1, TPEVE, INDIN, INTAZ, GING1, GUSC1, GIND1, GNIN1, PEIN1, GISR1, INDR1, GING2, GUSC2, GIND2, GNIN2, PEIN2, GISR2, INDR2, GING3, GUSC3, GIND3, GNIN3, PEIN3, GISR3, INDR3, GING4, GUSC4, GIND4, GNIN4, PEIN4, GISR4, INDR4, GING5, GUSC5, GIND5, GNIN5, PEIN5, GISR5, INDR5, ORAZ1, PEAZ1, OAZF1, INAZ1, GGUA1, GGUP1, ORAZ2, PEAZ2, OAZF2, INAZ2, GGUA2, GGUP2, ORAZ3, PEAZ3, OAZF3, INAZ3, GGUA3, GGUP3, ORAZ4, PEAZ4, OAZF4, INAZ4, GGUA4, GGUP4, ORAZ5, PEAZ5, OAZF5, INAZ5, GGUA5, GGUP5, GGTOT, PROLU, PAGOR, GGLAV, GGFES, GGFER, GGPRE, GGARE, SESGG, GGNRE, RATE1, RATE2, RATE3, RATE4, GGCRA, RELPR, RELPG, RATEG, QGGEX, REBAS, VARTR, VARCO, TRNAS FROM P2RI_INPS