Wiki

Scale Your Enterprise

User Tools

Site Tools


bw:sbo_hana_sl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bw:sbo_hana_sl [2019/11/08 14:10]
runger
— (current)
Line 1: Line 1:
-===== 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** 
- 
-{{:bw:webservice12.png?600|Variables}} 
- 
- 
-**Request** 
- 
-{{:bw:webservice13.png?600|Login Request}} 
- 
-  * Sample URI (copy & paste) 
- 
-<code> 
-WorkFlow(Variables).Get(BaseURI)/Login 
-</code> 
-  * Sample Login Body Code (copy & paste) 
- 
-<code> 
-{ 
-"CompanyDB":"WorkFlow(Variables).Get(DBName)", 
-"UserName":"WorkFlow(Variables).Get(UserName)", 
-"Password":"WorkFlow(Variables).Get(UserPassword)" 
-} 
-</code> 
- 
-**Response (Cookies)** 
- 
-{{:bw:webservice14.png?300|Login Response}} 
- 
-==== Use Cookies ==== 
- 
-**Request** 
- 
-{{:bw:webservice15.png?400|Request Content}} 
- 
-  * Sample Cookies Code (copy & paste) 
-<code> 
-B1SESSION:WorkFlow(WebServiceClient_callLogin).Get(B1SESSION) 
-ROUTEID:WorkFlow(WebServiceClient_callLogin).Get(ROUTEID) 
-</code> 
- 
-**Sample of Response Content** 
- 
-{{:bw:webservice16.png?600|Content Response}} 
- 
-==== Sending Data to the Service Layer ==== 
-[[Sending Data to the Service Layer]] 
bw/sbo_hana_sl.1573240254.txt.gz · Last modified: 2019/11/08 14:10 by runger