Академический Документы
Профессиональный Документы
Культура Документы
Architecture
Job
Person
Org Unit
Role
Task
reference
Process
Process Level
Level
WF Definition
Trigger
Business
Business
Object
Object
Level
Level
Attributes
Events
Object Definition
Methods
Workflow Definition
Architecture
Object Types
Object types are defined and implemented by specifying their
components in the Business Object Repository(BOR)
Basic data
Key fields
Methods (operations on objects) with parameters, result
Attributes (object properties) and exceptions
Events with parameters
Spreadsheets
Objects
Objects are the specific instances of an object type,
which have been assigned values.
An appropriate object type must be defined before an
object is first used.
Objects refer to actual things.
Object types are the abstract and general descriptions
(definitions) of the components of objects.
KUNNR
(Key)
123
Customer Object
NAME
Unique Customer
Business Objects
Application Area 2
SAP Object 1
Customer Object 2
SAP Object 3 (supertype)
SAP Object 3a (subtype)
Customer Object 3a1 (subtype)
Interfaces
Key fields
Attributes
Synchronous Method
Methods
Event
s
Asynchronous Method
Key Fields
Attributes
The attributes of the object are any other
non-key data related to the object. Again, this
is defined via the data dictionary. If so, SAP
will generate the code necessary to retrieve
the data.
Attributes can also be freely defined by
using the Virtual option. In this case, the
developer must write the code in order to
retrieve the attribute's value.
Interfaces
Interfaces are predefined components inherited by
the object. This is SAP's mechanism by which
Virtual functions may be implemented.
The 'Interface' object has a number of methods.
These methods are then inherited by the Object.
In order to use the methods, the Interface object
must be extended and code added to the method
in order to handle the particular object.
Events
Events generally occur within a particular
context. In this case, related to the Object under
which it is defined. An event must be defined in
order to be published (External event). In order
to publish the event, the object's key must be
specified in order to define the context. The
event may also carry with it other data
components. This is done by defining the event's
parameters.
Triggering Mechanisms
Events (publish and subscribe mechanism)
Majority of workflow are triggered by events. A developer will
register a workflow for a particular event. When this event occurs (ie.
Sales Order.Created, Parked Document Deleted) the subscribed
workflow will be triggered (ignoring Check FMs and starting
conditions)
Status Management
Change Documents
Manual Triggering
Various Function Modules
Select X .
Transaction
Call transaction
XYZ
Function
module
API Function
Call function
Call API function
Report
Submit report
Dialog module
Call dialog
ABC
Ac
ti
on
pe
r
ob for
je me
ct d
o
an
Methods
Methods define which functions an object can
do. Methods are coded. They may call any
existing functionality in SAP. It has Import, Export,
Table, Exception and Results parameters.
A method can be viewed as a Remote Function
Module (RFC), although it actually is executed as
a tRFC (Transactional RFC) or aRFC
(Asynchronous RFC).
Method Parameters,
Results
and Exceptions
R
Import
Parameters
METHOD
lt
u
es
Export
Parameters
io
pt
ce s
Ex n
Synchronous/Asynchronous
Methods
Asynchronous Method
Does not automatically
return back to workflow
when processed
Synchronous
Method
Modeled
Not accessible at
runtime.
Implemented
Only in test or
internal use, possibly unstable.
Released
Released for use by
the customer.
Obsolete
The functionality has been replaced. The old
functionality is still supported for two releases.
Delegation
Customers use their own object extensions with the tasks,
events, etc. supplied by SAP
Without having to redefine existing tasks, you can use standard
objects with customer extensions