cancel
Showing results for 
Search instead for 
Did you mean: 

EWM - RF Barcode scanning queries

0 Kudos
3,281

Hi All,

We need to scan barcodes on RF screens in such a way that barcode will consist of Material + Batch + HU.

My queries are as follows :

1. Is it possible to scan combined barcode Material + Batch + HU in one shot and map the values to internal screen fields in PAI with auto enter functionality of scan gun. I tried with manual enter on 1 field and PAI is not triggered.

Similar issue

Above issue mentions similar problem but there are no details to my query..

2. For above requirement, do I need to create custom barcode format.

3. Is there any stetting to configure auto-enter for RF guns at SAP end also

Kindly Confirm.

Thanks !!!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member577216
Discoverer
0 Kudos

My queries are as follows :

1. Is it possible to scan combined barcode Material + Batch + HU in one shot and map the values to internal screen fields in PAI with auto enter functionality of scan gun. I tried with manual enter on 1 field and PAI is not triggered.

Ans- Yes, you should setup/ your business must be suing the, barcode in such a away that the seperator value and identifiers should be there. ex- (00)XXXXXXXXXX(01)XXXXXXXXX(02)XXXXXXXXXX where

00- Product no

01- Batch no

02- Expiration date and so on.

Your abaper should call BADI- /SCWM/EX_BARC_DECODE~DECODE where you can call yourFM for soliting the value and you can pass the value in the structure after split with proper field.

2. For above requirement, do I need to create custom barcode format.

Ans- Your barcode prefix should be there in the table/customizing- /SCWM/T313G-PREFIX. and rest BADI will do.

3. Is there any stetting to configure auto-enter for RF guns at SAP end also.

Yes- In RF gun, you can set default parameter which is prefix ]C1(SAP Standard)

in Data wedge - barcode input main settings- Configure scanner setting- scan params-barcode input - code id type - code id type aim

0 Kudos

Hi!

SAP EWM support only EAN128. You can see standart fm /SCWM/RF_EAN128_SPLIT_VALID for example.

You should create your own barcode type and split fm for RF.

BR, Alex.

0 Kudos

Hi 0855168697,

Thanks for writing.. I have created my barcode type - ZEAN128 . In that I am panning to put only requried field with there corresponding AI. But my issue issue how will I trigger this FM when Barcode is scanned.

I have assigned Function code 'NEXT' for 'ENT' event and I have observed that control reaches at PAI but does not trigger FM assigned to NEXT code but it checks whether there is any input field available or not. If yes, cursor moved to that next field.

If I hit enter button one more time, standard RF framework finds no input field on screen and then PAI custom FM is hit.

Meaning, RF framework parses through all the input fields first and then only PAI FM is triggered.

Could you suggest any way to trigger barcode split FM when enter is hit on first field. I see that Verification profile cannot be used in this case because during PBO of First screen the value in input field is blank and hence verification field will be disabled or invisible.

Kindly suggest.