Show TOC

Procedure documentationCreating a Task (Exception) Locate this document in the navigation structure

 

In this step, you create a task as the recipient of the event inputErrorOccurred. You also activate the type linkage.

Prerequisites

You must have completed the required steps in Defining and Using a Basic Type.

Procedure

Creating a Task by Copying
  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.

Changing a New Task
  1. 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.

  2. 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).

  3. Activate the type linkage for Triggering Event (green light). Save your entries.

  4. 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.

  5. Save your entries.

Example Example

Make the following entries for the example:

Task abbreviation

TEST_ERROR

Object type

IDOCTEST

Object method

errorProcess

Agent assignment

General Task

End of the example.