No, detectives are a common feature of crime feature but are not a requisite, neither is murder. Missing persons, kidnapping, bank heists and rapes for example, still function in the world of crime fiction just as well as murder.
Also, ruling out a text that has elements of existentialism...