转 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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值