cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delecation Type

Former Member
0 Likes
554

Hi Experts,

What is Delecation Type. What is the actual use of teh Delecation Type.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

maybe you mean <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4adcc453d11d189430000e829fbbd/frameset.htm">delegation type</a> ?

KjetilKilhavn
Active Contributor
0 Likes

And it is used to make new attributes and/or methods and/or events available for your workflows while allowing you to refer to the standard BOR object types.

Example: you need company code available in a purchase requisition workflow on item level. You create subtype BUS2009 with a virtual attribute for company code and implement the attribute. By delegating you can e.g. use BUS2009 in a triggering event, and then refer to your new attribute in the object reference you received from the event.

If you <b>don't</b> delegate your workflow will have to use object type ZBUS2009 to access your new attribute. So either that object type has to be triggered (i.e. not by standard SAP code), or you have to use an additional container element and convert from the BUS2009 to the ZBUS2009 object in your WF (you can possibly convert it by using programmed binding too, but delegation is easier).

Answers (3)

Answers (3)

Former Member
0 Likes

Hi:

You use the delegation type, when you are creating a new method to obtain some information or make some process that the standard WF is not doing.

The delegation is important because you are going to use like base BUS2012 and then ZBU2012 has your own method.

Inside the WF you call the BUS2012, and gives your method in ZBUS2012.

When you use the delegation is important object-key-number in each event, if not is not going to work correctly.

The delegation is made it in the transaction <b>SWO1</b> Menu Settings --> Delegate

Best Regards,

Jessica

Former Member
0 Likes

If you family with OO concepts ? It is similar to Inhertiance in C++/Object Oriented concepts.

Infase of Workflow - Business Object - eg BUS2009 can be inhertited (or) delgated & methods, attributes, events can be extended

Former Member
0 Likes

please check this site

http://help.sap.com/saphelp_47x200/helpdata/en/fb/135be4457311d189440000e829fbbd/frameset.htm

it explains how the delegation should be setup

erik