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

Problem creating large QR in smartform

maria_merino
Active Participant
0 Likes
2,925

Hi experts,

I've been searching through the forum but I didn't find anything that solves my issue..The user needs to print a QR code in the back of the delivery's smartform (VL0xN). This QR code must contains some data of all the positions in the delivery, so it can be very big. SAP only allows 255 characters. so the QR code is wrong generated. I splitted my string into different token (255 characters each) and then, in the text element I did like this:

<QR>&gv_qr1&&gv_qr2&&gv_qr3&</>

I sabe and activate the smartform but then I go to chect the text and it appears as follows:

<QR>&GV_QR1&</><QR>&GV_QR2&</>><QR>&GV_QR3&</>

And when I print the delivery, there are 3 QR Code instead of 1.

Has anybody faced the same problem?

Thanks!

Maria

1 ACCEPTED SOLUTION
Read only

rajkumarnarasimman
Active Contributor
1,346

Hi Maria,

Instead of writing the text element inside smartform directly, create standard text S010 and save the below values. Call the standard text from smartform using Include Text.

<QR>&gv_qr1&&gv_qr2&&gv_qr3&</>

Refer the below thread.

https://archive.sap.com/discussions/thread/3824600

Regards

Rajkumar Narasimman

Hi experts,

I've been searching through the forum but I didn't find anything that solves my issue..The user needs to print a QR code in the back of the delivery's smartform (VL0xN). This QR code must contains some data of all the positions in the delivery, so it can be very big. SAP only allows 255 characters. so the QR code is wrong generated. I splitted my string into different token (255 characters each) and then, in the text element I did like this:

<QR>&gv_qr1&&gv_qr2&&gv_qr3&</>

I sabe and activate the smartform but then I go to chect the text and it appears as follows:

<QR>&GV_QR1&</><QR>&GV_QR2&</>><QR>&GV_QR3&</>

And when I print the delivery, there are 3 QR Code instead of 1.

Has anybody faced the same problem?

Thanks!

Maria

2 REPLIES 2
Read only

rajkumarnarasimman
Active Contributor
1,347

Hi Maria,

Instead of writing the text element inside smartform directly, create standard text S010 and save the below values. Call the standard text from smartform using Include Text.

<QR>&gv_qr1&&gv_qr2&&gv_qr3&</>

Refer the below thread.

https://archive.sap.com/discussions/thread/3824600

Regards

Rajkumar Narasimman

Read only

0 Likes
1,346

Thanks a lot Rajkumar!!! it works !!!! I haven't found the post you sent me !!