cancel
Showing results for 
Search instead for 
Did you mean: 

Active Enhancement Set

Chris_Schutz
Active Participant
0 Kudos

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 .

Accepted Solutions (0)

Answers (3)

Answers (3)

arne_husemann
Explorer
0 Kudos

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

former_member189678
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.