SDK Introduction
SDK Introduction
At the conclusion of this unit, you will be able to describe and explain:
The SAP Business One Software Development Kit
Data Interface API
User Interface API
Client Server
3 3 DI Server
Java Co
Data
Interface
API
Server
License
Service
1 2 UDO 4 6 6
Introduction
Topic 1: Introducing SAP Business One SDK
Topic 2: Introducing Data Interface API
Topic 3: Introducing User Interface API
Client Server
DI Server
Java Co
Data
Interface
API
Server
License
Service
?
UDO
“SDK” Installation
Development package for partners – includes SDK help, samples, tools
ms
u
For
io n
s s
cu
s
o Di
n t
o
tr a ti
g is
r e
r e e
F
Q
FA s: et c
d e Q
c lu A
in s, F
a – cle
A r a rt i
e
p er ols,
e lo to
v o
De ks t
Lin
Introduction
Topic 1: Introducing SAP Business One SDK
Topic 2: Introducing Data Interface API
Topic 3: Introducing User Interface API
Provides objects and methods (add, update etc.) to work on data level – installing the SAP
Business One client application is not required
Provides access to business objects (e.g. master data and transactional data) and cross
functionalities (services)
Performs the same checks as the SAP Business One client application
Links existing third-party solutions “as-is”
Use COM capable development tools (e.g. Microsoft Visual Studio)
DI API
(or JCo
UDO or
DI Server)
■ Data Import / Export scenarios – which are not covered through SAP tools – and where the
capabilities of the SAP Business One application are not sufficient.
Depending on the architecture of the overall solution you might consider to use DI Server
though.
Handling data in an Add-On that uses UI API (see next unit) beyond UI API‘s capabilities.
Essentially writing data to the SAP Business One database by default requires usage of DI
API
Even though other techniques may be faster when it comes to reading data from the
database – usage of DI API is often a good choice regarding usability (no need to request
additional credentials etc) and data coherence (imagine that the required data might be
stored in various tables).
Limitations:
Meta data operations not supported
Different support for transaction handling than plain DI API
Connect a Form to the Object; use Find, Add, and Update modes and other predefined
services.
Optionally the predefined behavior of the services can be modified and extended
through implementing a class that inherits (C++) from a business object base class in a
DLL and overriding virtual methods.
Add
Find Register the
Remove object for
….. services
Introduction
Topic 1: Introducing SAP Business One SDK
Topic 2: Introducing Data Interface API
Topic 3: Introducing User Interface API
Provides objects and methods to access screen objects of the User Interface
Provides access to internal system events of the user interface
Provides ability to modify or add menus, windows, or fields
Provides one integrated user interface
Use COM capable development tools (Microsoft Visual …)
Data
UDO Interface
API
…including adding own GUI elements into SAP Business One standard forms
…including adding own forms and plugging the corresponding data behind
Manipulate SAP Business One standard functionality (when standard options do not
apply to the customer‘s processes (or the branch the customer works in))
…including hiding SAP Business One GUI elements