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 Implementation and Enhancement Spot

Former Member
0 Kudos

Hi all,

I'm studying about enhancement implementation from SAP Library (http://help.sap.com/saphelp_nw04s/helpdata/en/83/43e040e136742ae10000000a155106/content.htm). It is said in there that every single enhancement implementation belongs to exactly one enhancement spot.

 

Being curious, I wrote a program to test whether this statement is correct. Below is my program.

 

REPORT  z_enh_frm_explicit_enh_option.

MESSAGE 'Z_ENH_FRM_EXPLICIT_ENH_OPTION' TYPE 'I'.

ENHANCEMENT-POINT z1 SPOTS z_enh_frn_spot_1.

*$*$-Start: Z1----------------------------------------------------------------------------------$*$*

ENHANCEMENT 1  Z_ENH_FRM_EXPL_IMPL.    "active version

  MESSAGE '1 Z_ENH_FRM_EXPL_IMPL' TYPE 'I'.

ENDENHANCEMENT.

*$*$-End:   Z1----------------------------------------------------------------------------------$*$*

ENHANCEMENT-POINT z3 SPOTS z_enh_frm_spot_3.

*$*$-Start: Z3----------------------------------------------------------------------------------$*$*

ENHANCEMENT 2  Z_ENH_FRM_EXPL_IMPL.    "active version

  MESSAGE '3 Z_ENH_FRM_EXPL_IMPL' TYPE 'I'.

ENDENHANCEMENT.

*$*$-End:   Z3----------------------------------------------------------------------------------$*$*

As you can see, enhancement implementation Z_ENH_FRM_EXPL_IMPL is assigned to both enhancement spot z_enh_frn_spot_1 and z_enh_frm_spot_3. When I tested my program, it worked, neither syntax error nor run-time error found. Does every single enhancement implementation really belong to exactly one enhancement spot?

Thanks in advance.

Regards,

Haris

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Of course. Every enhancement point belongs to single enhancement spot.

I am not sure what you have done, but can you explain what "Z1" and "Z3" is in below lines?

ENHANCEMENT-POINT z1 SPOTS z_enh_frn_spot_1.

ENHANCEMENT-POINT z3 SPOTS z_enh_frm_spot_3.

Basically Enhancement spot is group of enhancement points. So, one enhancement point belongs to single enhancement spot only.

Do one thing. Go to SE80.

Go to other objects.

Go to Enhancements.

Here, you will see below screen. Try putting in enhancement point and spot in respective fields and see if they exist.

2 REPLIES 2

Former Member
0 Kudos

Of course. Every enhancement point belongs to single enhancement spot.

I am not sure what you have done, but can you explain what "Z1" and "Z3" is in below lines?

ENHANCEMENT-POINT z1 SPOTS z_enh_frn_spot_1.

ENHANCEMENT-POINT z3 SPOTS z_enh_frm_spot_3.

Basically Enhancement spot is group of enhancement points. So, one enhancement point belongs to single enhancement spot only.

Do one thing. Go to SE80.

Go to other objects.

Go to Enhancements.

Here, you will see below screen. Try putting in enhancement point and spot in respective fields and see if they exist.

0 Kudos

Hi chinmay,

One enhancement point can spot more than one enhancement  spot.

Try this "enhancement point z1 spots enhspot1 enhspot2" it works.

Anyway haris, i tried sth similar to your excerpt before and it works.i think

The document you pointed has faults. F.e. It says "simple enhancement

Implementation must belong at least one composite implementation."

But this is not true.