Narrative:

Flight started normally. All checklists were run with normal responses and aircraft configuration. We [were] cleared for takeoff with a flaps one setting. After airborne; the first officer called for gear up. With less than 200 feet AGL; the first officer had to apply excessive nose down trim; we got the buffet alert and stall warning indication in the HUD.the takeoff horn never sounded. The first officer applied max thrust; I saw the flap indicator was [indicating] zero. I dropped the flaps to position one and the aircraft accelerated and climbed normally after the gear was raised. The aircraft was never in a stall; just close to it. After considerable discussion; the only thing possible is if I had accidentally raised the flaps instead of the landing gear.

Google
 

Original NASA ASRS Text

Title: B737-700 Captain reported accidentally raising the flaps instead of the landing gear in initial climb; putting the aircraft in a near-stall condition.

Narrative: Flight started normally. All checklists were run with normal responses and aircraft configuration. We [were] cleared for takeoff with a flaps one setting. After airborne; the FO called for gear up. With less than 200 feet AGL; the FO had to apply excessive nose down trim; we got the buffet alert and stall warning indication in the HUD.The takeoff horn never sounded. The FO applied max thrust; I saw the flap indicator was [indicating] zero. I dropped the flaps to position one and the aircraft accelerated and climbed normally after the gear was raised. The aircraft was never in a stall; just close to it. After considerable discussion; the only thing possible is if I had accidentally raised the flaps instead of the landing gear.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.