on 12-09-2020 8:05 AM
Hello All,
I am trying to call barcode scan back to back without any user interaction using API sap.ndc.BarcodeScanner
jQuery.sap.require("sap.ndc.BarcodeScanner");
fnScan1:function(){
sap.ndc.BarcodeScanner.scan(function(oResult){
/ * process scan result * /
// POP UP NEXT SCAN2
this.fnScan2();
},function(oError){/ * handle scan error * /},function(oResult){/ * handle input dialog change * /});
},
fnScan2:function(){
sap.ndc.BarcodeScanner.scan(function(oResult){
/ * process scan result * /
// POP UP NEXT SCAN1
if(condition){
this.fnScan1();
}
},function(oError){/ * handle scan error * /},function(oResult){/ * handle input dialog change * /});
},
It is working for only 3 or 4 successive barcode scan.
Please suggest way to achieve back to back scan Or is it a limitation for this API?
Or suggest how to break scope of 1st barcode scan and give call for 2nd scan.
Regards,
Mahesh Lad
Maybe this can help: https://blogs.sap.com/2020/10/07/ui5-qr-scanner/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.