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: 

Printing multiple fields in a single barcodes

Former Member
0 Kudos

Hello friends,

How to create a single barcodes with multiple fields in smartforms and retrieve same multiple fields while scanning also.

My requirement is, i want to create barcodes which contains material no, serial no, material description and quantity all fields together in a single barcodes.

While scanning how to identify all this different fields. For e.g. from single barcodes how we will identify while scanning which is material no, serial no, material description and quantity.

Thanks in advance.......

Regards,

Dev

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If you choose a barcode format that can handle a sufficiently long string you could concatenate a series of fields together and create a barcode for the concatenated field.

When scanning the barcode if you can ensure fixed positions for all the components of the concatenated string then you could cut the string into sections that represent each field. For example, offsets 0 to 17 could be material, 18 to 35 could be material, etc.

Regards,

Steve.

3 REPLIES 3

Former Member
0 Kudos

If you choose a barcode format that can handle a sufficiently long string you could concatenate a series of fields together and create a barcode for the concatenated field.

When scanning the barcode if you can ensure fixed positions for all the components of the concatenated string then you could cut the string into sections that represent each field. For example, offsets 0 to 17 could be material, 18 to 35 could be material, etc.

Regards,

Steve.

Former Member
0 Kudos

Hello Steve,

Thanks for your answer.

But the scanning will not happen through sap. If a third party (non-sap) vendor will scan then how he will distuinguish between the field with offsets.

Is there any other way rather than concatenating the fields so that while scanning it will automatically read the different fields separatelly.

Regards,

Dev

0 Kudos

If you can influence the way in which the scanner processes the data it reads then you may be able to split multiple fields. If, however, changes to the way the scanner works can only be simple changes such as pressing the return key after the barcode has been input into a field then it won't be possible to read multiple fields.

The key to this issue is what functionality for customisation the scanner exposes to the developer.

Regards,

Steve.