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

QR code In Smartforms

Former Member
0 Kudos
3,156

Hi Expects,

I started QR code printing program.

I searched in SCN related to QR code printing in SAP smartforms. More post like not possible in smartfroms.

Some example is given to linking with google API. But security reason we can't use google API.

All are giving the connecting with external web service. It is good idea.

Problems:


But security reason we can't use external web service like google API.

Its cost will increase of project.

We need to buy web page for own web services.

Solution:


I have one idea.

SAP Supporting the Javascript execution in sap. And javascript support QR code.

Using the javascript code we can do QR code.

So we need to write Javascript like function module.

Example

One export and one import variable.

Export: <Input value- text >

Import: <Image file like raw data- binary or hexa format>

Using that raw data we can print the QR code in Smartforms.

I dont know javascriprt. Anyone knows javascript means  ' Please create the code and send me'


Please write code like above mentioned example.


Regards

KARTHIKEYAN K

Increase the power of ABAP

1 ACCEPTED SOLUTION
Read only

Peter_Inotai
Active Contributor
0 Kudos
1,148

Hi,

You can use external solutions like this for example:

http://www.suchymips.de/en/rbarc_qrcode.htm

Of course, you have to purchase it first. But it would also work for lower BASIS levels.

Peter

16 REPLIES 16
Read only

Former Member
0 Kudos
1,148

"I searched in SCN related to QR code printing in SAP smartforms. More post like not possible in smartfroms."


Not all though. Did you not get this?


Read only

0 Kudos
1,148

Hi Rudra, Thanks for your immediate support. In this example they used goole API.we should avoid the external web service use. Please check that example Regards Karthikeyan

Read only

0 Kudos
1,148

Ok Fair enough.

What is the version of your SAP system?

From release 740 SP09 QR code is supported without the API based on note 2030263.

In that case the following thread might be useful.

https://scn.sap.com/thread/714652

Read only

0 Kudos
1,148

Hi,

This my current package

SAP_BASIS7000032
SAP_ABA7000032
PI_BASIS2006_1_7000022
ST-PI2008_1_7000011
SAP_BW7000034
SAP_AP7000033
SAP_APPL6000027
SAP_HR6000122
SAP_HRCAR6000122
SAP_HRCAT6000122
SAP_HRCAU6000122
SAP_HRCBE6000122
SAP_HRCBR6000122
SAP_HRCCA6000122
SAP_HRCCH6000122
SAP_HRCCN6000122

Regards

Karthikeyan K

Read only

0 Kudos
1,148

Hi,

Unfortunately then it is not supported. Sorry.

Not sure why Google API is not allowed in your Organization. I understand the implication of not using any API. but from Google? For me printing QR code can be as harmless it can be :-). Anyway I am not an javascript expert. So you might want wait if somebody else has got any clue.

R

Read only

0 Kudos
1,148

Thanks Rudra.

Read only

0 Kudos
1,148

Hi Karthikeyan,

I'm wading into totally unfamiliar basis people territory and don't want to give you false hope..., but can you also post you SAP kernel version please?

Pinging @Alexander Bolloni   I don't know if you are the correct person to ask this, but do you happen to know if the ABAP part of QR code enabling functionality from note 2029824 - Support for QR code and data matrix bar code (ABAP part) could also run on NW 7.00, provided the kernel is upgraded? If I'm not misreading 1716826 - Usage of the downward compatible kernel 721 (EXT), the kernel upgrade should be possible. Or are there ABAP 7.02 features in the corrections or some other functionality missing on 7.00? Is it worth a try to ask SAP support these questions..?

cheers

Jānis

Read only

0 Kudos
1,148

Jänis,

the QR Code ABAP part downport is available for 731,730 and 702.  Don't know if 700 was excluded for any technical reason. You might ask support if they can provide a 700 downport..

Yes, the 721 kernel runs under 700 ABAP.

Regards,

Alex

Read only

0 Kudos
1,148

Because Google is dismissing that API

Read only

0 Kudos
1,148

Thanks for your information

Read only

Peter_Inotai
Active Contributor
0 Kudos
1,149

Hi,

You can use external solutions like this for example:

http://www.suchymips.de/en/rbarc_qrcode.htm

Of course, you have to purchase it first. But it would also work for lower BASIS levels.

Peter

Read only

0 Kudos
1,148

Hi, Thanks Peter. This server level activity. It may cause big problems. My basis people are  not accepting this soluation Thanks Karthikeyan K

Read only

0 Kudos
1,148

It's ABAP based solution, delivered via a normal SAP transport. In this solution an ABAP program is generating the QR codes dynamically, so I don't think it causes any big problems.

Peter

Read only

0 Kudos
1,148

No. We need to install some package in application server level. Please check that link

Read only

0 Kudos
1,148

I'm not aware of anything like this. It's just an ABAP include basically, also mentioned on their site:

"The program is – similar to RBarc/Datamatrix - an SAP® Include written in ABAP and is only once installed on the SAP® Application Server."

You can also download a demo version from their side and test it.

Peter

Read only

0 Kudos
1,148

Already I downloaded test version. They given version 1 QR code example