Is it possible to change Enhancement Set at  runtime ?

If yes plz give an example

Hi Anjeyulu,
You can set the Enhancement Set in the Implementation for the Badi - Component_Loading, Method - Get Active Enhancement Set, as already mentioned by Bhushan. Here you need to assign the required Enhancement Set name to the Returning Parameter of the method - RV_RESULT. For  e.g., if you want to load a particular enhancement set for a business role, you can code as follows -
DATA: lr_profile TYPE REF TO if_crm_ui_profile,
          lv_profile TYPE string.
lr_profile = cl_crm_ui_profile=>get_instance( ).
lv_profile = lr_profile->get_profile( ).
IF lv_profile = 'SALESPRO'.
         rv_result = 'ZENH_SET'.  "your enhancement set name
ENDIF.
Regards,
Rachna

Similar Messages

  • Is it possible to change Application Module at runtime?

    Hi all!
    I'm trying to change Application Module for my page at runtime. I've used such code:
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAWebBeanContainer webBeanContainer = (OAWebBeanContainer) webBean;
        webBeanContainer.setApplicationModuleDefinitionName("mypackage.MyAM");       
        webBeanContainer.setApplicationModuleUsageName("MyAM");
      }but I see that Application Module haven't been changed.
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
       System.out.println(pageContext.getApplicationModule(webBean).getFullName());
       System.out.println(pageContext.getApplicationModule(webBean).getDefFullName());   Is it possible to change Application Module at runtime?
    How can I do it properly?
    Pavel

    The AppModule for a page is configured in an attribute of the root element of that page. Maybe that attribute is available at the OAWebBean parameter in processRequest.

  • Mac: is it possible to change playback setting so that it'll still play if I minimize Premiere?

    Hey all
    To describe my situation; I edit with Premiere and sometimes I want to just check the audio whilst browsing the net or something else. However every time I select an application other than Premiere during playback, it pauses playback, which is annoying.
    I've googled it and looked in the settings but can't seem to find a way around it? Is it possible to change it so that it'll play back regardless of what I am looking at?
    Many thanks!

    Most welcome and do not forget to file the Feature Request. Not sure what it will take from Adobe's standpoint, but many have asked for the playback capability, when focus has shifted, for whatever reason.
    I encounter this, but most often when needing to play the video portion, while recording narration in another program. For that, I use a slight variation on Joe's workaround, and just Export my "reference file," to be played in an AV file player, like VLC, while recording. I do similar, when going to SmartSounds' Sonicfire Pro Scoring Edition, but now they have a plug-in, so those days will be gone for me, as soon as I do some updating. For years, it was always Export a reference file.
    Good luck,
    Hunt

  • Since recent updates, I have noticed that my apps close automatically when I am distracted. In some cases it is time consuming to sign back in and get back to the task I was doing. Is it possible to change a setting so the apps will stay open?

    Since recent updates of iOS, I have noticed when using my iPad that my apps close automatically when I have to leave the room or am otherwise distracted for a few minutes. It is sometimes time consuming to sign back in and get back to the task where i left off. Is there a setting I can change so it will keep the apps open until I am ready to close them? Thanks for your help.

    Did you have this problem before Restoring you iPad?
    If you did then did you restore with a backup. You may have reinstalled something that is conflicting in this back up
    If not then sounds like either something went array with the clean install or a hardware issue.
    I know it's long winded but have you tired a clean install then downloading the apps again?
    PJRS

  • Is it possible to change memory size while runtime?

    Hi!
    Is it possible to set the Xmx value while runtime?
    I try to do something like this java Myclass -Xmx128mBut only in a dynamically way while my application is running.
    I'm developing an image-rendering - extension for an existing app and there's no chance to edit thejava XYZ statement.
    I don't think that's possible, but If anyone has an idea....
    Thanks!

    Yes. Both RAM and the hard drive are easily accessible and replaceable. The warranty is not voided because both are considered DIY. However, if you damage the computer in the process then your warranty will not cover that damage. But it is not voided.

  • GP - Email templates-is it possible to change Email title at runtime

    Hello Gurus,
    We have a requirement in GP , we need to show value of one of the context parameter in Email Title, is it possible? if yes,please post snap shot of the Code here......
    Thanks & Regards,
    Veera.

    Reply from SAP..
    Hi Veera, Using the standard mail templates in GP, it is not possible to add context variables for the mail subject. These can be only added to the mail content.
    You can submit a development request at; www.service.sap.com/drq Here they will;
    1) Provide a fix specifically for your system.
    OR 2) Provide you with the most up-to -date information on whether this is something that is being developed or will be in the future.
    OR 3) Put this down on a 'wishlist' for you.
    I am closing this thread...

  • Is it possible to change the automatically set image on the new iMovie Theater title screen?

    I made a few movies on the new iMovies 2013 then uploaded into iTheater. I love the software and its ease of use. However, I noticed iTheater automatically sets the title image. Similar to youtube, iTheater probably uses the video mid point image as default. Is it possible to change the set image on iTheater?

    Unfortunately, no.

  • Mighty Mouse wireless: changing the setting of the low battery indicator

    Hi,
    It seems that the low battery indicator for the wireless mighty mouse appears when the battery level goes under 30%. Is it possible to change this setting, e.g. make it occur when it passes the 5% of remaining battery?
    Thanks!

    I fully agree with Tibo. I'd like to change this setting as well.
    This low battery warning may be a good heads-up for someone who feeds their MM cheap batteries but, I got two Energizer AA Lithium batteries in mine and it literally "keeps going and going..." consistently for weeks while constantly receiving the annoying low battery warning.
    Come on, users a perfectly capable of deciding what is fair-warning on the life of batteries we feed the MM.

  • Change SWFLoader source during runtime

    Hi
    I am using SWFLoader  to load png images.
    Is it possible to change SWFLoader source  during runtime?
    Thanks
    Amir

    Yes,you can.Just assign the new source to the source property of swfloader.

  • Change Tuxedo licence on runtime (Tuxedo 9.1)

    Hi,
    Is it possible to change the licence at runtime on Tuxedo 9.1 ?
    Indeed, on a live Tuxedo environment, the licence file (lic.txt) was modified to replace a wrong one (extension from 10 to 20 users) without rebooting Tuxedo on the machine.
    It seems this change is not taken into account by Tuxedo because the error CAT 4747 continues to be generated in the ULOG file.
    Best regards.

    Hi,
    I believe the Tuxedo license file is read at application boot time, so no, you won't be able to change the license on a running system. Please note that in recent versions of Tuxedo no license file is required (although obviously a license is still required!)
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Can we change the enhancement set for a component

    Dear All
    I have a situation where in we need to change assign a different enhancement set to all our components which got enhanced.
    We can only have 1 enhancement set active for a client.
    Now in our case
    Say for client 300 we were using Enhancement Set E1.
    Our requirement is to create one more enhancment set E2 and assign it to client C1. We can do that.
    Do we we have a mechanism to move all development already done using E1 to E2?
    Please Help.
    Thanks
    Gaurav Sahai

    Hi Gaurav,
                   We create enhancement set in SM30, then assign it to client also there.
    After that, when we go to BSP_WD_CMPWB - by default we see the enhancement set assigned to the client. Now there are 2 things:
    1. to use different enhancement set for different users - you can implement badi component_loading to load different enhancement set depending on business requirement by writing code:
    RV_RESULT = <name of ENHANCEMENT_SET. >
      there is a default implementation in the system for reference.
    2. all enhanced views can be seen in transaction SM34, give name of view cluster as  BSPWDVC_CMP_EXT
       Select your enhancement set -> go to Enhancement Definitions (here you see components enhanced) -> select any -> go to Controller Subsitutes (here you see all view enhanced).
      You can try copying all these entries into another enhancement set. I am not sure if it will allow same entries in two different sets (if it doesn't you will have to delete from the other).
    I hope that resolves your query.
    Thanks,
    Rohit

  • What are the changes / enhancements / or possible bugs in LR 5 Auto Tone

    Can anyone explain what, if any, changes, enhancements, or possible bugs were introduced in the functionality of Auto Tone since LR ver. 5.0. The reason I ask is that I get different results for the Exposure and Contrast adjustments when applying Auto Tone (using ver. 5.3) from the results  (using ver.5.0) shown in the book "Adobe Photoshop Lightroom 5 CIB" in the "Using Quick Develop in the Library module" section, step 4 on page 37. (This difference in results between LR versions was confirmed by the authors of LR5CIB.)

    I'm not sure about any new bugs but the radical exposure mis-calculations have been improved. I had photos that were over exposed to 5 (and even 10, believe it or not) that were exposed to a more appropriate 2 or so following the improvements (in Lr5.2 if memory serves). It's also less likely to radically underexpose.
    Enjoy, (in my opinion, it's much better)
    I think there may have even been further improvement in Lr5.3 but I can't swear to it - seems to preserve a little more contrast than in 5.2 - could be my imagination..
    Rob

  • Possible to change video to podcast in video setting?

    Is it possible to change the video setting in the info section on files on my ipod so my videos show up under podcast?

    Hi
    Thanks for the help, however the issue was due to the language difference in the systemobject. I could only translate the text of the object because it was maintained in a different language.
    However the topic was also combined with some technical issues in the system's setup.
    regards,
    Nana

  • Need to change field details of view but no enhancement sets exist.

    I am attempting to change one of the fields in the Accounts screen, changing it from a help value field to a field that will be populated with data from ERP. I'm okay with the appropriate code to populate the field but what I don't know is how I can initially create an enhancement set. When I look at the component and view the [Enhance Component] button reveals no enhancement sets.
    My understanding is that I will need an enhancement set in order to change the code/method related to the field. But how do I create one?.
    Where I believe the problem may be is that when I execute the transaction BSP_WD_CMPWB all I get is a Component and Test Application entry field and three buttons underneath with Display, Create and Test. There is NO Enhancement Set option or  icons in the far right corner to Create or Delete.
    What can be wrong here?.
    I should point out that this is abrand new CRM 7 implementation and there are NO enhancements sets in existance at the moment, which might be why this screen looks like it does, but this is surely a bug as I don't (using this transaction) have the option to even create an Enhancement Set.
    If this is the reason then maybe I need to create some kind of dummy enhancement set that more or less does nothing, and therefore no harm, and which may trigger the Enhancement Set field to be displayed when I enter the BSP_WD_CMPWB transaction.
    Anyone...
    Jason

    Micha, that little icon to the left of the component field was not there, but there was a different one saying 'SAP standard'. Anyway, I clicked on this icon and changed to the little man with paper behind him, and, the Enhancement Set field was also displayed, along with the create/delete icons as well.
    I've never paid much attention to that Icon before and had not realised it was switchable.
    You live and learn.
    Now that I can create an Enhancement set I can finally get on and make the changes required.
    With regards
    Jason

Maybe you are looking for

  • Deleting photos from LR3 is excruciatingly slow

    I'm finally getting around to cleaning up a catalog from last year that has several thousand photos that I don't want to keep. I am running into a strange behavior trying to delete these photos from within LR3. If I filter on only photos rated as one

  • Function and Customisation for Offsetting Account

    Hi, We are on ECC 5.0 version of SAP , when we run ledger Report FAGLL03, and choose Customer/ Vendor field in display option within a GL nothing  gets populated . Whether this functionality can be fulfilled by activating Offsetting Account and if ye

  • Z60m System logging out on start up

    I am facing problem with my Z60m Laptop. After Signing in, the windows start up screen comes up and after sometime, I get a Message Logging off and the system logs off automatically. I tried starting the system in the Safe mode but with same result.

  • How to troubleshoot Software Update Deployment Errors

    Hi Guys, Could you guys please help me to troubleshoot 'Software Update Deployment Errors'. I have been trying to troubleshoot the below mentioned errors but I am not sure what step should I take for each different errors. Could you guys please help

  • Help with Group Policy

    Hello all, I am new to Group Policy. Server is running Windows 2008 R2. All client on Win 7. I have made a folder redirect by creating it on Default Domain Policy instead of creating gpo. Is there a downfall and if so, how do i redo and have it fix ?