Application Development and Automation 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: 
Read only

Explicit Enhancement

Former Member
0 Likes
2,449

Hi All,

I would like to practice explicit enhancement. Can any one give me step by step procedure for Explicit enhancement options?

How can i add explicit enhancement to sap standard code?

Thanks in advance.

Pon

Hi All,

I would like to practice explicit enhancement. Can any one give me step by step procedure for Explicit enhancement options?

How can i add explicit enhancement to sap standard code?

Thanks in advance.

Pon

3 REPLIES 3
Read only

Former Member
0 Likes
1,864

Hi,

I believe we cannot create a explicit enhancement point...

But can implement them..

Explicit enhancement points are basically hooks already coded into the program by SAP at various points of the code. See program RIAUFMVK for examples of these! These are very easy to implement simply go into enhancement mode of SE80 and right click on the enhancement point where you want to add your code and choose ‘Enhancement Implementation->Create’ Give it a name, description and assign it to a change request (should not be a Z package) and then simply add the code as normal

check the help

Check this link for the help to implement

http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/103a4280da9923e10000000a155106/content.htm

Regards

Kiran Sure

Read only

Former Member
0 Likes
1,864

Hi,

To mark a position in an ABAP program as an explicit enhancement option, use the following ABAP statement:

ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ...

· To mark a section in an ABAP program as an explicit enhancement option, use the following ABAP statement:

ENHANCEMENT-SECTION enh_id SPOTS spot1 spot2 ...

...

END-ENHANCEMENT-SECTION.

Using enh_id, you define the name of the enhancement option or the source code enhancement. After SPOTS, the enhancement option must be assigned to at least one (simple) enhancement spot. For a detailed description of the statements, refer to the ABAP keyword documentation.

An enhancement spot for source code enhancements is created using forward navigation from within the ABAP Editor. The statements can either be entered directly or generated by selecting Enhancements ® Create Enhancement.

After the program has been saved, the enhancement option is managed by the Enhancement Builder, and can only be deleted using the function Enhancements ® Remove Enhancement.

During program generation, the source code plug-ins that are in the current system for the assigned enhancement implementations and have the switch status stand-by or on, are included at this position or they replace the selected section.

I am asking about this only. let me know how to do this.

Read only

Former Member
0 Likes
1,864

Hi Pon,

To create an explicit enhancement in standard SAP program, you first need to enter into modification mode (change mode) using access key. In modification mode you use ENHANCEMENT-POINT / ENHANCEMENT-SECTION statements to specify explicit enhancement options. Once you are done with this and activated the std sap program, further activities you do are taken care by the Enhancement Builder (when you enter Enhancement mode).

This is done only when your requirement cannot be fulfilled using implicit/explicit enhancement options provided by SAP. In such a case, you are only left with modifying standard SAP code. To do so, in ECC 6.0 you can create explicit enhancement options in modification mode i.e. using access key. This helps in minimizing the amount of code you enter as modification. As the only statements you enter as modifications are ENHANCEMENT-POINT / ENHANCEMENT-SECTION. Rest of the code is a part of the enhancement framework and would not be overwritten during upgrade.

Regards,

Chitrali