Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, CMSTID, CMPERSL, CMSMID, CMPERYR, CMPERID, CMSMCAT, CMLEVCAT, CMCRHRS, CMCPUNIT, CMOUTPROG, CMSMSTATS, CMSMREGDAT, CMSMREGREA, CMSMCAID, CMSMREGP1, CMSMREGP2, CMSMWDDATE, CMSMWDREA, CMSMDREGP1, CMSMDREGP2, CMSMCPTEMP, CMSMCPUNIT, CMSMEXMPT, CMSMTRANSF, CMSMRATING, CMSMSCALID, CMSMVALUE, CMMVUNIT, CMSMORG, CMSMCOCD, CMREFTYPE, CMSMKEYDAT, CMSEOBJID, CMSMSECAT1, CMSMDDSHED, CMSEDDSHED, CMSMCAMPUS, CMSMDELMOD, CMPROGCVAR, CMMULTPROGCVAR, CMSMWAITLIST, CMCRHMIN, CMCRHMAX FROM TCMAC_SM