Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, INFTY, SUBTY, OBJPS, ENDDA, BEGDA, DP1ID, DP2ID, DP3ID, DP4ID, TD1ID, TD2ID, TD3ID, TD4ID, TD5ID, TD6ID, TXTID, YEAID, FAVOR, FANAM FROM P2RJ_YTT