SAP Business One
Pre-requisites
Data Hub v10 or later
SAP Business One 9.0 or later
Install Di API when Using a non direct SQL Server source connection Details here
When using the HANA source connection:
a trusted https connection for the SLD server is required Details here
the HANA service package should also be deployed Details here
Terminology and versioning support
Below is the required information needed to understand the services that ZAP uses to support connecting to SAP B1 data.
Terminology
Deployment types: On-premises, Partner-hosted using Cloud Control-center SAP Cloud.
Platform types: (MS) SQL Server, (SAP) HANA, SAP Cloud.
Interfaces: refers to how the ZAP SAP B1 connector interfaces with the SAP B1 datasource, which may be using an API such as: SLD-based DI API, Odata or by directly connecting to the SQL Server database.
SAP B1 Versions: refers to major versions of SAP Business One, such as 9.2, 9.3 or 10.
ZAP Data Hub Version: assumes you are on the latest version of ZAP. This is the case if a ZAP Cloud subscription is used.
Solution: refers to the prepackaged ZAP data model/analytics that is also versioned.
Data source connection types: SQL Server (using DI API), SQL Server Direct Connection (Di API not required), HANA (Di API not required)
Support Matrix for the ZAP SAP B1 connector:
SAP B1 Version | On-Premises | Partner-hosted SAP B1 Cloud v1.10 (with Cloud Control Center) | SAP-hosted SAP B1 Cloud in Cloud One | Solution Support |
---|---|---|---|---|
9.0 | Not supported (Expected to work) | N/A | N/A | N/A |
9.1 | Not supported (Expected to work) | N/A | N/A | N/A |
9.2 | Supported:
Not Supported: HANA | Supported:
Not supported:
| N/A | Every module EXCEPT Production |
9.3 | Supported:
| Supported:
Not supported: SQL Server (DI API) | N/A | Every module (Production support added in 9.3) |
10.0 | Supported:
| Supported:
Not supported: SQL Server (DI API) | Not supported | Every Module |
Supported modules:
Inventory (Inventory Transactions On-Hand, Movement, Valuation)
Purchasing (Orders, Goods receipts, returns, A/P Invoices, A/P Credit memos)
Sales (Orders, Delivery, Returns, A/R Invoices, A/R Credit Memos, Forecast)
Financial
GL (Actuals, Budgets, Expenses, Statements)
Accounts Receivable
Accounts Payable
Production (v9.3+ only)
Issue for Production
Receipt from Production
BOM
Solution localization support:
English
Model-specific support:
Unified Layer (Power BI support)
Account Segmentation
Currency conversion (historical, financial)
Company consolidation
Fiscal calendar consolidation
Install SAP Business One DI API (Only for a non direct SQL Server connection)
Important
The DI API is only required for a non direct SQL connection
3 Data source connection types are available:
SQL Server - this connection requires the Di API to be installed before connecting in Data Hub.
SQL Server (Read from database directly) - does NOT require the API installation
HANA - does NOT require the API installation
Important
Installing the SAP Business One DI API on the same device as Data Hub may lead to any unsaved changes in Data Hub being lost. This is caused by the SAP Business One DI API installation resetting the Microsoft IIS Web Server.
To avoid data loss, action one of the following:
Install the SAP Business One DI API when Data Hub is not in use.
Install the SAP Business One DI API before installing Data Hub.
Install the DI API for new SAP Business One installations
Install SAP Business One using the SAP Business One Administrator's Guide.
On the Component Selections screen, select Implementation Tools > Data Interface API check box in addition to any other components you require, then continue installing SAP Business One.
To access the SAP Business One Administrator's Guide, choose one of the following actions:
Go to the SAP Help Portal - SAP Business One and open the SAP Business One Administrator's Guide.
Select the More Information link on the Welcome to the SAP Business One Setup Wizard screen of the installation wizard.
Install the DI API for existing SAP Business One installations
If the Data Interface API has already been installed, move on to Add the SAP Business One Data Source.
On the device hosting the SAP Business One server:
Using Windows File Explorer, navigate to the folder containing the SAP Business One installer setup.exe.
Navigate to Packages > DI API.
In the DI API directory, Double-click on setup.exe to run the SAP Business One DI API installation wizard.
Provide your System Landscape Directory Server (SLD) details, then click Next.
On the Setup Type screen, select Typical, then click Next.
The installation wizard will install the SAP Business One DI API. When prompted, click Finish.
SLD Secure connection for HANA
For connecting to SAP HANA, ensure that the url used for the SLD Server is a trusted connection using https. If Http is used or the connection isn't trusted due to SSL certificate warnings, the connection to HANA from Data Hub will fail.
Add the SAP Business One data source
A SAP Business One data source can be added to a new or existing Data Model.
To add a SAP Business One data source to an existing Data Model:
Open an existing Data Model from RESOURCE EXPLORER.
Expand Data Sources.
Click Add Data Source.
Select source
In the Select Source step:
Under the Apps (On-prem) section, select SAP Business One.
From the source type pop-up, click Connect on the SAP Business One entry tagged Data Source.
Connect
To set up the connection between Data Hub and SAP Business One:
Complete the following fields:
Data Gateway - Leave this item set to None unless you are using a Data Gateway.
Processor Architecture - Select the Processor Architecture of the SAP Business One DI API installed.
System Landscape Directory Server (SLD) - Location of the SAP System Landscape Directory Server (SLD). Use the server name if the SLD server is on the same network as the Data Hub server. Otherwise, a fully-qualified domain name (FQDN) is required.
SLD User Name - Provide a user name with access to the System Landscape Directory Server.
SLD Password - Provide the password for the SLD User Name.
Database Server Type - Select the Version of Microsoft SQL Server, or HANA for the SAP Business One Database.
Database Authentication - Depending on how your instance of SAP Business One is configured, authentication credentials are provided by either:
SLD Authentication - Select to use SLD authentication to connect to the SAP Business One Database Server.
Windows Authentication - Select to use a Windows user name and password to connect to the SAP Business One Database Server. Active Domain credentials are also accepted.
SQL Server Authentication - Select to use a SQL Server user name and password to connect to the SAP Business One Database Server.
Database User Name - Enter the user name of a user with access to the SAP Business One instance. The user name provided may require the domain name (such as domain\user) or a User Principal Name format (user@fully-qualified_domain_name).
Database Password - Enter the password for the provided user name.
Database Server - Type the SAP Business One System database name or select the database from the drop-down. Data Hub automatically combines data from SAP Business One company databases for Configure Source and Select Data steps.
Caption Language - Select the language used to display user-friendly descriptions for elements stored by SAP Business One.
Click Test Connection to verify that Data Hub can connect to the SAP Business One database with the credentials provided.
Click Next to continue to the Configure Source step.
Database Password - Enter the password for the provided user name.
Configure source
To specify which entities (or companies) should be available for analysis in Data Hub:
Specify which entities to include for analysis by selecting or clearing the check box beside the entity names.
Select the Primary Company check box for the primary entity (if there is more than one entity).
Click Next to continue to the Select Data step.
Select data
To add tables from the SAP Business One database to the Data Model:
Select tables to be added as pipelines using the check box column.
Ensure the table Zap.StringMap is selected. This table is used to provide user-friendly descriptions for elements stored by SAP Business One.
To add the pipelines to the data model, there are three options:
Use the Add Pipelines to add tables as individual pipelines.
Use Add Pipeline as Union of Tables option from the Add Pipelines drop-down, to add a single pipeline created from a union of the selected tables.
Use the Finish button to add tables as individual pipelines and finish adding the SAP Business One data source.
Note
If all of the tables in the data source are selected, the pipeline will always perform a union on all tables from the data source, even if the table list changes. For example, if the data source contains only tables of sales for USA, UK, and Europe, selecting them all will union the three tables into a single pipeline. If a fourth table with sales for Australia is later added, it will automatically be included in the union for the pipeline.
If the Finish button was not used to add pipelines, click Finish to complete adding the SAP Business One data source.
Select data screen elements
Select Data screen contains the following elements:
Select All/Clear
If no table check boxes are currently selected: Select All can be used to select all of the tables in the source database.
If one or more table check boxes are selected: Clear (x) can be used to clear all the selected tables.
Show selected tables only - Hides all tables where the check box column is currently cleared (not selected).
Show tables without rows - When selected, this item shows all source tables, including tables that do not contain data.
Add Pipelines - Select Add Pipelinesto add all selected tables to the data model as individual pipelines. The Add Pipelines drop-down menu provides two options:
Add Pipeline as Union of Tables creates a single pipeline from the union of selected tables from this data source.
Add Pipelines is the same function as the Add Pipelines button.
Note
If all of the tables in the data source are selected, the pipeline will always perform a union on all tables from the data source, even if the table list changes. For example, if the data source contains only tables of sales for USA, UK, and Europe, selecting them all will union the three tables into a single pipeline. If a fourth table with sales for Australia is later added, it will automatically be included in the union for the pipeline.
Finish - Adds the selected tables as individual pipelines and finalizes adding the SAP Business One data source. Once the request has been processed, Data Hub opens the Data Model Overview.
The filter row - The first row of the Select Data table is the filter row. Use the fields to filter rows based on the column contents. To clear all filters entered, either delete the entered text or use the Clear filter icon at the end of the row.
The Select Data step table - A table showing the tables present in the data source. Described below.
Select data table columns
The SAP Business One Select Data table contains the following columns:
The check box column - Select to create a pipeline for this source table.
Table - The database table name.
Caption - The descriptive table name used in SAP Business One.
Relationships - Shows source tables that share relationships with the current table. These relationships join tables, allowing for easier report building.
HANA Service Package deployment
SAP Business One HANA data source can extract data from both HANA’s Service and Semantic Layers. The solution for SAP Business One HANA however, is only concerned with the Semantic Layer.
A package containing the necessary semantic views is provided to customers to import into their SAP Business One application. Once imported into SAP Business One, all views need to be exposed to the Semantic Layer in order for the ZAP data source to be able to extract data from them.
Steps
Download the Data Hub Solution Package for SAP Business One on the Connect page of Data Hub.
In SAP Business, 1 go to Modules > Administration > Setup > General > SAP HANA Model Management.
Click Import.
Choose the ZAP Solution Package.
Click the Expose Service Layer check box for every view.
Click Deploy.
Once this process is complete, the solution can be deployed in Data Hub using HANA as your source type.
Customization
If you need to customize the view in the package, please contact the Support Center.