The init() method calls the ABAP function module /CWLD/RFC_LOGON to validate that the destination SAP application is running and that the RFC library can be used to execute ABAP function modules. The /CWLD/RFC_LOGON function module is also called to process all of the in-progress events. All events in the event table that are marked with a status of event retrieved (status marked as R in the event table) will be processed based on the InDoubtEvents Connector Property. The default property value is Ignore. When event distribution is being used only the events belonging to that particular connector and server with a status of 'R' will be handled according to the connector property. If event distribution is not being used then all events with a status of 'R' will be handled according to the connector property. If the connector property equals reprocess, these events will be changed to a status of queued (marked as Q in the event table). When the connector polls for events, all events of 'Q' status will be processed, using /CWLD/RFC_E VENT_REQUEST function module. If the connector property is equal to FailOnStartUp, a fatal error is logged within the SAP log and the local log file and the connector will shut down. An email is also sent notifying the user a fatal error has occurred. If the connector property is equal to LogError an error is logged within the SAP log and the local log file. The in-progress events are not processed and the connector does not shut down. If the connector property is equal to Ignore, the in-progress events are ignored and the connector polls as if there weren't any in-progress events in the event table.
If the function module does not execute successfully, the connector terminates.