My favourite method!
How to create a QR code and show it in a Smartform
Since it's free, the author gives all the code you need, and you don't need to install additional software.
The biggest "gotcha" is that the SAP system needs to be able to connect to the internet, but that's kind of useful anyway!