West Ham are targeting their match with Birmingham on Sunday week as a 'must win' game and hope to have a new strike force in place to supplement Carlton Cole.
However, they are being frustrated in their bid for Keane. ESPNsoccernet can reveal that the Hammers have agreed to pay Spurs £6 million at the end of a loan deal - but only on condition that West Ham stay up.
Spurs, though, insist the £6 million transfer is made permanent after his initial six month loan, irrespective of the outcome of the relegation situation.
A Hammers insider told ESPNsoccernet: "The club only want to take Robbie Keane permanently if West Ham stay up, but Spurs want West Ham just to take him. The club cannot add such a high wage bill if they are relegated."
West Ham's option, of course, would be to sell Keane if they go down, but they would be in a weak bargaining position and lose much of their £6 million transfer fee.
The Hammers have offered a £1 million loan fee for Keane and are prepared to pick up the player's £65,000-a-week wages - but the problem is over the details of a permanent deal.
Meanwhile, Hoffenheim striker Ba has agreed to join West Ham but the deal is being held up over a snag concerning the striker's insurance policy after he failed two medicals - the first at Stoke when his £7.1 million transfer collapsed.
A West Ham insider told ESPNsoccernet: "We are finding a way around it. Hopefully we will sort it all out within the next 24 hours."
Despite Ba failing a medical, the Hammers, bottom of the league, have confessed that they are now in the business of taking a calculated risk to try to avoid relegation.