Skip to Content
avatar image
Former Member

How to enhancment standard ABAP class

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 30, 2008 at 12:24 PM

    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-a653307fc6fc

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

    Hope this helps.

    Neeraj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2008 at 03:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?