As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS NOT GROUNDED: AN EMERGENCY WAS DECLARED ON APPROACH INTO DFW DUE TO THE FLIGHT CREW REPORTING THAT WHEN FLAPS 2 WERE SELECTED A FLAPS FAULT MESSAGE FOR THE SLAT FLAP CONTROL COMPUTER 2 FLAP CHANNEL. MAINTENANCE REPLACED THE COMMAND SENSOR UNIT PER AMM 27-51-17. A SATISFACTORY OPERATIONAL CHECK WAS ACCOMPLISHED.