Skip to Content

CRM WebUI Enhancements - A general question

Hello All,

I have a general question about the best practice in making enhancements in CRM WebUI. I always follow the procedure of enhancing the WebUI component/view and then re-define the methods and then apply my custom logic.

But lately I had a question.What if I have a very simple logic where I need to update the state description of a viewset, Can I make implicit enhancements directly in the standard WebUI classes' methods, instead of enhancing the whole component/view.

Is this a good practice to make implicit enhancements in WebUI classes. What are the repercussions of it?

Thanks,

San

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 16, 2015 at 12:57 PM

    Hi San,

    I would always use the approach to enhance the component using the CRM WebUI enhancement concept. This approach has in my opinion several advantages over the implicit enhancement approach:

    1. You only use one enhancement approach for all your enhancements (not one for some type of enhancement and the other for others)
    2. You can use different enhancements sets thereby having different enhancements in different user roles. So the standard approach is much more flexible
    3. You won't change the standard. So its much easier to go back an see how the standard performance without a particular enhancement (e.g. in a support scenario) by either using an not enhanced default user role or by setting the user parameter that disables all enhancements.

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • And to add to the very good points that Christian made, since your modifications are all tied to an Enhancement Set and that Enhancement Set can be dynamically loaded at runtime, you can create a Business Role that is loading no Enhancement Set at all.

      This way you always keep an easy way for you (and for SAP Support) to verify the SAP standard behaviour in case of issues.

      BR - JYves

  • Posted on Sep 16, 2015 at 02:33 PM

    I also concur with Christian's points above. Implicit Enhancements are normally for situations where you have no other means of enhancing the system or the provided enhancement points won't work. They are also for situations where there is poorly designed SAP delivered code with no enhancement options(such as the ADRMAS idoc in ERP).

    In the long run you will save more time and effort by enhancing your system in the proper fashion with the tools provided instead of going down an alternative route. It makes supporting the system much easier for everyone.

    Take care,

    Stephen

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 16, 2015 at 05:17 PM

    Thank you Stephen and Christian for your valuable inputs.

    Thanks,

    San

    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.