Wiki

Scale Your Enterprise

User Tools

Site Tools

mbstring extension must be loaded in order to run mPDF

bw2:sbo_sl_v26

This is an old revision of the document!


SAP Business One Service Layer using Bizweaver v2.6 and higher

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 HANA on v9.3 only. It is available for both HANA and SQL Server beginning with SAP Business One v10 PL02.

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.

Login Step

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.

  • 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

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
  • Enter the Content Type as
    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.

Working with the Service Layer

Information on sending data through the Service Layer is found here.

bw2/sbo_sl_v26.1612996195.txt.gz · Last modified: 2021/02/10 17:29 by akoehler