Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT MANDT, DCT_PERNR, DCT_SEQNR, DCT_ROWID, BEGDA, ENDDA, CTTYP, QUALIF, COLPH, SECTN, WERKS, BTRTL, PCS, REASO, REFER, SBGRU, MOSTD, WOSTD, TEILK, OPRET, POPUL, CCPCS FROM P2RF_FMD