Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to enhancment standard ABAP class

Former Member
0 Kudos

Hi, expert, can anyone share how to enhance abap class

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

1) Go to tab Class -> Enhance

2) Create a new enhancement implementation

3) Now you can add a method / modify existing method etc...

Also see the following link ->

https://www.sdn.sap.com/irj/sdn/nw-development?rid=/library/uuid/bb54c452-0801-0010-0e84-a653307fc6f...

(Section Class Enhancement might be useful in the ablove link!!)

Hope this helps.

Neeraj

3 REPLIES 3

Former Member
0 Kudos

hi,

you can create a z class as a subclass of your standard class and enhance it.

You can also use class builder to enhance a class. For class builder utility , check,

http://help.sap.com/saphelp_nw04/helpdata/en/6a/42d41b192311d5969b00a0c94260a5/frameset.htm

Regards,

Anirban

0 Kudos

Yes, we can use subclass to override the method, but the standard program is using standard class and there is no way to modify this program, so

Doest abap class also have user exit, customer exsit, badi, or enhancment point wherre we can enhance it?

Former Member
0 Kudos

Hi

1) Go to tab Class -> Enhance

2) Create a new enhancement implementation

3) Now you can add a method / modify existing method etc...

Also see the following link ->

https://www.sdn.sap.com/irj/sdn/nw-development?rid=/library/uuid/bb54c452-0801-0010-0e84-a653307fc6f...

(Section Class Enhancement might be useful in the ablove link!!)

Hope this helps.

Neeraj