Some years and models of K bikes did not come from the factory with a switch for hazard flashers. However, the circuitry is already built into the flasher relay and the wiring harness has the right connector so that all you have to do to add hazard flashers is install the hazard switch (part # 61311459305) in your handlebar dash pad and plug it into the wiring harness connector usually found under the left side of the tank.
The wiring harness connector has three wires: yellow/violet, blue/white and brown. (In some of the earlier K bikes the hazard switch had a little light in it that would flash. That's what the blue/white wire is for.)
Also, do not let the guy/gal at the BMW parts counter convince you that you need to buy a new flasher relay. Since the hazard switch appears on a parts diagram that also includes a flasher relay some parts counter personnel think that it's somehow different from the flasher relay that appears on the fuse box diagram. It's not. It's the exact same part, part 61311459224.