Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate with SAP B1 using DI Server integration?

We are trying to integrate SAP business one to our application using Java

Where can we find more information on it any Documents, API , tutorial, links, how to start/do it pointer towards the right direction will be appreciated.

SAP's Developer portal if more focused on SAP HANA - http://go.sap.com/developer.html?original_fqdn=developers.sap.com

We are considering to use DI server to integrate from the below list? We cannot use SAP HANA platform.

-DI API, -DI Server, -B1WS, -SAP Business One Service Layer

Thank you for your help and time

like image 773
Fossil Avatar asked Sep 29 '16 21:09

Fossil


People also ask

What is DI server in SAP b1?

Data Interface Server (DI Server) is a Component Object Model (COM) service that runs on a server that allows multiple clients to access SAP Business One company database. It uses SOAP messages for server architecture to improve performance.

What is DI server in HANA?

SAP Business One - Data Interface Server (DI Server) is a Component Object Model (COM) service running on a server that enables multiple clients to access and manipulate SAP Business One company database, using SOAP�messages.


3 Answers

The Business One installer has an option to install an SDK component. This contains a CHM format help file containing information on DI-API, DI-Server and UI-API (but not Service Layer which is for Hana version only) as well as database schema. Also in the SDK are example projects in VB and C#.

If you are using DI-Server, calling the GetBusinessObjectXmlSchema method will get you the schema for individual object types such as business partners.

DI-Server is more lightweight but has less functionality than DI-API. It is more suited to transactional processing such as importing orders from a website.

If you do need to use Service Layer, it's functions are based on DI-API and there should be a lot of concepts that apply to both.

like image 76
Daz Avatar answered Oct 07 '22 07:10

Daz


B1WS is not stable and has lots of bugs. DI Server is difficult to be integrated with. You could use DI API to do the integration but you have to implement the integration layer with .net platform. Since you need to make the communication work between SAP B1 and your JAVA application, here is another option which should be a feasible solution. Please check the following Python flask RESTful application which is top on SAP B1 DI to enable the RESTful capability for integration with SAP B1.

https://github.com/ideabosque/SAP-B1-RESTful

Here is the detail about how it could be used to integrate between eCommerce and SAP B1. http://ideabosque.postach.io/post/how-to-use-sap-b1-restful-to-integrate-with-ecommerce-platforms

What is your workflow to integrate between SAP B1 and the JAVA application?

Bibo W.

like image 43
Bibo W. Avatar answered Oct 07 '22 07:10

Bibo W.


Di_server is oriented mainly to web products, since it allows multiple connections with one license per server, while di-api is more oriented to desktop applications and uses licenses per user. This means that with di-server you have a license and can connect multiple users simultaneously, while with di-api you have a license you can only connect one user at a time. Of course you can use a license and manage connection times to users, connected to one and making others wait. Or if you have more di-api licenses connect more users as many licenses as you have. The cost of a di-server license is high, but it is offset against the amount of licenses you would have to buy for di-api by users you want to connect to, if you need them all to be connected to SAP BO.

like image 1
user8166481 Avatar answered Oct 07 '22 08:10

user8166481