Skip to Content
0
Former Member
Nov 10, 2012 at 08:54 PM

Enhancement Implementation and Enhancement Spot

802 Views

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