Skip to Content

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

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.

Add a comment
10|10000 characters needed 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.

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 15, 2017 at 08:35 AM

    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'.

    Also explained in SAP KBA 2245060 - Barcode in Smart Form limited to 255 characters

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2017 at 09:36 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.