Skip to Content
0

How to connect a Windows ce smart device application to sap b1 database?

Aug 28, 2017 at 06:00 AM

92

avatar image
Former Member

Dear Expert,

I designed a login screen with windowsCE Application(handheld device). but now I need to login with sap b1 database userid and password. but i am facing a problem because of Sap b1 password is encrypted.

How to use a sap b1 userid and password in Windows CE handheld Smart device?

Please help me to solve this issue.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Johan Hakkesteegt Aug 28, 2017 at 12:25 PM
1

Hi Manikandan,

The smart way to do this is not to develop a Windows CE application, but instead develop a web application.

This will allow you to use the DI Server for interaction with the B1 system, and you are no longer dependent on VS2008, and more importantly you will not be dependent on the mobile device's operating system.

Please note that when you need to replace your PDA(s) some time in the near future, the operating system will no longer be the same, and an application developed for Windows CE would have to be rebuilt to work on whatever operating system the new device is running.

A web application will work on any hand held device that has a browser (including even smart phones). So next time you need to replace your device(s) you can choose the best option for you, instead of being forced to buy the one model that is still running Windows CE.

Regards,

Johan

Show 3 Share
10 |10000 characters needed characters left characters exceeded

+1 for web application,
To make it more robust, i suggest to keep it into 2 parts:
Webservice to support all the call
WebApplication to provide the UI only and call the webservice to do the operation.

Splitting the Process and UI will make your application scalable, you can create your UI in any flavor, be it Web,Android,iOS,CE or any future platforms.

0
Former Member

Sir, I new to web services, please Can you share me any example Source for web services

0

There are a lot of examples and tutorials available about web services, like this one from Microsoft.

Regards,

Johan

0
Edy Simon Aug 28, 2017 at 09:41 AM
0

Hi Manikandan,

You can not use SQL query to validate the password. You will need to use a webservice and the device should communicate through this WS
You have 3 options:
1. Create your own webservice.
2. Create a webservice that wraps DI Server.
3. Create a webservice that wraps the B1if.

Regards

Edy

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Sir, Actually, I am using Visual studio 2008.Only VS2008 supports the Handheld device application.I need a login page in this device application which uses OUSR usercode and password (sap-b1 database).

I need any examples. please share

0

What I meant was, to validate SAP username and password, you can not use SQL/OLEDB connection as the password is encrypted in the database. There is no decryption key available to us.
To validate it, you need to use the DI API, since you can not install DI API in the handheld, your option is only to move the validation outside your handheld, this is where the WebService come in.

1
Former Member

Okay Sir, I understood.Thank you

0
Former Member
Former Member

Sir,Please Send me any Source Code which is related to my Question.

Example:

How can I create a webservices for this Validation?

0