Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers