Professional Documents
Culture Documents
Basis Ii BIX Guide: Coca-Cola Computer Service G.m.b.H. Vienna, Austria
Basis Ii BIX Guide: Coca-Cola Computer Service G.m.b.H. Vienna, Austria
Basis Ii BIX Guide: Coca-Cola Computer Service G.m.b.H. Vienna, Austria
BIX Guide
PTF 53.5
Contents
Chapter 1
Chapter 2
BIX Guide
PTF 53.5
iv
PTF 53.5
BIX Guide
CHAPTER
Introduction
In this chapter
See Page
BIX Guide
PTF 53.5
1-2
Interface Architecture
Purpose of the
architecture
BIX
Business
objects
BIX is "business oriented" rather than database record oriented. That is,
a BIX entity is a "business object" data related to a specific business
operation that is shared between BASIS and the foreign system, such as
delivery route creation and dispatching of loads.
When bottlers request an interface between BASIS and a foreign system,
the BASIS BIX development group analyzes the requirements for data
exchange. If a suitable BIX business object does not already exist, a new
one is created. BASIS also provides the system functions for mapping
the contents of business objects between the formats required by BASIS
and the foreign system for data import/export. These system functions
are called "adapters", and they operate on both sides of data exchange
a foreign system adapter and a BASIS adapter.
The advantages of business objects are:
A business object contains only information relevant to data
exchange between BASIS and a foreign system, rather than the
contents of entire BASIS database records. That is, a business object
is a form of data presentation that is customized to the interface
between BASIS and a foreign system.
When one system changes (a new release), relevant business
objects or their contents can be changed (added, deleted,
rearranged).
Because a business object is not represented as database file with a
predefined layout, when business objects change, BASIS does not
have to be recompiled.
PTF 53.5
BIX Guide
1-3
Tags
The data in a business object is stored as "tags" data items that may be
directly exported to or imported from a foreign system or first be altered
by a specific mapping program.
Mapping and
mapping sets
It is highly unlikely that all of the data exchanged between BASIS and a
foreign system can be mapped directly between one system and the
other. The BASIS interface architecture provides specific mapping
programs to accomplish this data modification, which is done at tag level.
A mapping set consists of one or more related business objects that are
to be transmitted between systems as part of the same operation.
For example, for data exchange with some foreign systems the BASIS
interface architecture can use the functiongroup feature of the BASIS XQ
Task Scheduler to drive the data exchange, via a shared folder on the
BASIS iSeries. The architecture may include a polling program, called the
import controller, to detect when the third-party system has put data to
send to BASIS into the shared folder.
For other foreign systems, a different approach may be required in
developing the adapters, depending on the mechanism of foreign system
data exchange. The important point is that with BIX the interface
architecture is flexible.
Tag mapping
BIX Guide
PTF 53.5
1-4
Structure
Transport tool
Foreign system
adapter
Foreign
system
Vendor X
Release X.X
Selection
Mapping
Conversion
Formatting
Validation
Sorting
BIX
BASIS
Information
Exchange
format
System/vendor
independent
Release independent
BASIS adapter
Selection
Mapping
Conversion
Formatting
Validation
BASIS database
files
The BASIS interface architecture provides all the features shown in the
diagram that have a light gray background.
PTF 53.5
BIX Guide
1-5
Data exchange
process
The following diagram summarizes the data exchange process for the
interface between BASIS and a foreign system when data exchange is
via a shared folder on the iSeries:
iSeries
Import
controller
poll
Text file in
iSeries
shared folder
BIX
BX10
Map import data to BASIS
database files
Foreign
system
BX11
Mapping
definitions
BASIS database
files
Text file in
iSeries
shared folder
BX03
BX04
Business
objects / tags
Export and
import
functiongroups
BIX Guide
PTF 53.5
1-6
PTF 53.5
BIX Guide
CHAPTER
Introduction
This chapter describes how BIX data is stored in BASIS and how data
mapping between BASIS and a foreign system is achieved.
In this chapter
See Page
BIX Guide
PTF 53.5
2-2
BIX files
The following diagram shows how the BIX files are organized and some
of the important fields in their records :
To / from foreign system
BX10 Mapping
Definition file
Application
Mapping
set name
Business
object
sequence
number
Business
object
identifier
Mapping
direction
indicator
BX11 Mapping
Definition Detail file
Application
Mapping
set name
Business
object
sequence
number
Tag
sequence
Tag name
Mapping
program
BASIS
company
code
Interface
batch
Interface
batch
sequence
number
Tag name
Tag value
BASIS
company
code
Interface
batch
Interface
batch
sequence
number
Business
object
identifier
BASIS
company
code
Interface
batch
Source /
target
system
Processing
status
PTF 53.5
BIX Guide
2-3
Mapping sets
and mapping
definitions
Each BIX business object belongs to a mapping set, and a mapping set
consists of one or more business objects. More than one instance of a
business object may be specified for a particular mapping set.
Mapping sets are defined in the BX10 Mapping Definition file.
Mapping
programs
Business object
sequence
Tag sequence
BIX Guide
PTF 53.5
2-4
Introduction
Mapping sets
This screen from the Dispatching application lists the mapping sets and
the business objects that compose them. It represents the contents of the
BX10 Mapping Definitions file. You can work with the details of each
business object using View Details action code to open the mapping
definition details screen. Additionally you can copy each business object
using the Copy action code.
MC
BASIS Mapping Def. Overview
Standard Layout
1=Maintain
2=View
5=Exit
6=Help
Select action bar or object with action code, press ENTER
1=View Details
2=Update
3=Copy
5=Display
App.
Set
Bus.
Set name
ver. obj.
..............................
...BI CBIMPORT
00001 00070
...BR RSHCALRTEIMP 00001 00010
...BR RSHCALRTEIMP 00001 00020
...BR RSHDAYORDEXP 00001 00010
...BR RSHDAYORDEXP 00001 00020
...BR RSHDAYORDEXP 00001 00030
...BR RSHDAYORDIMP 00001 00020
...BR RSHDAYORDIMP 00001 00030
...BR RSHDAYORDIMP 00001 00040
...BR RSHDAYORDIMP 00001 00050
...BR RSHDAYORDIMP 00001 00060
F1=Help
ROLL
PTF 53.5
F3=Exit
Bus. object
identifer
BI9007
CUSSGIUPL
CALSGIUPL
ORDHDR
ORDARTDTL
ORDMSG
LODHDR
LODASGVEH
LODASGVEH
LODASGVEH
LODASGPRN
F5=Refresh
Description
52 00 BXP001/S01
01.07.05
4=Delete
Dir
BIX Guide
2-5
Mapping
definition
details
MC
BASIS Mapping Def. Detail
1=Maintain
2=View
5=Exit
Standard View 1
6=Help
52 00 BXP001/S02
F1=Help
F14=View 2
Implications of
changing
mapping
definition
details
BIX Guide
01.07.05
F3=Exit
ROLL
000
000
000
000
000
000
001
000
L
T
T
T
T
T
M
T
&&DECSGN
PRCFUN
ACCOUNT
**CAC
**TRDCHN
**SUBTRDCHN
RSHCOD
NAME
F5=Refresh
000
001
002
001
002
005
015
016
000
001
013
001
003
003
001
024
F6=Create
E
R
R
M
M
M
R
R
A
A
A
A
A
A
A
0 A.
0
0
0
0
0
0
0
F10=Action
GET RSHCOD
More...
F12=Cancel
When you use the BASIS user interface to make changes to mapping
definition details, it is your responsibility to see that these changes do not
disrupt the integrity of the data exchange process between BASIS and
the foreign system. You will almost certainly have to make matching
changes on both sides of the interface that is, to BIX on the BASIS side
and to foreign system data files.
PTF 53.5
2-6
Modifying tags
WB
1=View
This screen shows the mapping definition details for the ADRLIN1 tag in
the CUSGEN business object. Using this screen, you can change tag
values.
BASIS
Mapping Definition Data
5=Exit
6=Help
App
BR
SetN. RSHOUTEXP
SetV. 00001
Req
Key
Key
Key
Key
Key
Req
Fld#
005
010
015
020
030
035
045
Req 055
060
065
070
075
080
Type
Text
Text
Number
Number
Number
Text
Number
Text
Text
Text
Text
Number
Number
F1=Help
F12=Cancel
PTF 53.5
Standard layout
04/12/01
BusSq 00010
TagSq 0000080
Lgth
2
12
5
5
7
12
4
1
1
5
12
4
4
F3=Exit
ROLL
Field
APP
SETNAM
SETVRS
BUSOBJSEQ
TAGSEQ
TAG
TAGPOS
TAGVALIND
MAPLTRTYP
MAPLTR
FOSFLDNAM
FOSPOS
FOSLEN
Value
BR
RSHOUTEXP
00001
00010
0000080
ADRLIN1
Code Int.
> T
>
Tag
NAME
0010
0030
F4=Prompt(>) F5=Refresh
02 BXMFM/S04
F7=CheckAll
More...
F10=Action
BIX Guide