Application Development 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: 

Concatenate Function not pick more than 255 characters

former_member227596
Participant
0 Kudos
1,566

Dear All,

I am working on QR-Code and I have to pick details from a invoicei.e. PO no, PO item, Qty, I have to show all line items in one QR. After concatenate the data, the size of Variable is more than 400 characters.

means data shown in 2 line items for the variables.

When I pass the variable data to QR-CODE, it only pass first line of varaible data and skips 2 line. So my QR-code created is wrong. I want all 400 character pass to QR-Code.

Please help how to handle the requirement.

Regards

Vikas

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
392

Same answer than yesterday for another guy:

Did you search the forum, especially this one by Aidan Black, it says all (https://archive.sap.com/discussions/thread/2085266) :

  • Do you use a symbol for the barcode string in the smartform? The reason for the problem is that the length of a symbol in a
    Smartform is restricted to 255 characters(see SAP note 485296). You need to split it into more than one symbol. e.g.
    Character Format BC
  • &Barcode_part_1&&Barcode_part_2&&Barcode_part_3&
  • There is a problem if you enter it like this:
  • <BC>&Barcode_part_1&&Barcode_part_2&&Barcode_part_3&</>
  • into a text node in transaction SMARTFORMS. The editor automatically breaks it into 3 separate barcodes.
  • <BC>&Barcode_part_1&</><BC>&Barcode_part_2&</><BC>&Barcode_part_3&</>
  • The solution is to put the:
  • <BC>&Barcode_part_1&&Barcode_part_2&&Barcode_part_3&</>
  • into a sapscript standard text(transaction SO10) and include it into the Smartform as a text type 'Include text'.

392

0 Kudos
392

Thanks. So, it's the same answer as Aidan Black, but "yours" has screenshots too.

DCorralesM
Explorer
0 Kudos
392

Hi!

I created a QR code and associated it in transaction SO10 to print all the data, this works fine but if there are changes in the length of the data the size of the QR code also changes.

How can I define a fixed size in the QR code?

Here some posts, but without solution:

https://answers.sap.com/questions/181533/qr-code-with-a-fixed-image-size-in-smartforms.html

https://answers.sap.com/questions/122012/how-to-define-fixed-size-of-a-qr-code-size-in-smar.html

Regards!