`
evangxli
  • 浏览: 223803 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

转 Using the step "Form" (Detailed example)

阅读更多

Using the step "Form" in workflow

By Sai Kumar B, Enteg Infotech, From link.

In the need of input from the user other than mere clicking of accept and reject actions, we can use the Form Step in workflow. The form step presents the user a form (User interface) thus by enabling the workflow developer to capture the required input from the user. The form used here is just like classic Dynpro screen, which can be designed in Screen Painter (SE51).

To Begin with lets start with Workflow builder, SWDD. In this tutorial I was just showing how to include a form step inside a workflow.

  1. Right click on the activity and select create.
  2. Select the form step type.
  3. In the next screen provide Step Name and agent assignment
  4. Select the form type and action
  5. Then click on Create (Before clicking on Create make sure that you have declared a structure in container which can be used as the structure for the form / Screen you are going to include.
  6. If you have not created the structure, you can do so by double clicking the container.
  7. Then give name for the container element and type of the element, and if you are using this structure for changing of some values be sure to check export and import check boxes in properties tab.
  8. Coming back to the form step click on the create button.
  9. This will start a wizard, Click on continue
  10. Give your form a name and select the structure for which you are building the form .
  11. And click on continue.
  12. Then click on complete
  13. Save the object
  14. Now you can change the form as per your need. You can use the form as it is, as the logic will be handled automatically. The changes that were made in the form at runtime will directly reflected in the container element. If you need more complex logic you can modify the form as per your requirements by clicking on change button.
  15. This will open the form in screen painter to modify the form, make necessary changes in layout.
  16. If you need to change the flow logic you can go there by clicking on flow logic, where you can change the flow logic.
  17. If you want to control the data in PBO and PAI level you can double click the module to be navigated to the function modules generated by sap system. Even though SAP recommends not to change the modules you can change them with due caution to meet your requirements.


Finally activate everything and test.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics