Creating a Task (Exception)
In this step, you create a task as the recipient of the event inputErrorOccurred. You also activate the type linkage.
You must have completed the required steps in Defining and Using a Basic Type .
...
1. Choose SAP Menu → Tools → Idoc Interface/ALE → Development → IDoc → Inbound Processing → Business Workflow Development → Tasks/Task Groups → Copy (PFTC_COP). Select Standard Task as the task type and the ID 00008046 (inbound processing error in ORDERS01).
2.
Choose
and
enter a task abbreviation. When copying, select the package that you have
configured for yourself in the IDoc administration or the package that applies
to all other objects in your basic type definition.
3. Choose SAP Menu → Tools → Idoc Interface/ALE → Development → IDoc → Inbound Processing → Business Workflow Development → Tasks/Task Groups → Change (PFTC_CHG). The system copies your new task to the input field.
4.
Choose
. Replace the object type IDOCORDERS with your
new object type for the following tab pages:
· Basic Data
· Triggering Events (add new rows, delete old rows)
· Terminating Events (add new rows, delete old rows)
The object methods inputForeground for exception handling are copied from object type IDOCORDERS (tab page Basic Data).
5. Activate the type linkage for Triggering Event (green light). Save your entries.
6. Choose Additional Data → Agent Assignment → Maintain to assign possible agents to your task. By selecting Attributes, you can classify the task as a general task.
7. Save your entries.

Make the following entries for the example:
Task abbreviation |
TEST_ERROR |
Object type |
IDOCTEST |
Object method |
errorProcess |
Agent assignment |
General Task |