Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, PLNTY, PLNAW, MATKZ, BLDTY, OBJECT, NKNRI, NKNRE, FLG_OPRSOP, FLG_SEQ, FLG_QSS, FLG_AOB, FLG_UOBJ, FLG_EQUI, FLG_IFL, FLG_INST, SCREENTY, FLG_REF, FLG_PHAS, FLG_FEAT, FLG_DOC, FLG_PHYS, FLG_MST, FLG_CHK, PID_MAT, PID_PLN, FLG_STUELI, PID_AUN, FLG_GPOS, FLG_MKAL, FLG_ERF_OP, OPR_BLDGR, OPR_PANEL, FLG_CHK_RE, FLG_ARBEI, FLG_KALC, FLG_CHRULE, FLG_LK_CHK, FLG_MATCOM FROM TCA01