on 10-01-2007 5:28 PM
Hi,
I'm trying to use the BarCodeReader API (Mobile WebDynPro Add-on library) for Intermec BarCode Scanner, following <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/b7/3efd406b8af16fe10000000a1550b0/frameset.htm">this</a>.
My wdoModifyView looks like:
if (firstTime) {
IWDBarCodeReader barCodeReader = (IWDBarCodeReader) view.getElement("BarCodeReader");
barCodeReader.mappingOfOnRead().addSourceMapping( IWDBarCodeReader.IWDOnRead.BAR_CODE, "scanData");
barCodeReader.mappingOfOnRead().addSourceMapping( IWDBarCodeReader.IWDOnRead.TYPE, "type");
}
Unfortunately, after i launched the IExplorer and visit the webdynpro page, it have no effect. My UIElement: BarCodeReader has the following properties:
enabled=true
type=intermec
visible=none
Depending on the manufacturer of the Pocket PC, you need to use one of the following browsers in order to use the functions in mobile add-on UI elements:
■ INTERMEC devices: IBrowse
!! Can't I use the IExplorer browser? My Mobile device doesn't provide that "IBrowse"
Any help would be appreciated. Thanks in advance.
Message was edited by:
Antoni Macia
You can still continue using the IExploer browser but to fully leverage the Barcode reader functionality (onRead) you will require IBrowse.
- Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Antonie,
Just to share with you my experience with Ibrowse.
From what i noticed, each time u press the scan button of the Intermec scanner, it will invoke the WDP application and passed along the scanned value via onActionScan method. Here you can do your own logic.
In contrast, for mobile IE, you need to point the cursor to the WDP application's input field and press to scan. Then, the scanned value will be entered into the cursor pointed field, but it doesnt really invoke the WDP application.
//assumed you have a context attribute called data which is binding to an input field
public static void wdDoModifyView(IPrivateMLTMAppView wdThis, IPrivateMLTMAppView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
{
//@@begin wdDoModifyView
if (firstTime) {
IWDBarCodeReader barCodeReader = (IWDBarCodeReader)view.getElement("BarCodeReader");
barCodeReader.mappingOfOnRead().addSourceMapping("data","scanData");
}
}
//scanData is the scanned value
public void onActionScan(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String scanData )
{
//@@begin onActionScan(ServerEvent)
if(wdThis.wdGetContext().currentContextElement().getData() ==null){
wdThis.wdGetContext().currentContextElement().setData(scanData);
}
//@@end
}
Message was edited by:
julius
Hello experts thnks for your advice
I have a very similar problem, but I'm using the next:
Mc3000 symbol
Symbol pocket browser 2.02
windows mobile device center 6.1.6995 , beacuse I'm using vista
When I scan a bar code, apperar in the pocket browser the next excepction.
Parameter barcode not found
I have done everything that you recommended me, but I have not solve this problem
Thanks a lot my dear Expets
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Our current project requirement is to manipulate the scanned data from a barcode scanner. The handheld device used is Symbol and the browser is PocketBrowser. The problem we are facing now is that the onRead event of BarcodeReader UI element is not been invoked on scanning a barcode. There are 2 inputfields in the application. If the cursor is placed on first input field , the scanned value is placed on the first field and like wise for second inputfield.
Either we should be able to trigger the scan event of the UI element or we should be able to find the current position of cursor.
Please help with valuable inputs.
Thanks n Regards
Renu Nair.
HI Antoni Macia,
we have same reqirement,we have to see BI Reports in Mobile.I hope U did some extend,Can u please tell me how to access BI System and How execute BI Template in Webdynpro Application.
I try with BIApplicationFrame,I gave the parameters Query and Template ID.But i'm unable to visualize output,application calling Ep.Repeted that request/Response going on but i'm not getting Output.
Plz Help me,
Thanks,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.