What is delegation in workflow???
can u give me a brief overview about delegation in workflow???
saurabh asthana replied
In workflow Business object has an important role and delegation is used in business objects If the standard SAP events don't fulfill your purpose, new events/methods may be added to the given object type. SAP doesn't allow changes to its original object types. It permits changes by using the concept of delegation. it is technique of replacing an original object type by its subtype to which additional events/methods may be added.
Basically Business Object(BO) is a central framework integrated with other frameworks & models. Example :
A R/3 transaction can trigger a BO event ,
A BO event can trigger a workflow (template or a task),
A workflow can call a BO method ,
A BO method can call a R/3 Transaction or a function module,
when a workflow is triggered it starts from the transaction. when a user saves the transaction the data goes to a business object. Business objects are the active instance of object type.
By delegating a BO:
Customers use their own object extensions with the tasks , events , etc. supplied by SAP.
Without having to redefine existing tasks , we can use standard objects with customer extensions.
Transaction to be used-------SWO1 (Business Object Builder).
There u give name of your object type and then go to setting
> delegate>new entries-->then give object type same as your supertype and in delegation type give your object name which u gave initally and then save.now if u see in that standard object ur functionality must be added which u have defined in ur object type. it means that BO is delegated. now u can use this in workflow according to your requirment.
Hope this will help you.