Saturday, May 24, 2014
This step is used to customized the approval screen 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 create the workflow and First Save it.
- Next step would be to create the container element with the same structure/table which we created in SE11
- Now Right Click on the branch and select the Form step.
- Give any name in Step Name and choose WF-Initiator in Agents tab for Expression drop-down.
- Now choose create button to create the form. The wizard will get open.
- Select Continue
- Select the structure which is coming from workflow container
- Complete the wizard
- The form step will get created as shown below.
- Now go to form step and select the change icon as shown below.
- 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 check box of the Sales document field.
- Now Save the Form .
- And activate it.
- Go to Flow logic to write the code in Export_data subroutine.
- 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 workflow.
- Once executed the work item gets generated and gets placed in inbox (SBWP) of the user.
- Select the Change Form work item and Double Click 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.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
simple and good..
ReplyDeleteThis article ( SAP Workflow ) from SAP Consultant ) is quite worthy and providing steps on " How to " for the learners and professionals to software developers career successful and excel.
ReplyDeleteFor best SAP implementation services
i follow the the prctice above but i need delete the delivery block on sales order
ReplyDeletedocument when press button approve
can you guide me
thanks
Thank you for taking the time to provide us with your valuable information.
ReplyDeleteWe strive to provide our candidates with excellent care
http://chennaitraining.in/sap-cs-training-in-chennai/
http://chennaitraining.in/sap-ec-training-in-chennai/
http://chennaitraining.in/sap-ecm-training-in-chennai/
http://chennaitraining.in/sap-ehs-training-in-chennai/
http://chennaitraining.in/sap-ep-training-in-chennai/
http://chennaitraining.in/sap-erp-training-in-chennai/
http://chennaitraining.in/sap-ess-training-in-chennai/