Wiki

Scale Your Enterprise

User Tools

Site Tools


bw:sbo_hana_sl

This is an old revision of the document!


SAP Business One Service Layer (HANA)

Accessing SAP Business One on HANA using the Service Layer is a two-step process. The first step (Login) responds with two cookies. These cookies are then used in any subsequent web service calls in the current processing cycle.

Get Cookies

Variables

Variables

Request

Login Request

  • Sample URI (copy & paste)
WorkFlow(Variables).Get(BaseURI)/Login
  • Sample Login Body Code (copy & paste)
{
"CompanyDB":"WorkFlow(Variables).Get(DBName)",
"UserName":"WorkFlow(Variables).Get(UserName)",
"Password":"WorkFlow(Variables).Get(UserPassword)"
}

Response (Cookies)

Login Response

Use Cookies

Request

Request Content

  • Sample Cookies Code (copy & paste)
B1SESSION:WorkFlow(WebServiceClient_callLogin).Get(B1SESSION)
ROUTEID:WorkFlow(WebServiceClient_callLogin).Get(ROUTEID)

Sample of Response Content

Content Response

Sending Data to the Service Layer

bw/sbo_hana_sl.1573240762.txt.gz ยท Last modified: 2019/11/08 14:19 by runger