Monday, July 15, 2013
In ABAP programs, implicit enhancement options are predefined at the following places:
  1. At the end of an include. There are some restrictions, for example, not at the end of a method include.
  2. At the end of a PUBLIC-, PROTECTED-, PRIVATE-SECTION of a class.
  3. At the end of the implementation part of a class (before the ENDCLASS, which belongs to CLASS … IMPLEMENTATION).
  4. At the end of an interface definition (before the ENDINTERFACE).
  5. At the end of a structure definition (before TYPES END OF, DATA END OF, CONSTANTS END OF, and STATICS END OF).
  6. At the beginning and at the end of a procedure (FORM, FUNCTION, METHOD). That is, after commands FORM, FUNCTION, and METHOD, and before statements ENDFORM, ENDFUNCTION, and ENDMETHOD.
  7. At the end of the CHANGING-, IMPORTING-, EXPORTING-parameter list of a method. These enhancement options are located in the middle of a statement.

Implementation steps

  • Go to SE37 àenter “HR_CHANGE_QUOTAS_GEN_25”  àClick on Display
  • Implicit Enhancement can be implemented at start of function module or at end of function module.
  • Go to ENDFUNCTION of function module.
  •  Click on spiral button 
  •  Menu EditàEnhancement Operatiion-->Show Implicit enhancement options
  •  Put the cursor on previous line of ENDFUNCTION statement and EditàEnhancement Operatiion-->Create Implementation
  •  Click on Declaration button.
  •  Implementation name and description. 
  •  Write code for the enhancement.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.