Show TOC

 1.2.8: Defining Process Form W/F Step (HR Administrator)

Use

In this lesson, you make the necessary settings for the new workflow step for processing the relocation form in your workflow template ZTWS.

Note Note

The procedure described below shows you an example of how to determine the workflow initiator as the processor and how to determine constants.

Step 3 shows you how to determine the processor.

Step 5 shows how you access the input helps for constants. As an alternative to this procedure, you can also directly enter the value for the constant instead of using the input help.

End of the note.

Procedure

  1. Double-click the new Process Form icon in the Graphical Model area to display the Process Form workflow step details.

  2. Choose the Control tab.Overwrite the system-provided Step Name with the following text: Edit Relocation Form (Administrator)

  3. Define the agent determination for the step. Enter the workflow initiator as the processor so that you, as the processor that started the workflow, can also run the Process Form workflow step.

    1. In the Agents area, choose Workflow Initiator (Expression) as Agent type. For this processor type, the system automatically defines the entry &_WF_INITIATOR& .

  4. Choose Transfer and To Graphic .

  5. Choose Basic Data . In the Description field, re-enter Relocation . Save your entries.

  6. Determine the data flow between the workflow container and the workflow step container.To do this, choose the Binding (Exists) pushbutton. The Change Binding for Step dialog box appears. In the Start of the navigation path Binding ‘Relocation’ Workflow Next navigation step Step’Process Form’ End of the navigation path area, in the ‘Relocation’ Workflow column, make the following settings:

    Note Note

    The Start of the navigation path Binding ‘Relocation’ Workflow Next navigation step Step ’Process Form’ End of the navigation path area of this dialog box shows the automatically generated definitions for data flow between the workflow container and the workflow step container (in both directions). The system automatically generated these definitions when you included the Process Form task in your workflow template.

    1. Ensure that the data in the infotypes is saved to the back-end system in this workflow step:

      1. In the ‘Relocation’ Workflow column, click the drop-down list in the &SEND_VARIATION& row.The Select Expression dialog box appears, listing the container elements of the workflow template.

      2. Choose the Enter Constant pushbutton.The system extends the dialog box to display fields for constants.

      3. From the dropdown list in the Constant field, select A (Write Data to Application Database) . Choose Continue . A (Write Data to Application Database) now appears in the ‘Relocation’ Workflow column.

    2. Determine the form scenario to use.

      1. In the ‘Relocation’ Workflow column, click the dropdown list in the &FORM& row. The Select Expression dialog box appears.

      2. Choose the Enter Constant pushbutton on the dialog box toolbar. The system extends the dialog box to display fields for the (Form) Scenario and (Form Scenario) Version .

      3. Select the following values:

        • Form scenario: ZTFS

        • Version: 0000

      4. Choose Continue . The details for the form scenario now appear in the ‘Relocation’ Workflow column.

    3. Determine the form scenario step to use.

      1. In the ‘Relocation’ Workflow column, click the drop-down list in the &FORM_SCENARIO_STAGE& row.The Select Expression dialog box appears.

      2. Choose the Enter Constant pushbutton.The system extends the dialog box to display fields for the form scenario and its steps.

      3. Using the dropdown lists in these fields, select the form scenario ZTFS, the version 0000 and form scenario step FSS_4.

      4. Choose Continue . The details for the form scenario step now appear in the ‘Relocation’ Workflow column.

    4. Choose the Exit Binding Editor button .

    The following graphic shows the Data Flow: ‘Relocation’ Workflow -> Step ‘Process Form’ area after the last step:

    End of the note.
  7. Determine the interaction between the workflow step and the process object.

    1. Navigate from the Control tab to the Programm Exits tab.

    2. Choose the Class menu bar and select the class CL_HRASR00_POBJ_WF_EXIT .

    3. Choose Transfer and to Graphic to return to the Graphic Model.

  8. Save your entries.

  9. Choose Generate and Activate Run-Time Version to activate your workflow template.

Result

You have now completed all workflow step-specific settings Your workflow template now resembles the following graphic:

Note Note

The first process step in which the employee starts the process is outside of the workflow and is therefore not represented in this graphic. The Edit Relocation Form (Administrator) step that the graphic shows as the first step is the second step of the process.

End of the note.

See also:

Standard Task TS17900100: Edit Form