Skip to Content
author's profile photo Former Member
Former Member

Enhancement Implementation and Enhancement Spot

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2012 at 10:47 AM

    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.


    Enhance.JPG (52.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.