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

ENHANCEMENT concept

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09:22 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

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.