Tuesday, May 13, 2014
If we require to execute the branch based on condition which possess more than two values then we can use Multiple condition.This is similar to CASE-ENDCASE in ABAP
- Right Click on the branch and select the create button.
- Choose multiple condition step type in Steps list. Then click F4 help in comparison basis and select the workflow container element /system element for which you need to frame the condition and list of values. The container element has to be created before in Workflow container which will get populated with dynamic values at run time.
- Provide list of values in Comparison values for which you need to check/compare.
- Once list of values are given , the branches will be formed against it.
- Now you can define your rest of the workflow definition in these branches as per requirement. Hence we will be having one user decision step for demo purpose. Thus the previous step has been pasted in one of multiple condition branch.
- Now in the second branch for demo purpose we are creating send mail step. Thus you can create any step type in these branches to fulfill your requirement.
- Displaying the dynamic element SALES_ORDER( that is binded to workflow container element) in the subject line.
- Now provide the values in the container element.
- Once executed the corresponding workflow branch will get executed.Go to SWIA and check the graphical log.
- Now test with other values in SALES_ORDER which matches the value in multiple condition step.
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
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.