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.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.