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: 

ENHANCEMENT-POINT / Enhancement in ECC 6.0

Former Member
0 Kudos

Hi all!

I have been searching for an answer. I have yet to find anything.

Anyway here's my question:

I am using an SAP provided enhancement point. (I think)

It looks like this in the code:

ENHANCEMENT-POINT me_print_po_01 SPOTS es_saplmedruck.

$$-Start: ME_PRINT_PO_01----


$$

ENHANCEMENT 16 ISAUTO_SCH_EMM_SAPLMEDRUCK.

I double click on the 16 and entered my code. Then I looked at the properties and found the switch AM_SCH_MM was off.

So I created a business function via sfw2 included the switch AM_SCH_MM and activated the business function. Since I've been reading the forum. I activated my new business function in sfw5 as well.

I put my program into debug. It is still skipping over the enhancement. I'm sure I've missed a step somewhere as we are just implmenting from 4.5C.

Does anyone know why this isn't working? Or simply how to activate an SAP supplied enhancement. I've been reading on creating a custom enhacement and using a BADI. Do I have to do the same thing for the SAP supplied one?

Thank you,

Michelle

1 ACCEPTED SOLUTION

aditya_niyogi
Participant
0 Kudos

Hi Michelle,

I dont think you should change the original enhancement implementation. What I could understand from what you have written is that you are changing the original SAP standard implementation. Make a new implemention and try it.

Thanks ,

Aditya.

6 REPLIES 6

aditya_niyogi
Participant
0 Kudos

Hi Michelle,

I dont think you should change the original enhancement implementation. What I could understand from what you have written is that you are changing the original SAP standard implementation. Make a new implemention and try it.

Thanks ,

Aditya.

Former Member
0 Kudos

That was exactly what was going on. I created my own, and it worked!

Thank you,

Michelle

0 Kudos

Hi Michelle

Would you please let me know what you did to resolve your problem above

Former Member
0 Kudos

Sure.

I went into the SAP code. Then I used the menu path:

Function Module -> Enhanceme source code

-OR-

Program -> Enhance.

I determined where in the source code that I wanted my code to be at then I right clicked.

Enhancement Implementation -> Create

Entered the name and text, package.

Selected the implementation.

Entered my code.

Activated the enhancement or Ctrl-F3.

Former Member
0 Kudos

Also I found the eLearning on enhancement points on SDN very useful.

Former Member
0 Kudos

One more thing to add. If you can not find an explicit point. (Enhancement or Enhancement spot) I had that problem. I didn't want to use the SAP spot because it wasn't turned on. Then use the implicit enhancement. Once you are in the enhancement view of the workbench, then find the implicit enhancement. To find an implicit enhancement the menu path is:

Edit -> Enhancement Operations -> Show implicit enhancement options

Then you can create the enhancement as detailed. (Right click, create enhancement...)