Skip to Content
0

How can we incorporate more than 255 Characters in 2D Barcode PDF417 in a Smartform

Dec 14, 2017 at 10:07 AM

69

avatar image

Hi Guys,

I have a requirement for printing invoice details via PDF417 on my invoice.I have made use of PDF417 system barcode ( via SE73 )to do the same. My problem is that i can only print 255 characters ie when i scan, i only see upto 255 characters. I have concatenated the details into a string which i then display on my smartform. I have to display around 350+ characters. Is it possible in my case?

Hoping for a Positive Reply.

Regards,

Sam.

10 |10000 characters needed characters left characters exceeded

Hi,

It did work in my case but after combining 2 separate barcodes into 1 barcode; i can only see upto 300 characters.

Eg: <BC>&Barcode_part_1&&Barcode_part_2</>

where Barcode_part_1 contains 255 Characters & Barcode_part_2 contains around 80 Characters.

But when i combine the two; the barcode is displayed but with only first 300 Characters.

Any solution for this?

Regards,

Sam.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Dec 15, 2017 at 08:35 AM
2

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'.
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

It did work in my case but after combining 2 separate barcodes into 1 barcode; i can only see upto 300 characters.

Eg: <BC>&Barcode_part_1&&Barcode_part_2</>

where Barcode_part_1 contains 255 Characters & Barcode_part_2 contains around 80 Characters.

But when i combine the two; the barcode is displayed but with only first 300 Characters.

Any solution for this?

Regards,

Sam.

0

What if you pass the text in a text node with dynamic text ? (you may initialize the text from a long string with function module CONVERT_STREAM_TO_ITF_TEXT for instance) This text would look like this:

TDFORMAT  TDLINE
*         <BC>... ...
=         ... ... ...
=         ...</BC>
0
Sam AP Dec 18, 2017 at 09:36 AM
0

Hi,

It did work in my case but after combining 2 separate barcodes into 1 barcode; i can only see upto 300 characters.

Eg: <BC>&Barcode_part_1&&Barcode_part_2</>

where Barcode_part_1 contains 255 Characters & Barcode_part_2 contains around 80 Characters.

But when i combine the two; the barcode is displayed but with only first 300 Characters.

Any solution for this?

Regards,

Sam.

Share
10 |10000 characters needed characters left characters exceeded