Show TOC

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

Use

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 Start of the navigation path SAP Menu Next navigation step Tools Next navigation step IDoc Interface/ALE Next navigation step Development Next navigation step IDoc Next navigation step Inbound Processing Next navigation step Business Workflow Development Next navigation step Tasks/Task Groups Next navigation step Copy (PFTC_COP) End of the navigation path. 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 Start of the navigation path SAP Menu Next navigation step Tools Next navigation step IDoc Interface/ALE Next navigation step Development Next navigation step IDoc Next navigation step Inbound Processing Next navigation step Business Workflow Development Next navigation step Tasks/Task Groups Next navigation step Change (PFTC_CHG) End of the navigation path. 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 Start of the navigation path Additional Data Next navigation step Agent Assignment Next navigation step Maintain End of the navigation path to assign possible agents to your task. By selecting Attributes, you can classify the task

    as a general task.

  5. Save your entries.

Example

Make the following entries for the example:

Task abbreviation

TEST_ERROR

Object type

IDOCTEST

Object method

errorProcess

Agent assignment

General Task