Ansicht
Dokumentation

W_WLFA_0024 - Use Business Transaction Events

W_WLFA_0024 - Use Business Transaction Events

BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This section details how to interconnect additional components (for example, self-developed function modules or products by external software suppliers) with the SAP standard system.

Two types of interface are available:

  1. Publish & Subscribe interfaces (in the following referred to as "informing interface")

    These inform on whether certain events (for example, entry of a document) have taken place in the SAP standard application. The interfaces also make the data that is generated in this way available to the external software. The external software does not return any data to the SAP standard system.

    These events and data may cause further processing activities within the additional component, for example:
  • Start of a workflow

  • Creation or changes to additional data

  • Call for correspondence

  1. Process interfaces (in the following referred to as "process")

    You can use process interfaces to make business processes, that cannot be realized with the standard system, subject to other controlling applications. This means that process interfaces replace standard processes.

    You can specify the content of fields and specific reactions to processes individually. It is possible to interconnect various external developments with the SAP standard system. Additional developments are usually created using the ABAP/4 Development Workbench.

    Within Settlement Management, the process interface 00420001 is available for calculating the profit of a transaction in Settlement Management.

The SAP standard system contains sample function modules that you can copy to your namespace and then fill with instructions.

  1. Enter a product under Settings → Products → ...of a customer. Products usually have a large number of function modules that are called by various events within the standard system. A product may also be an external software component.

    If the product is located within an external system, enter an RFC destination here. If the product is located in the the same system, you do not need to make an entry.

    Important: Remember to activate the product after you have made the following settings.
  2. Identify which interfaces are available to you in the system.

    To do so, choose Environment → Info system (P/S) or Environment → Infosystem (Processes).

    Execute the program. Enter attribute type A. The program lists the interfaces available to you in the system. Remember the key of the interface you require.

    In addition, you can select:
  • According to specific SAP application components

  • According to specific events, by entering an interval

  • Which interfaces will be used in activated products

  • Which interfaces will be used within specific country/region versions or within a specific industry

  • Which interfaces will be used within a specific customer product

  1. Enter your self-developed function module. To do so, either choose Goto → Edit Modules from within the info system, or Settings → P/S Modules or Process Modules → ... of a customer in the SAP Business Framework.

    Enter the following information:
  • Interface key

  • Product you want to use

  • Function module belonging to this product

You can enter multiple function modules for a product.

Note: The function module must be located within your namespace. This means that it must start with the letter Z.

Leave fields Ctr and Appl. blank, except if you want to supplement or replace a specific country/region version or SAP industry solution, instead of the standard procedure.
  1. Fill the source text of your function module and activate the module.

    To do so, access the info system under Environment → Info system (P/S) or Environment → Infosystem (Processes), then execute the program. Then proceed as follows:
  • Double-click the interface you require. You can view the interface at this point by choosing Goto → Interface. Choose Back to return to the previous screen.

  • Set the cursor onto the relevant line and choose Goto → Sample Module. The system displays the sample function module supplied by SAP.

  • Copy this sample module and rename it as the function module entered in step 3 above.

  • Fill the source text of the blank function module.

  • Activate the function module.

  • Activate the product as detailed in step 1.

  1. Run the relevant program and test whether the function module call is working.

The other menu paths provide information on the addition components supplied by SAP, or on pre-installed software by external software suppliers.






BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 6731 Date: 20240523 Time: 175308     sap01-206 ( 91 ms )