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.
Creating a Task by Copying
Choose
. Select Standard Task as the task type and the ID 00008046 (inbound processing error in ORDERS01).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.
Changing a New Task
Choose
. The system copies your new task to the input field.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 method inputForeground for exception handling is copied from object type IDOCORDERS ( Basic Data tab).
Activate the type linkage for Triggering Event (green light). Save your entries.
Choose possible agents to your task. By selecting Attributes, you can classify the task
to assignas a general task.
Save your entries.
Make the following entries for the example:
Task abbreviation |
TEST_ERROR |
Object type |
IDOCTEST |
Object method |
errorProcess |
Agent assignment |
General Task |