Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, IBTYP, STSMA, COMPIND, CONFIND, FILID, VALTYP, INTST, STTYP, IBASEMAIN, CHGKZ, CASEKZ FROM T371A