Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, HSUBKEY, FLG_COVERED, FLG_CUSTODIAL, FLG_ENTITY, FLG_EXCHANGE, FLG_FEDERAL, BUREAU, BUSINESS_LINE, FGDPRTMNT, FGDPRTMNT_PART, FUND_ACC_SYMBL, FLG_APPORT, FLG_AVAIL, FLG_BORROW, FLG_DEFINITE, FLG_PARTNER, FLG_BEA, LEGIS, FLG_REIMBUR, COHORT, PUBLAW, FLG_AUTHOR, TRANSFER_AGCY_9, TRANSFER_ACCT_9, YEAR_BDGT_AUTH_9, FLG_ADVANCE_9, DEFENSE_INDIC_9, PROG_REPT_CAT, APPOR_CATB_DTL_9, BDGT_IMPACT, FLG_PYA, PROGRAM_IND, TP_AGENCID, TP_MAIN_ACCT, BETC, SUBLEVL, AGENCID, ALTRAID, BEGPER, ENDPER, AVTYPE, SUB_ACCT FROM FMFGHKEY