Secondary Methods, Before and After Methods

This page will tell how to implement the three methods in workflow designing.

  • Secondary Methods.

The purpose of secondary methods is to open a new session when ever a work item is executed.  For example you are team lead having team of 6 peoples. The leave requests are submitted by your team members for approval. So before approving the request you goto a another report to check leave plan of rest of the members of your team. Based on this the decision for workitem approval or rejection is taken. So rather than approver each time going to this transaction the workflow will automatically open a new session which will run this report. This can be done by secondary methods. Each time you execute work item a new session will open up. This will only get finished if the work item gets finished.

  • Before Methods

Before methods can be used in case you want to perform some activity for example for inserting some entry in custom table  before execution of work item.

  • After Methods.

After methods can be also used for same purpose as before method. Basically both of these can be used to track work items which can be used later.

Screen shots with examples to be updated next.

Labels

sap sap Delete
business business Delete
worklfow worklfow Delete
after after Delete
methods methods Delete
secondary secondary Delete
and and Delete
before before Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.