Defining the Standard Task "Create SAPscript Text" 

  1. Choose Tools ® Business Workflow ® Development ® Tasks/Task groups ® Create.
  2. Select Standard task in the list field Task and then .
  3. Enter the following data:
  4. Abbreviation: Any abbreviation from your namespace

    Description: Any task description

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

    Object type: STD_TEXT

    Method: CREATE

  5. Select .
  6. Agent assignment

  7. Choose Additional data ® Agent assignment ® Maintain to specify the possible agents for this single-step task.
  8. Select .

Result

You have defined a single-step task that enables a SAPscript 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 .

This text is displayed in another single-step task Display standard text. Therefore this single-step task should really only be used as a step in a workflow definition.