Skip to Content

Active Enhancement Set

Hi ,

Can I have several Enhancement Set defined in transaction BSP_WD_CMPWB ? If yes , how can I test in the WebUI one or the other Enhancement Set ? How can I assign my user to always run Enhancement Set Z_ABC instead of Enhancement Set Z_123 ? Thank you .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 02, 2010 at 07:53 AM

    Hello!

    Enhancement set is assigned only to client. You can do it in view BSPWDV_EHSET_ASG (tcode sm30). You can also deactivate enhancement set in runtime, for this please look at this blog:

    /people/belen.ramirez/blog/2010/04/26/deactivate-an-enhancement-set-in-the-webui-for-testing-purposes

    BR,

    Artur Litvinov.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 02, 2010 at 10:27 AM

    More then one enhancement set is possible.

    Use transaction SM30 and the view BSPWDV_EHSET_ASG, to assign enhancement set to a client.

    Regards,

    Harshit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Harshit, you are right. If the determination of an enhancement set at runtime is not only to be based on the client, but on other criteria, such as the user or the profile, you need to use a Business Add-In (BAdI). You can use the Object Navigator (SE80) to open package CRM_BSP_WD. Open the enhancement spot COMPONENT_HANDLING with the BAdI definition COMPONENT_LOADING and the DEFAULT implementation. This implementation uses the customizing entries from BSPWD_EHSET_ASGN to determine the enhancement based on a client. You can also use this BAdI to implement other determination rules for an enhancement set.

      BR,

      Artur Litvinov.

  • Apr 06, 2010 at 09:59 AM

    I would suggest to create an implementation of mentioned BAdI. Make sure that the BAdI is called by maintaining the checkbox "Implementation is active". The code to determine Enhancement Set inside method IF_BSP_WD_CMP_LOADING_BADI~GET_ACTIVE_ENHANCEMENT_SET could be something like

    IF sy-uname = 'USER'.
      rv_result = 'Z_MYENHANCEMENT1'.
    ELSE.
      rv_result = 'Z_DEFAULT'.
    ENDIF.

    Regards, Arne

    Edited by: Arne Husemann on Apr 6, 2010 11:59 AM

    Add comment
    10|10000 characters needed characters exceeded