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 concept

Former Member
0 Kudos

hi guys,

I want to update the search help DEBIA by adding fields in the View M_DEBIA present in it.

i want to use ENHANCEMENT FRAMEWORK concept to do this.

i want to add few field in this view by using enhancement concept.

how can i do it Please help.

ahmed.

3 REPLIES 3

Former Member
0 Kudos

Hi,

i dont understand why you want to use enhancements at all. To add a new search help is no modification of sap standard.

Copy view m_debia to zm_debia an add your fields and constraints to zm_debia. After that, create a new (elementary) search help zdebia with method zm_debia and include your new search to search help (for example DEBI or SD_DEBI). You may, if you want to, hide the original debia in DEBI.

Regards,

Christian

0 Kudos

well actually, what christian told you is not wrong at all.

i´ve done it myself quite a lot.

BUT, you have the installed a new data-element, which means if this data-element is e.G. mdified by SAP, your program wont notice it. Additionally there might occurr problems with conversion exits and such, what means:

Not using enhancement points or other proper modification option may spare you work on the forehand, but it creats a truckload of work later on when things have to get modified and such.

so better go for the propriate modification option.

BADI´s, customer exits, and user-exits are as well a good thing.

Former Member
0 Kudos

Hello Ahmed.

I´d recommend you to use the implicit enhancement points.

Since Base release 7.0 there are implicit enhancement points at:

- the end of structure definitions (before END OF ...)

- the start and the end of every Form, Function, Methods of global or local classes

- the end of a Importing/Exporting/Changing definition block of a method of local cl

- Interface definitions of Functions and Methods of global classes

- the end a Public/Protected/Private section of a local class

- the end of a implementation-block of a local class

- the end of includes

additionally SAP has implemented some explicit enhancement points, search string for those = 'ENHANCEMENT-POINT".

in order to USE implicit enhancement points goto the code where you want to add code. Then switch to change mode, as if you would like to modify the code.

then click the menu-button edit->enhancement operations->show implicit enhancement options.

thats it. in the highlightning area, there is the place to implement your coding