Processing SAPscript Texts as a Step in the Workflow 
SAPscript standard texts can be entered and displayed at runtime as part of a workflow.
The object type STD_TEXT (SAPscript standard text) is defined in the Business Object Repository with methods for creating, editing, and printing.
If you want to enter a text as a step in a workflow at runtime and this text is to be read by another employee in one of the subsequent steps, the following activities are required:
Define a single-step task for entering a text. The user who executes the work item in question at runtime has to enter a text. For more information, see Defining the Standard Task "Create SAPscript Text".
Define a single-step task for displaying the text. For more information, see Defining the Standard Task "Display SAPscript Text".
Include both steps into a workflow definition. For more information, see Defining the Workflow (Section) "Process SAPscript Text".
At runtime the recipient of the work item enters a SAPscript text in the first step. Text variables can be used to reference values from the task container of this single-step task. Knowledge of the task container is required to use this variable replacement option.
This text is displayed to the user who executes the work item in the second step.
The following methods of the object type STD_TEXT enable users to print the standard texts, and can be used in single-step tasks:
ReplaceAndPrintBatch (Print text with symbol replacement in background)
The printer and print attributes must be passed as parameters.
ReplaceAndPrint (Replace text symbols and print text)