‎2009 Oct 13 10:04 AM
what is meant by delegation ? how it is used ? give me on example ?
‎2009 Oct 13 10:10 AM
Hi Akash,
Please make a habit to SEARCH before posting it here.
There are a lot of posts on this subject.
Delegation is a functionality provided by SAP for replacing an original object type by its subtype to which additional events or methods may be added as you cant enhance a standard object directly.. If the standard SAP events don't fulfill your purpose, new events/methods may be added to the given object type by using the concept of delegation.
for your reference
http://wiki.sdn.sap.com/wiki/display/ABAP/DelegationandRedefiningmethodsofbusinessobject+BUS1001
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectDelegation
Regards,
Manish
‎2009 Oct 13 10:10 AM
Hi Akash,
Please make a habit to SEARCH before posting it here.
There are a lot of posts on this subject.
Delegation is a functionality provided by SAP for replacing an original object type by its subtype to which additional events or methods may be added as you cant enhance a standard object directly.. If the standard SAP events don't fulfill your purpose, new events/methods may be added to the given object type by using the concept of delegation.
for your reference
http://wiki.sdn.sap.com/wiki/display/ABAP/DelegationandRedefiningmethodsofbusinessobject+BUS1001
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectDelegation
Regards,
Manish
‎2009 Oct 13 12:18 PM
‎2009 Oct 14 7:45 AM
HI:
Object type whose definition is considered at runtime instead of the definition of another object type, although this other object type is specified in all definition components (for example task and workflow definition, linkage tables). In all definition tools you can still refer to the original object type, but the system uses the definition of the delegation type for every access.
The delegation type must always be a subtype of the object type it is to replace. The delegation type can have different or additional methods, attributes and events.
A delegation type is always defined for an object type on a system-wide and cross-client basis.
For example of its use, have a look
[Link|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectDelegation]
Regards
Shashi