This is an old revision of the document!
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.
Accessing SAP Business One via the Service Layer is available for v9.3 on HANA only. It will be available for both HANA and SQL Server beginning with the GA release of SAP Business One v10.
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 here.
Once the workflow has completed a successful login, the remaining steps will use the Interact With Data option.
More information on the various objects and methods is available on your HANA server by using this URL in a browser on your network.
https://<YourServerName>:50000
application/json
for all Service Layer transactions.
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.
Transactions sent to the Service Layer for SAP Business One use a JSON data structure. The structures must be structured specifically as the Service Layer expects them to be.
In addition, some values must be sent as enumerators. These are specific values that represent other values in the SAP Business One database. A listing of common enumerators is found here SAP Business One Enumerators.
Samples of the JSON structures for key SAP Business One objects can be found in the links below. Data is sent to the Service Layer for SAP Business One using a web service call. This call sends the data to the Service Layer API in a JSON data structure.
These samples are provided as a way to help understand the structure of the various SAP Business One objects. They are correct at the time they were created but you should always verify them with your version of SAP Business One.