Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, NHINR, BEGDA, ENDDA, NHCAT, NHGRP, NHICA, INAMT, INCUR, VADAT, NHIST, NHISR, NHIEX, EXRSN, DISAB, SSIPE, ERPAY, IDNUM, ERNHE, TAXRT, EXRSH, NPSTA, NPREA, ICSTA, ICREA, PAYDT, SERPY, NHIVS, ERSHE, DISSD FROM P2TN_NHI