Creation of Events via Business Transaction Events 

Use

G/L accounting and accounts receivable/payable accounting provide publish and subscribe interfaces, which inform other application components or external interested parties (partners, customers) that particular events (such as document entered) have taken place in financial accounting. The data this creates can be used by the interested parties for their own subsequent processing. But no data can be returned to G/L accounting or accounts receivable/payable accounting.

SAP Business Workflow uses this interface to create events of object types defined in the Business Object Repository from its events. These events can be used as triggering events of a workflow, for example.

Features

When a Business Transaction Event occurs the system calls a function module which creates the BOR event. To do this, this function module "converts" the data from the Business Transaction Event into the format suitable for the event and creates the appropriate event for the Business Transaction Event. The function module hence has a parameter interface and implementation which are appropriate for the Business Transaction Event.

For every Business Transaction Event that can be linked to an event, SAP provides a suitable function module with appropriate interface and implementation. The following relationships are currently possible:

Business Transaction Event

Event

00001030

POST DOCUMENT: Update standard data

BKPF

Accounting document

CREATED

Document created

00001040

REVERSE CLEARING: After standard update

BKPF

Accounting document

CLEARINGREVERSED

Clearing reversed

00001050

POST DOCUMENT: FI/CO interface

BKPF

Accounting document

CREATED

Document created

00001110

CHANGE DOCUMENT: Save standard data

BKPF

Accounting document

CHANGED

Document changed

00001320

CUSTOMER MASTER DATA: Save

BUS3007

Customer account

CREATED

Account opened

00001420

VENDOR MASTER DATA: Save

BUS3008

Vendor account

CREATED

Account opened

00001520

CREDIT MANAGEMENT: Save

BUS1010

Customer credit account

CREATED

Account opened

Activities

The Business Transaction Events and the events are already defined. You may create the linkage between them. You can use a wizard for event creation.

Finally, you must set the status of the event whose creation you have just configured to released.

To do this, call the Business Object Builder and change the release status of the event for the relevant object type.