In this step, you create a task as the recipient of the Event inputErrorOccurred. In addition, you must also activate the type linkage.
You must have completed the required steps in Defining and Using a Basic Type .
...
1. Wählen Sie SAP Menü ® Werkzeuge ® IDoc-Schnittstelle/ALE ® Entwicklung ® IDoc ® Eingangsverarbeitung ® Business Workflow -Entwicklung ® Aufgaben/Aufgabengruppen ® Kopieren (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 which applies to all other objects in your basic type definition.
3. Wählen Sie SAP Menü ®Werkzeuge ® IDoc-Schnittstelle/ALE ® Entwicklung ® IDoc ® Eingangsverarbeitung ® Business Workflow -Entwicklung ® Aufgaben/Aufgabengruppen ® Ändern (PFTC_CHG). The system transfers 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 (basic data tab page).
5. Activate the type linkage for triggering event (green light).Save your entries.
6. Select 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 |