David Beckham has described how he struggled to sleep the night before making his Only Fools And Horses debut because he was so nervous.
The star instigated the TV special, which will reunite market trader Del Boy (Sir David Jason) and Rodney (Nicholas Lyndhurst) for the first time in a decade.
Beckham said he went to bed so keen on perfecting his lines on the eve of his guest appearance, that he woke up the next morning with the script still on his chest.
The retired football star, 38, was surprised to have been given so much dialogue in the BBC1 Sport Relief special.
"The day of filming started off with a slightly sleepless night, going over my script," Beckham told Radio Times magazine.
"The thought of being on set with Nicholas and David was obviously very nerve-racking. I woke up that morning with my script on my chest.
"I've never done anything like this before, especially with two people I'm really in awe of and have been for many years.
"It wasn't just about learning the script, it was about delivering it; saying the right things at the right time."
Beckham, who has been pictured on set, in the market, wearing a baseball cap and glasses, said that he could "die a happy man" after filming the Peckham-set sketch.
"I'm a huge fan of the show. I have been for many years, as far back as I can remember," he said. "Being from the East End of London, it's what I was brought up on."
Jim Sullivan, the son of the late Only Fools creator John, said it was Beckham who approached them about reuniting the wheeler-dealer Trotter brothers for the first time since a Christmas special in 2003 .
"When he first read the script he was a bit surprised to have been given so much dialogue and was nervous, understandably, about having to act alongside David Jason and Nicholas Lyndhurst, but he had no reason to be because his acting and delivery were very good," he said.
"It was lovely to meet him and hear him talk about his favourite episodes and scenes and how his son, Brooklyn, is now also a fan."
He told the magazine: "David Beckham got in touch through Sport Relief saying he is a big fan of Only Fools And Horses and that he was wondering if there was a possibility of doing something together for the charity's 2014 campaign.
"We were surprised and flattered by this, but a little hesitant to commit at first. Since dad passed away the question of whether we'd be interested in writing any new material for Only Fools has been raised a few times, and we have always said no, our intention being to protect the work, not to attempt adding to it.
"However, with Sport Relief being such a worthy cause, and with the opportunity to help raise a lot of money, things were different this time, and we knew that dad would approve."
He insisted that the sketch was a one-off and that there would be no new series, adding: " We very much appreciate the passionate and loyal fan base that the show has, and in a perfect world there would be more episodes, but there was only ever one writer of Only Fools and Horses, and without him, there can be no more."
Sullivan and his brother Dan had written Roger Lloyd-Pack into the sketch to return to his much-loved role as the gormless Trigger, before learning that the actor was very unwell.
The star, who had pancreatic cancer, died, aged 69, in January.
"We had originally written Trigger into the sketch and Roger was supportive of the whole thing," Sullivan, who wrote episodes of Only Fools spin-off The Green Green Grass, said.
"We had heard that he had been unwell, but had no idea how serious it was. It wasn't until shortly before filming that we heard he was too poorly to perform, such was his eagerness to be involved - a true testament to his character."
After writing a first draft for the Sport Relief sketch, they worked unused "snippets of dialogue" that their father had written, into the script.
"It was important that the characters felt as true as possible. The show, its characters and every episode came from dad's mind, so if there was any way of getting his thoughts and voice into the script then we were going to do it," Sullivan said.
He added that "as soon as the camera started rolling, David and Nick slipped back into character and it was as though Del and Rodney had never been away."
Viewers will see the short film during the broadcast on Friday March 21.