Show TOC

Business Transaction Events

This activity describes how you can connect additional components (such as in the form of function modules developed yourself or a product from an external software provider) to the standard R/3 System.

There are two types of interface available in the General Ledger Accounting (FI-GL), Accounts Receivable and Accounts Payable (FI-AR/FI-AP), and Sales and Distribution (SD) components for this:

1. Publish & Subscribe interfaces (also called "informing interfaces" in the following)
These should inform you about particular events (such as a document being entered) in the SAP standard application and make the data generated as a result available to the external software. The external software does not return any data to the standard R/3 System. Examples of such events in the R/3 System are:
Additional processing can be caused in the additional component on the basis of these events and data:
2. Process interfaces (also referred to as "process" in the following)
Process interfaces are used to submit business processes to a different control which cannot be realized with the standard system, that is process interfaces replace standard processes.
Here you can structure determination of individual field contents or of specific reactions to process flows individually. It is possible to connect different external developments to the standard R/3 System. The additional developments are generally carried out using the ABAP/4 Development Workbench.
This way you can, for example, influence the control of payment transactions. Selection of payment method, house bank and partner bank can be made using the payment data (currency, amount, and payee) according to a selection logic which you have defined.

Standard Settings

Sample modules are delivered in the standard R/3 System which you can copy into your name range and fill them with statements there.

Activities

1. Enter a product using "Settings -> Customer's products". There are generally a large number of function modules belonging to a product which can be called by different program events from within the standard R/3 System. A product can also be an external software component.
If the product is in an external system, enter an RFC destination here. If the product is in the same system, you do not have to enter anything.
Important: Do not forget to activate the product after making the following settings.
2. Establish the interfaces with which the R/3 System provides you.
To do this, choose Environment -> Info system (P/S) or Environment -> Info system (Processes).
Execute the program. You should enter "A" as the attribute type. You see the respective interfaces with which the R/3 System provides you. Note the key of the interface which you require.
You can also select:
3. Enter the function module which you have developed yourself. To do this, choose either Goto -> Edit modules within the info system or Settings -> P/S modules or Process modules -> Customer's in the "SAP Business Framework" menu.
Make the following entries:
You can also enter several function modules for a product.
Caution: The function module must be within your name range, that is must begin with the letter Z.
You leave the Ctr and Appl. fields blank unless you want a particular country version or a particular SAP industry-specific component to be enhanced or replaced instead of the standard process flow.
4. Fill the source text of your function module and activate it.
To do this, go again via Environment -> Info system (P/S) or Environment -> Info system (Processes) into the information system and execute the program. Then proceed as follows:
5. Run the R/3 program affected and test whether calling your function module works.

Further Notes

The other menu paths are only used for information about additional components delivered by SAP or about software already installed by external software providers.