Active Status Confirmation by Event

Use

If a status confirmation generates an event, this event can be processed further by a receiver. A single-step task or a workflow that the customer (or the application) has created can serve as a receiver for the event. Processing of status information then takes place within this receiver.

For further information on workflow, see the BC - SAP Business Workflow documentation.

Integration

The Business Communication Interface (BCI) triggers one of the following events, depending on the document sent, in the application object instance linked with the document:

  • ErrorSendStatusReached

  • WarningSendStatusReached

  • InfoSendStatusReached

The following parameters are transferred via the event container:

  • Document (key of the message object)

  • Recipient (key of an address object; the same key that is returned to the table RecipientsInfo via the Submit method).

  • Sender (key of an address object)

  • Date of status

  • Time of status

  • Status information as a T100 message, that is with MSGID, MSGNO, MSGV1, MSGV2, MSGV3, MSGV4

The macro SX_GETREPTYPE from the type group SX classifies the status using the message number in to the categories

  • Delivery Report

  • Non-Delivery Report

  • Read Notification

  • Non-Read Notification

  • Information.

Activities

If the application object supports the interface IFSENDSTAT, the event is then triggered by the BCI. Therefore, it does not have to be set from the application that the event is triggered.