Form Step in Workflow

Posted on Sep 20, 2012 at 12.12 PM - Kuala Lumpur, Malaysia

Often there is requirement to create a custom transaction which requires certain approval before it gets posted into SAP. One simple example would be the material master data or classical leave request which requires certain validation by certain group of people and approval by the supervisor before it can get posted. In this case, form step comes into play very handy.

1. You need to create a dictionary structure which will hold the information required in the custom transaction.

2. Create a workflow container element to represent object that you created in step 1.

3. Create form by clicking on the 'Create' button in the start form tab of the workflow header. ABAP program and a transaction code will be created as the result. You can change and modify the ABAP program screen look and feel to your liking.

4. Add the form step in the workflow

5. You can choose the action, either to display, approve, approve with query or change the form

6. You can call the transaction code, fill up the necessary information and click on the 'Start' button to call the workflow. Or you can change the generated ABAP program to trigger and event and make your workflow subscribe to the event.

Life is beautiful! Let's make it meaningful and colorful!