Skip to Content
0

Hana B1 user login.db.getConnection: expects an authenticated session

Mar 05 at 03:30 PM

22

avatar image
Former Member

Hello everyone,

I'm trying to make a custom B1 user login form on hana web ide. I could handle out B1 service layer sucessfully. As we have lots of custom queries that need to be run in this web application, and as B1 service layer has no possibility to do this for us. We decided to use also SAP B1 API:

refer to this link for an example (slide 47) :

https://www.slideshare.net/albertspijkers/sap-business-one-and-hna-integratyion

when calling the login service (/sap/sbo/platform/login) I face this error:

db.getConnection: expects an authenticated session

I send these to this service:

{

"company": "SBODEMODE",

"password": "pass",

"username": "username",

"language":"en-US"

}

do you have any idea, what could be the reason?

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

0 Answers