Workflow Form
Workflow Form
i.e. if the customer doesn’t want the standard screen then the approval
screen can be developed by using Form.
Firstly we need to created the table/ structure with fields which I want to display in Form.
Now choose create button to create the form. The wizard will get open.
Select Continue
The screen painter will get open where we can design our approval screen. All the fields of the structure
will get displayed in the screen. We can adjust the alignment of all those fields.
Now use push button to create one Approve button and assign the function code to the same.
Also select the Input field checkbox of the Sales document field.
Now Save the Form .
DC Export_data subroutine.
Write the code as shown below. The below code is responsible to take the values from screen and save
it into database.
Click on Save and activate and go back and click on Enter ( Green mark)
Now save the workflow and activate it. Test the worklfow.
Once executed the workitem gets generated and gets placed in inbox (SBWP) of the user.
Select the Change Form workitem and DC on it. The Form will get open where we can provide sales
order number.
Now once Approve button is clicked , the corresponding value gets saved into database.