on 04-01-2010 10:10 PM
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 .
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.