Skip to Content
avatar image
Former Member

Modification of ENHANCEMENT-SECTION

Hello All,

Thanks for the wonderful Information you all provide with this site, I think I have an interesting question to ask for those who have worked on upgrades,

Secnario,: My system is being Upgraded from 4.6C to ECC6.0, During SPAU activity I have to modify a Function Module, In ECC6.0 SAP provided a ENHANCEMENT-SECTION with an Enhancement Implementation. In this Enhancement Implementation SAP has added extra code in the function module,

Now I also have to put some custom code in the enhancement-section, So I moved my change in to the Enhance Implementation of SAP’s by going to Change Enhancement button,

Q1. During Debugging I was not able to go into the Enhancement Implementation, all I could see was Enhancement section code only, Can’t I debug the code I provided in Enhancement Implementation. I am struck, as I feel the code in the Enhancement implementation is not getting triggered,

Code :

Function A.

ENHANCEMENT-SECTION A1 SPOTS B.

…….

END-ENHANCEMENT-SECTION.

$$-Start: A1 -


$$

ENHANCEMENT 1 C.

……….

*{Insert

SAP Code

…..

…….

*} Insert

*{ Custom Code

…..

….

*} Custom Code

ENDENHANCEMENT.

$$-End: A1----


$$

Endfunction.

A—Function Name

A1- Enhancement Implementation Point/Section

B- Enhancement Spot

C- Existing Enhancement Implementation.

Q2 I also know that I could replace Enhancement by using Replace Enhancement button, but it requires me to create my own Enhancement implementation, I needed more information on how to do this, So can anyone please help me in this.

Can you suggest the best way to modify the Enhancement section /Implementation to fit in the custom code ?

I truly appreciate anyone helping me on this, as it has become a crucial show stopper,

Thanks

Kumar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 25, 2006 at 09:54 AM

    Hi Kumarprv,

    I seems you are completly new to the new Enhancement Framework coming with Netweaver 2004s.

    So first please read a little bit in manual

    see Enhancement" target="_blank">http://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">Enhancement Framework help, especially concept section.

    So what you have to do is.

    1. Go to this function module, which you want to enhance.

    2. Click on enhance

    3. A popup for enhancement implementation will be shown, create a new one i.e. ZEI_MY_EI. This is an anchor for all enhancement concerning a task or similiar.

    4. Code now!.

    5. Save and activate.

    Details about this procedure also available herehttp://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">here>

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Axel,

      I would first try to get into the details of modification and than try to present a less confusing question.

      Thanks for the help.

      Kumar