Documentos de Académico
Documentos de Profesional
Documentos de Cultura
10.05.2012
Intro
Wiring is a directed connection between two different
UIBBs
Data is exchanged coming from a source sent to a target
A Connection is called a wire and through configuration the
target UIBB is connected to the source UIBB with the help
of a connector class
Furthermore a wire defines an outport-type and an
outport-identification
Outport-type: The data is sent as collection, lead-selection or
selection
Feeder Model
All UIBBs with own feeder-class may be used
directly if they implement the feeder-model<<interface>>
interface
IF_FPM_FEEDER_MODEL
IF_FPM_UIBB_MODEL
+ GET_MODEL_API( )
+ GET_INPORT_KEY()
+ GET_NAMESPACE()
+ GET_OUTPORT_DATA()
+ GET_OUTPORTS()
+ SET_CONNECTOR()
Implements WDCI
for Feeder-Model
UIBB
10.05.2012
Connector Class
The connector class is responsible for the
transport of the data between source and
target
CONNECTOR
Class
implements
<<interface>>
IF_FPM_CONNECTOR
<<interface>>
IF_FPM_CONNECTOR_DEF
+ GET_PARAMETER_LIST()
+ GET_PARAMETER_VALUE_SET()
+ INITIALIZE()
+ SET_INPUT()
10.05.2012
<<interface>>
IF_FPM_CONNECTOR_RUN
+ CREATE_ENTITY()
+ GET_OUTPUT()
+ IS_CREATE_ALLOWED()
4
Transaction
You may define a separate class for Transaction
Handling
It is assigned through config to a wire
Transaction
Class
<<interface>>
IF_FPM_WIRE_MODEL_TRANSACTION
+ AFTER_FLUSH()
+ AFTER_NEEDS_CONFIRMATION()
+ AFTER_PROCESS_BEFORE_OUTPUT()
+ AFTER_PROcESS_EVENT()
+ IS_DIRTY()
+ START()
<<feeder class>>
ZCL_USER_LIST
Example
Access data
model
Select one
user
<<model>>
User
Management
<<GUIBB LIST>>
View of all users in system
Wiring
<<GUIBB FORM>>
Detail for one user
<<feeder class>>
ZCL_USER_DETAILS
10.05.2012
<<feeder class>>
ZCL_USER_DETAILS
<<interface>>
IF_FPM_FEEDER_MODEL
<<interface>>
IF_FPM_GUIBB_LIST
<<feeder class>>
ZCL_USER_LIST
Use CLASS_CONSTRUCTOR
to fill Table of users
<<data container class>>
ZCL_DATA_CONTAINER_WIRE
Holds the data for wire communication:
Dr. Roland Schwaiger / www.facet.at
Just Attribute Key for
user
10.05.2012
Class Diagram
<<feeder class LIST>>
ZCL_USER_LIST
+ GO_DATA_CONTAINER_WIRE
+ GET_OUTPORTS()
+ GET_OUTPORT_DATA()
+ GET_NAMESPACE()
+ GET_DATA()
+ GET_DEFINITION()
+ INITIALIZE()
Sequence without
Wire
10
Configure
OIF
GUIBB LIST
GUIBB FORM
10.05.2012
11
ZCL_WIRE_CONNECTOR
10.05.2012
12
ZCL_WIRE_CONNECTOR
10.05.2012
13
ZCL_WIRE_CONNECTOR
10.05.2012
14
ZCL_WIRE_CONNECTOR
10.05.2012
15
ZCL_WIRE_CONNECTOR
10.05.2012
16
ZCL_DATA_CONTAINER_WIRE
10.05.2012
17
ZCL_USER_LIST
10.05.2012
18
ZCL_USER_LIST
10.05.2012
19
ZCL_USER_LIST
10.05.2012
20
ZCL_USER_LIST
10.05.2012
21
ZCL_USER_LIST
10.05.2012
22
ZCL_USER_LIST
10.05.2012
23
ZCL_USER_LIST
10.05.2012
24
ZCL_USER_LIST
10.05.2012
25
ZCL_USER_LIST
10.05.2012
26
ZCL_USER_LIST
10.05.2012
27
ZCL_USER_LIST
(cont.)
10.05.2012
28
ZCL_USER_DETAILS
10.05.2012
29
ZCL_USER_DETAILS
10.05.2012
30
ZCL_USER_DETAILS
10.05.2012
31
ZCL_USER_DETAILS
10.05.2012
32
ZCL_USER_DETAILS
10.05.2012
33
ZCL_USER_DETAILS
10.05.2012
34
10.05.2012
35
Application
Configuration
10.05.2012
36
App + Component
Configuration
10.05.2012
37
10.05.2012
38
Wire Config
10.05.2012
39
Result
10.05.2012
40