Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Generate QR Code from ABAP coding

0 Likes
5,857

Hello All,

Can any one suggest me how to generate a QR code from a standard ABAP Coding?
Is there any API or webservice available to generate it?

Also I would like to print the generated QR code onto the SAP UI. Is there a possibilty to do this??

Thanks and Regards
Vamsi

5 REPLIES 5
Read only

Former Member
0 Likes
2,550

Hi Vamsi,

You may want to take a look at abap2qrcode project:

https://sap.assembla.com/spaces/abap2qrcode/wiki/InstallationGuide

Hope it helps. Cheers!

Read only

0 Likes
2,550

Hi Vamsdhar,

As far as I know there is no option to create a QR code either thru fm or API in abap but you can use the following link to generate the QR code:

http://chart.apis.google.com/chart?chs=200x200&cht=qr&chld=|1&chl=
qr_text /chart.png

replace qr_text with your required text and export the image using the class 'cl_http_client' to save the image to repositary and use it anywhere.

Regards,

Ashish Kumar.

Read only

Former Member
0 Likes
2,550

Hi Vamsidhar,

Please refer this DOC.I think it will give you some idea on it.

http://scn.sap.com/docs/DOC-47644

Regards,

Anoop

Read only

miko2
Explorer
0 Likes
2,550

You can make make a z program calling Adobe Froms in Tcode SFP there you can pass as a value the url and the adobe form generated to what ever barcode you want and export it in a pdf, then you can print it, email it or what ever tou want.

To do this you must have installed the LiveCycle  in your pc and connected to SAP.

Read only

elko_hasse
Participant
0 Likes
2,550

Hello,

the use of the Google Chart API seems to be an easy way for QR Code creation, but I am asking myself since this is an free external service how reliable it is.

Do you have any experience with this? Would you suggest to use it in an productive environment ?

Thanks for you feedback.

Regards,

Elko