Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_PABRJ, DCT_PABRP, DCT_CLTYP, DCT_ROWID, APZNR, BEGDA, ENDDA, MASSN, MASSG, STAT1, STAT2, STAT3, AKTIVJN, BUKRS, WERKS, BTRTL, KOSTL, PERSG, PERSK, ABART, PLANS, GSBER, VDSK1, ANSVH, ORGEH, STELL, ZTERF, SCHKZ, EMPCT, KSOLL, ASOLL, SSOLL, KDIVI, ADIVI, SDIVI, DIVGV, BSGRD, TRFAR, TRFGB, TRFGR, TRFST, KOSTVJN, DYSCH, ARBST, WKWDY, FISTL, GEBER, FKBER, GRANT_NBR, SGMNT, BUDGET_PD FROM P2B2_WPBP