Defining the Standard Task "Create SAPscript Text"

Procedure

  1. Choose Start of the navigation pathTools Next navigation step Business Workflow Next navigation step Development Next navigation step Tasks/Task Groups Next navigation step CreateEnd of the navigation path.

  2. Select Standard task in the list field Task and then .

  3. Enter the following data:

    • Abbreviation: Any abbreviation from your namespace

    • Name: Any task description

    • Work item text: Any text to identify the work item in the Business Workplace

    • Object Type: STD_TEXT

    • Method: CREATE

  4. Choose .

Agent Assignment

  1. Choose Start of the navigation pathAdditional Data Next navigation step Agent Assignment Next navigation step MaintainEnd of the navigation path to specify the possible agents for this single-step task.

  2. Choose .

Result

You have defined a single-step task that enables a SAP script text to be created when it is executed.

This creates an object of the type STD_TEXT (SAPscript standard text). The reference to this object is stored in the container element _WI_Object_ID of the task container after execution of the method.

If you use this task as an activity in a workflow definition, you must pass this reference in the binding from the task container to the workflow container. To do this you require a container element in the workflow container with a data type reference to the object type STD_TEXT.