Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, CMSTID, CMPERSL, CMSTNUM, CMSTCAT, CMBENCAT, CMPREVHE, CMSTGRP, CMPDISCT1, CMPDISCT2, CMPDISCT3, CMPDISCT4, CMPDISCT5, CMPDISCT6, CMNATIO, CMLOCCURR, CMDOCCURR, CMCOMPCODE, CMCOCDGRP, CMSTCAMPUS, CMSTORG, CMSTSTATUS, CMVISATYPE, CMSTKEYDAT FROM TCMAC_ST