Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question