"ZT" Enhancement framework–introduction

Source: Internet
Author: User

Enhancement framework–introduction

by Naimesh Patel | March | Enhancement implementation

ABAP Enhancement implementations concept which allows you-easily enhance the standard SAP delivered functionality with Your desired one. With this series let's see more about the enhancement Framework.

Preface

ABAP Enhancement implementations Concepts is there for a while in SAP. I ' M haven ' t written much about them yet. One of the reader, Hannes Rempel reminded me about the fact. So, I take the opportunity to start writing on this. I have the planned for bunch of the articles in the this series. Hope would find something new here.

What's an enhancement

Let's start with very basics. Enhancement is used if you are need to enhance the any, SAP delivered functionality by introduced new code. There is certain ways to achieve the enhancements:

  • Core Modification –you Obtain the access key by registering the object with SAP and make the necessary changes. This was more dangerous and thus least preferable among other techniques. What makes it more dangerous was when SAP provides any OSS note, or while upgrade, there was a great chance of losing the FU Nctionality If you don ' t perform proper spau activities.
  • User Exits –you find SAP delivered subroutines (PERFORM) which begins with in the USEREXIT_ STD SAP programs. Those subroutines would is collected in a program. To implement the user exit, you would need to also register the object once. They is little bit safer from upgrade point of view as they is in a separate include.
  • Customer Exits –you find SAP provided function Exits with CALL CUSTOMER FUNCTION ‘001’ . This would is a FM with an include. This include would not being delivered by SAP. If you are need your new functionality, you need to create the include and implement your code. You would need to create Customer enhancement Project in CMOD using the enhancement which houses the Exit function Smod.
  • BADI (Business Add Ins) –are the based on Object oriented Concept. Similarly STD SAP would provide you the BADI calls. You would need to Create the BADI implementation based on the BADI definition. Then you can add your code in the implementation which are essentially a method in the class. You can implement the same BADI multiple times and if the BADI is multiple implementation.
New Enhancements Technique

Generally enhancements Framework enhancements is referred as New enhancements. They provide more flexibility compared all of its predecessors. Few Advantages is:

    • Easy Maintenance
    • SAP can deliver more than one business processes in the same code
    • Customer can activate the business processes
    • Upgrade Support

We would learn more about the course of various articles.

Various Types of Enhancements

There is these new enhancement concepts:

    • Explicit Enhancements –EXPLICIT Enhancements is similarly provided by SAP at various point of the code. They is provided with Enhancement-point and enhancement-section. We'll learn more on both of them in upcoming articles, but the basic was Enhancement-point is the empty placeholder fo R the code where as Enhancement-section is the placeholder with default code.
    • Implicit Enhancements –IMPLICIT enhancements is not delivered by SAP in the code, but SAP have given flexibility To implement them at various locations
      • Beginning of the Subroutine/method/fm/include
      • End of the Subroutine/method/fm/include
      • Class Enhancements–pre/post/overwrite method
      • FM enhancements–additional Parameters
Enhancement implementation

In order to put your code in to any of the enhancement, you would need to create a implementation for that. If you found a explicit point, you can create the implementation for that point. You implement the logic in your implementation. At run time, System determines how many active implementation exist in the system for, and executes them.

You can navigate from your implementation or open a implementation in the enhancement Builder. Enhancement Builder is a integrated tool in SE80 to help you with enhancement implementations.

"ZT" Enhancement framework–introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.