bw:sbo_sl_v25

Differences

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

Link to this comparison view

Next revision
Previous revision
bw:sbo_sl_v25 [2020/04/22 14:20]
runger created
bw:sbo_sl_v25 [2020/12/14 18:24] (current)
akoehler
Line 1: Line 1:
 ===== SAP Business One Service Layer using Bizweaver v2.5 and higher ===== ===== SAP Business One Service Layer using Bizweaver v2.5 and higher =====
  
-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.+Accessing SAP Business One 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. 
 + 
 +<WRAP center round tip 60%> 
 +Accessing SAP Business One via the Service Layer is available for HANA on v9.3 only.  It is available for both HANA and SQL Server beginning with SAP Business One v10 PL02. 
 +</WRAP> 
  
 The difference in Bizweaver v2.5 is that a Service Layer global connection can be used to manage much of the detail work.  Configuring a Service Layer global connection is described **//[[bw:global_connections#sap_service_layer_connections|here]]//**. The difference in Bizweaver v2.5 is that a Service Layer global connection can be used to manage much of the detail work.  Configuring a Service Layer global connection is described **//[[bw:global_connections#sap_service_layer_connections|here]]//**.
 +
 +==== Login Step ====
 +
 +{{  :bw:sap_sl_login.png?600  |WebService Login}}
 +
 +  * Select **SAP Service Layer** in the "Select Service" drop-down list.
 +  * Select **Authenticate** in the next drop-down to the right.
 +  * Select the **Authentication Required** checkbox.
 +  * Select your previously defined Service Layer connection in the "Select Connection" drop-down.
 +  * Click the **Validate Login** link to confirm that your connection is working.  If the response is not //True//, check your connection information and try again.
 +
 +==== Interact With Data Steps ====
 +
 +Once the workflow has completed a successful login, the remaining steps will use the **Interact With Data** option.
 +
 +{{  :bw:sap_sl_action_step_1.png?600  |}}
 +
 +  * Select **SAP Service Layer** in the "Select Service" drop-down list.
 +  * Select **Interact With Data** in the next drop-down to the right.
 +    * No other information is needed in this section as the Login step has provided the needed credentials.
 +  * Enter the SAP Business One //Object// with which you want to work in the **Construct URI** field.  Enter this information at the end of the pre-populated string, __including the "/" before the object as shown in the image above__.
 +  * Select the desired interaction method from the **Method** drop-down list.  The most common methods used in SAP Business One will be Get, Post, Patch, and Delete
 +
 +<WRAP center round tip 60%>
 +More information on the various objects and methods is available on your HANA server by using this URL in a browser on your network.  <file>https://<YourServerName>:50000</file>
 +</WRAP>
 +
 +  * Enter the **Content Type** as <code>application/json</code> for all Service Layer transactions.
 +
 +{{  :bw:sap_sl_action_step_2.png?600  |}}
 +
 +The above image is shown for information only.  It illustrates the //cookies// variables that used as credentials to interact with SAP Business One.  The cookies will created in the initial Login step.
 +
 +==== Working with the Service Layer ====
 +Information on sending data through the Service Layer is found **//[[Sending Data to the Service Layer|here]]//**.
 +
 +
bw/sbo_sl_v25.1587579647.txt.gz · Last modified: 2020/04/22 14:20 by runger