A Martinair Boeing 747-400, registration PH-CKB performing freight flight MP-7762 from Sao Paulo Viracopos,SP (Brazil) to Lima (Peru) with 3 crew, was climbing out of Viracopos Airport when the crew stopped the climb at FL190 reporting problems with the flaps after they had received indication of a malfunction of the flaps during retraction and recycled the flaps but again received indication of the malfunction. The aircraft entered a hold at FL190 for about one hour and returned to Viracopos declaring emergency due to landing at a higher speed than normal. The aircraft landed on Viracopos' runway 33 at a higher than normal speed (about 190 knots over ground) about 2 hours after departure.
The occurrence aircraft remained on the ground for about 45 hours, then was able to depart again for and complete the flight to Lima.