Show TOC

Object documentationEvent inputFinished

 

ALE triggers the event inputFinished when the inbound function module's import parameter MASS_PROCESSING is set to " ", that is, set to initial.

If the method InputForeground is used, the event will only be triggered if the IDoc passed to the inbound function module was successfully processed, that is, it has the status 53, was marked for deletion, or had already been processed and the user has marked the work item as being completed (via the IDoc menu).

If the method InputBackground is used, the event will always be triggered.

The parameter RESULT takes on the value of the inbound function module's export parameter WORKFLOW_RESULT. By convention the values 0, 1, 2 and 99999 should be used as with the event inputErrorOccurred.

The following table summarizes the values for which conventions exist. Other values can be used as needed, starting with 3.

Conventions for the Value of RESULT in the IDoc Container for Object Event inputFinished

Result

Meaning

0

IDoc successfully processed

1

IDoc not successfully processed; retry later

2

IDoc not successfully processed; application-specific workflow action should be started as next step

99997

Set by ALE: IDoc has already been processed; mark work item as completed

99998

Set by ALE: IDoc marked for deletion

99999

IDoc not successfully processed