‎2012 Sep 15 2:53 PM
hi guru,
i want to print qr code in smartform....as few step i had already done for which i am able to get pdf output with qr code from sap but not able to intergrate in smartform....print control command is used in abap reprot...but when i use print control commant in smartforrm its not working.....
And i don't want to upload image of qr code and to that....
As my requirment is to print qr code in smatform......
‎2012 Sep 15 3:58 PM
Hi Vinay,
How are you passing this qr code to your smartform?
From what I understood all you need is to print some text - in your case a code, if you are creating a smartform then simply create a data type for this code and pass it as one of the smartform function arguments, if this is a standard smartform either change it and put that data where you need or copy the smartform to a Z one and do the changes there.
I would also help you with coding, but you did not give enough information to work with.
Best,
Iftah.
‎2012 Sep 15 6:38 PM
hi iftah,
thks for reply.....but qr code is like bar code....for which there is no font or something is there....there no question of data type .....
‎2014 Apr 10 1:22 PM
The example here:
works a treat for me - it passes the data you want to encode to the google charting API, then reads the response and passes that to the graphics library, which can be called from the SMARTForm.
It's actually a lot easier than it sounds, particularly as you can just cut and paste the code!
Well done the author!
It does rely on the google charting API though, so if they ever change their url, your code would break...!