"Whodunit", written by Keni St. Lewis and Freddie Perren, was a hit song for American R&B/disco group Tavares in 1977.
The lyrical hook to the song was the repeated query "Whodunit?
The singer then appealed to a series of famous fictional detectives to help "solve" the case, including Sherlock Holmes, Charlie Chan, Ellery Queen, McCloud, Kojak, Baretta and Dirty Harry.
The gimmick was reminiscent of "Searchin'", a 1957 single by The Coasters which also invoked a series of lawmen to track down a missing love interest.
The song spent one week at number one on the R&B singles chart in May 1977 and peaked at number twenty-two on the Billboard Hot 100 singles chart[1] and in the UK peaked at number 5 the week ending 7 May 1977, where it stayed for 2 weeks.