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 Multiple Line QR code from Smartform

Former Member
0 Likes
4,371

For Eg :-

Line one "Hello"

Line two "SAP"

1 ACCEPTED SOLUTION
Read only

hedvig_rohonyi
Product and Topic Expert
Product and Topic Expert
0 Likes
2,254

Dear Hiren,

I suppose you use the new barcode technologie, described in note 2030263. In all modes, certain invocation codes in the bar code data are allowed.

If you want to use special, non-printing characters see the explanation of these invocation codes in note.

For example you should add to the barcode data \c010\ for linefeed.

More information in KBA: 2358186 - Special characters like LF, CR or TAB displayed as # in QR code barcode

Best regards,

Hedvig

8 REPLIES 8
Read only

hedvig_rohonyi
Product and Topic Expert
Product and Topic Expert
0 Likes
2,255

Dear Hiren,

I suppose you use the new barcode technologie, described in note 2030263. In all modes, certain invocation codes in the bar code data are allowed.

If you want to use special, non-printing characters see the explanation of these invocation codes in note.

For example you should add to the barcode data \c010\ for linefeed.

More information in KBA: 2358186 - Special characters like LF, CR or TAB displayed as # in QR code barcode

Best regards,

Hedvig

Read only

0 Likes
2,254

Hello Hedvig,

Thanks for your explanation,

i am facing same issue, I checked the note 2358186, I tried the code in the note:

below is my code:

data:
gv_2d type CHAR255.

gv_2d = '001\c013\\c010\20\c009\30\c013\\c010\40\c009\50'.

but the 2D scan result is :001\c013\\c010\20\c009\30\c013\\c010\40\c009\50

Can you please let me know what I missing?

Regards

Victor

Read only

0 Likes
2,254

Hi Hedvig,We have tried the solution from sap note but it is still not working Can you please provide some sample code? so that we can cross check what mistake I am making I want to know declaration of invocation codes .RegardsVictor
Read only

Former Member
0 Likes
2,254

Hi Hedvig,

Thanks for your valuable reply, i got the solution from your answer.

Thanks,

Hiren..

Read only

Former Member
0 Likes
2,254

Hi Hedvig,

I need one more suggestion regarding same,

currently i am getting the size of QR code is larger as compare to my requirement.(May be it depend on text size).

So, is there any solution to fix the size like 1X1 inch?

Thanks,

Hiren.


Read only

hedvig_rohonyi
Product and Topic Expert
Product and Topic Expert
0 Likes
2,254

Dear Hiren,

unfortunately in SAP is not possible to set the symbol version of QR-code verssion.The size is determined dynamically.
if the amount of data increases, more modules are required to comprise QR Code, resulting in larger QR Code symbols.

As per note 2030263, it seems that module size is the only way to control the size of the QR barcode.
"Module Size in Pixel: 00001 - 00999
Via this parameter, the size of the Barcode is controlled. The value entered here (for example 25) specifies the size of the "unitsquares" in a QR Code Barcode Symbol. The unit used here is "Pixel",meaning a single 1/600 inch dot produced by the printer on the output medium (i.e. paper)."
Fixed height could be difficult unless the barcodes have similar amounts of data.


Best regards,
Hedvig

Read only

0 Likes
2,254

Thanks for your valuable Reply.

Thanks,

Hiren.

Read only

Former Member
0 Likes
2,254

Dear Hedvig,

I am waiting for your valuable reply..

Thanks,

Hiren.