7 Replies Latest reply: Dec 27, 2011 4:57 PM by Roberto Okumura RSS

Split bar code in several fields

Roberto Okumura
Currently Being Moderated

Hi all,


My requirement is to split a 2d bar code in several fields in a selection screen.


For instance, my bar code is composed by material number, batch number and production order: AAABBBCCC.


- AAA: material number;

- BBB: batch number;

- CCC: production order.


The selection screen of the z transaction that will receive those three elements has 3 fields, a specific field for each one of them.


My question is how to split automaticly the input from the barcode into those 3 fields when it's read with the barcode reader. Do i have to concatenate a special character in the barcode string when printing it so that it'll divide into the fields?


I've searched the forum and i've found no comments about this.