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: 

Modification of ENHANCEMENT-SECTION

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member208581
Participant
0 Kudos

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 <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">Enhancement Framework help</a>, 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 <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">here</a>

2 REPLIES 2

former_member208581
Participant
0 Kudos

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 <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">Enhancement Framework help</a>, 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 <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/99/9cdc40132a8531e10000000a1550b0/frameset.htm">here</a>

0 Kudos

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