2013 Sep 17 8:51 PM
Hi,
We are designing a custom transaction with four fields for material, quantity, storage type and storage bin. The data in these fields is not entered manually but by scanning two GS1 2D barcode.One barcode contains material and quantity and the next one contains storage type and storage bin.
We do not have handheld device at our site, but whatever I have understood is that the GS1 barcode would be read in the input field on which the cursor is placed and then code should be written to extract data from the value found in the input field. So for our case we shoud have two fields for accepting the data of the scanned barcodes
My issue is the client does not want extra data entry fields, he expects that when the barcode is scanned the material and quantity get filled automatically. and when the next barcode is scanned the storage type and storage bin get filled.
I am not able to understand how I decode the data from the scanner as soon as the barcode is scanned to fill the fields on the screen.
Is it possible to have the GS1 barcode read in two diffrent fields automatically.
Please help. Thanks in advance
2013 Sep 18 4:29 AM
Hello Neha.
I have not worked with the barcode you mentioned but have worked with Code 128 type barcode.
On scanning the barcode in the field with cursor, PAI event will be triggered automatically.
You can write your logic in PAI to separate the material and quantity based on the length.
For instance, we have barcoded production order(AFPO-aufnr) and operation(AFPO-posnr). On scanning the barcode,we take first 12 characters as order and remaining 4 digits as operation.
Once the first barcode is scanned, you can make use of SET CURSOR FIELD to move the cursor to next barcode input field,so that user can scan the second barcode containing storage type and storage bin.
Regards.
Hello Neha.
I have not worked with the barcode you mentioned but have worked with Code 128 type barcode.
On scanning the barcode in the field with cursor, PAI event will be triggered automatically.
You can write your logic in PAI to separate the material and quantity based on the length.
For instance, we have barcoded production order(AFPO-aufnr) and operation(AFPO-posnr). On scanning the barcode,we take first 12 characters as order and remaining 4 digits as operation.
Once the first barcode is scanned, you can make use of SET CURSOR FIELD to move the cursor to next barcode input field,so that user can scan the second barcode containing storage type and storage bin.
Regards.
2013 Sep 18 4:29 AM
Hello Neha.
I have not worked with the barcode you mentioned but have worked with Code 128 type barcode.
On scanning the barcode in the field with cursor, PAI event will be triggered automatically.
You can write your logic in PAI to separate the material and quantity based on the length.
For instance, we have barcoded production order(AFPO-aufnr) and operation(AFPO-posnr). On scanning the barcode,we take first 12 characters as order and remaining 4 digits as operation.
Once the first barcode is scanned, you can make use of SET CURSOR FIELD to move the cursor to next barcode input field,so that user can scan the second barcode containing storage type and storage bin.
Regards.
2013 Sep 24 6:37 AM
Hello Neha,
Insert one more input field for Scan Barcode and make all other fields as output fields . After Scan completed Split the Barcode Details in Material And Quantity or as per you required.
2013 Sep 24 7:46 AM
Neha,
When you run the program and when the screen is available for barcode input simply scan the barcode in this field after scanning the value will be available in this field.
You can refer below documents to understand it in better way:
http://help.sap.com/saphelp_nwce10/helpdata/en/b7/3efd406b8af16fe10000000a1550b0/content.htm
Regards,
Sujeet
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |