Ansicht
Dokumentation

/SAPTRX/RESEND_MULTIPLE - Resend an Event Message to Multiple Event Handlers

/SAPTRX/RESEND_MULTIPLE - Resend an Event Message to Multiple Event Handlers

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module resends an event message to multiple event handlers on the basis of the control or info parameter data contained in the current event handler. You must ensure that the control or info parameter data that you want to resend to other event handlers is stored in the current event handler with the same tracking ID code set as the event handlers to which you want to resend the event message.

If you want to resend the event message with a different internal event code, specify this code in parameter-3. Note that the system takes all information about an event, for example, event time, from the current event handler.

This function module can only be used in rule activities.

  • Parameter-1: Parameter name (the tracking ID code set of the event handlers to which you want to resend the event message). Enter a value or a metadata tag.
  • Parameter-2: Enter the parameter type, choosing one of the following:
  • C - Control parameter

  • I - Info parameter

  • Parameter-3: Internal event code. Enter a value or a metadata tag.

Example

  • 0 - Event message was resent successfully
  • 2 - Control or info parameter data not available
  • 4 - One or more parameters are missing

Notes

The following is an example from the production malfunction visibility process. When a malfunction notification is created, the unexpected event Machine Breakdown is sent to all related manufacturing orders, that is, to multiple event handlers with event handler type Order. Related manufacturing order numbers are stored as control parameters in the Notification event handler.

In this example, the parameters would be:

Parameter-1: MANUF_NO (name of the control parameter and the tracking ID code set)

Parameter-2: C (control parameter)

Parameter-3: MACH_BREAK (internal event code that is sent to the manufacturing orders)

Further information





Parameters

E_RETURN_CODE
I_EAI

Exceptions

Function Group

TRX/SAPLTS_FUNCS

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2614 Date: 20240427 Time: 042353     sap01-206 ( 44 ms )