cancel
Showing results for 
Search instead for 
Did you mean: 

Delegation in ABAP OO possible?

Former Member
0 Kudos

Hi

I would like to use standard SAP standard object, but to extend some attribute and method without direct modification.

BO delegation is perfect for this requirement, how about implementing object if it is ABAP OO?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You should actually check the recent discussion about a similar issue:

Regards,

Karri

Former Member
0 Kudos

Delegation (in a similar sense as with BOs) is not possible with classes. And most likely you cannot even create a subclass from the SAP standard class since it's status is most likely 'Final'.

In other words, you must most probably copy the SAP standard class and do the modifications for it. Or another option depending on your requirements could be to use the enhancement framework (=modify the SAP standard class).

If you have to copy the class, you have to instantiate this custom class in your workflow in a separate step.

These are just some general guidelines.

Regards,

Karri