Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

What is delegation in workflow???

Hi all,

can u give me a brief overview about delegation in workflow???

Tags:
Former Member replied

Hi Ravi,

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.

Best regards

Saurabh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question