Role Config Key when testing component using BSPWD_CMP_TEST?

Hello,
I have component view for which we have done some configuration change and saved with some Config Key. This key has been already assigned to the business role. Now when testing this component how can I force the component to load the view based on this Config. Key?
Any help on this would be really appreciated.
Thanks and Regards,
Vasu

Vasu,
You don't need the Business Role assignment via Org. Model to accomplish this.
For the Business Role >> assign a PFCG Authorization Role>> assign the right Role Config Key that you used for changes on the front-end.
Now assign the user to this PFCG Authorization Role in (Transaction PFCG) or can be done from SU01 for the user. (*Optional: see that you assign the same Business Role to the Parameter CRM_UI_PROFILE-this is not required).
It's only the PFCG role that controls the authorizations for what is displayed and config changes relating to the role config key and the business role.
And this should work without errors. 
Regards,
Krishna

Similar Messages

  • Ui configuration at run time using role config key and object type

    Hi experts,
    Let me start by admitting that I am very new to the crm webui. I have a requirement in which I need to create a few z business roles and unique role config keys for them. And I have been given some requirements like below.
    - Access to Account, Service Request, Knowledge Article and FACT sheet data
    - Able to display all service requests.
    below is the processing logic that I have been told.
    Using the role config key, different view configurations would be created for respective components in
    the component workbench.
    Based on the business role, respective role config key would be picked up and the corresponding
    view would be displayed on UI.
    In addition to this, in the IMPL class of the component work bench, DO_CONFIG_DETERMINATION
    method could also be used to specify which role config should be picked up.
    Do they mean that using same role config key, I need to create more than one UI configuration? I was also told by some one that I need to create the configuration according to ui objects and sub object and then inside the  DO_CONFIG_DETERMINATION methode, I can check the role config key and hard code the ui object and the sub object. But I do not know how to create them.
    Could anyone tell me from where I can start and how to achieve this task?
    I apologize if my question is very basic.

    Do they mean that using same role config key, I need to create more than one UI configuration? I was also told by some one that I need to create the configuration according to ui objects and sub object and then inside the DO_CONFIG_DETERMINATION methode, I can check the role config key and hard code the ui object and the sub object. But I do not know how to create them.
    Could anyone tell me from where I can start and how to achieve this task?
    I apologize if my question is very basic.
    You can do the following
    a) Go to the view you want to create a new configuration.
    b) Choose 'Copy Configuration' .
    c) There you would be asked to enter the Role Config Keys , Object Name & Sub Object Name. You can choose your own names for Object Names & Sub Object Name.
    d) go to DO_CONFIG_DETERMINATION. There based on your logic you can load the configurations this way
            IF (your_condition) EQ abap_true.
              CALL METHOD me->set_config_keys
                EXPORTING
                  iv_object_type          = 'your_object_type'
                  iv_object_sub_type      = 'your_sub_obj_type'
                  iv_propagate_2_children = abap_false.
    Regards
    Kavindra

  • Role Config Key Not Working under Business Role

    Hi Gurus,
    I have created a Z role configuration key under a Z business role which is assigned to my user id. I have done some configuration changes under that role config key. Now when i login with my user id, i am not able to see the config changes. It always shows the standard config.
    Please let me know if i have to do any additional thing to get the custom config.
    Appreciate your inputs.
    Thanks,
    Sujani.

    Hi All,
    I have enhanced the standard component IUICOBJD for the Point of Delivery view. I have written the following code in the DO_CONFIG_DETERMINATION
        DATA: lr_config TYPE REF TO cl_bsp_dlc_configuration2,
                 ls_ui_profile TYPE crms_ui_role_profile.
        lr_config ?= me->configuration_descr.
        cl_crm_ui_roles=>get_role_attrib( IMPORTING es_role_attributes = ls_ui_profile ).
        IF ls_ui_profile-role_config_key = 'ZPOD'.
          lr_config->if_bsp_dlc_config_appl~set_object_type( '<DEFAULT>' ).
          lr_config->if_bsp_dlc_config_appl~set_object_sub_type( '<DEFAULT>' ).
          lr_config->if_bsp_dlc_configuration~set_component_usage( '<DEFAULT>' ).
          lr_config->if_bsp_dlc_configuration~set_role_key( ls_ui_profile-role_config_key ).
    However, The standard configuration is still coming. If i perform some action on the screen then it is taking the custom configuration. I want to display the customer configuration the very first time.
    Please help me in this regard.
    Thanks,
    Sujani.

  • Can we avoid commits to db when testing svcs using ud32

    Hi,
    I have a test service that does some updates to db without any commits in it.
    Even though I don't provide -t parameter when testing the service using ud32,
    I noticed that the updates are committed to the db even though the service errors.
    Is there any way to use ud32 and avoid these updates.
    Thanks
    Kishore

    Kishore,
    When ud32 is invoked with the "-t timeout" option, any error return from tpcall() will cause tpabort() to be called.
    Therefore, if the service you are calling is located in a group with OPENINFO and TMSNAME parameters specified, no updates should be made to the database if the service call fails. When an OPENINFO string is specfiied, Tuxedo takes care of opening and closing the database and committing or aborting transactions via the XA interface. This is the preferred way to manage transactions in Tuxedo and is needed if transactions will span multiple databases. When using XA the application should not code any EXEC SQL COMMIT WORK or similar statements on its own.
    XA is not the only way to manage transactions in Tuxedo. In a group without OPENINFO specified and without TMS processes, the application takes care of opening and closing the database and managing transactions. Transactions may be committed either via explicit statements in the application or implicitly according to the rules of SQL or whatever other database interface is being used. In this case, a tpbegin(), tpcommit(), or tpabort() done in the Tuxedo client will not have any effect since the database updates are being done outside of a Tuxedo global transaction.
    I suspect that the latter case may apply to to your application and this may be why you are seeing database updates even though the service fails.
    One option to debug is to
    export TMTRACE=*:ulog:dye
    before invoking ud32. This will write messages to the userlog showing each ATMI or XA call that was performed in the ud32 client or in the server.
    Ed

  • Flash CS4 on MacOS 10.6.7 crashing when 'test movie' used

    Hi all,
    I have a MacBook Pro running Mac OS 10.6.7.  I am using Flash CS4 10.0.2.
    I recently upgraded computers from another MacBook Pro, and installed the same version of CS4 on this new one.
    However, given this new computer has lots more RAM and more grunt and is by far less 'clogged up' than my old one (which was about three years old) it crashes all the time when I press CMD-ENTER to test my movies in Flash.
    These are FLA's I've worked on for months on my other computer.  When I open the SWFs in Flash Player (i.e. outside the authoring environment) I do not get any crashes.
    I have noticed the CPU rockets upwards to 100% just before the crash (and hovers around 80% even when nothing is moving on the screen etc).  It doesn't do this in the Flash Player.
    I have scoured the web and can't seem to find what the problem might be.  They're known good FLAs (i.e. they worked on my other computer in the same version of Flash) and this computer should definitely be able to cope with them, given the old one did.  What might be the cause?
    Here's an example of the error report that Mac OS throws up after the crash:
    Process:         Adobe Flash CS4 [43416]
    Path:            /Applications/Adobe Flash CS4/Adobe Flash CS4.app/Contents/MacOS/Adobe Flash CS4
    Identifier:      com.adobe.flash-10.0
    Version:         10.0.2.566 (10.0.2)
    Code Type:       X86 (Native)
    Parent Process:  launchd [146]
    Date/Time:       2011-06-15 15:14:43.937 +1200
    OS Version:      Mac OS X 10.6.7 (10J4138)
    Report Version:  6
    Sleep/Wake UUID: 85F82BE0-C1EA-43C7-9A7C-77DA38363765
    Interval Since Last Report:          177155 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  89418 sec
    Per-App Crashes Since Last Report:   10
    Anonymous UUID:                      C8B710B0-DB36-428D-834D-975007911DCD
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ff1c9680
    Crashed Thread:  41
    There's more info in the report but I imagine this is the significant bit.
    If anyone at all can suggest an answer to this problem that fixes it or contributes directly to a fix, I'll send you a thank-you gift of some description regardless of wherever in the world you might be.  I'm losing hours and hours of productivity on this.
    Many thanks!
    G

    As you've discovered some applications don't launch correctly using Migration Assistant. In particular Adobe applications like Acrobat or the Creative Suite should generally be newly installed from their install disks.
    It's probably because Adobe applications spread their resources between many different files in many different places. They also are serialized (so they won't be stolen) requiring secret serialization files to be installed. Some of that probably isn't being copied in a way that will make it work after migration assistant.

  • How can I get role configuration key in an abap program?

    Hello there!
    In a abap program I would like to get which configuration key it is running.
    The idea is, our abap program will decide which instruction execute depend on the current configuration key, but, we donu2019t know how to get this information.
    Does anybody know a BAPI, BADI or something like that to do this?
    Regards,
    Laercio

    Hi,
    Threre is no standard API provided for this however you can use following code snippet do get your jobe done.
         data: LV_PROFILE type ref to IF_CRM_UI_PROFILE.
         data: LV_ROLE type string.
         LV_PROFILE = CL_CRM_UI_PROFILE=>GET_INSTANCE( ).
         if LV_PROFILE is bound.
            LV_ROLE = LV_PROFILE->GET_PROFILE( ).
         endif.   
    Now, the LV_ROLE will contain the ID of the Business Role.
    If you're interested in the role config key you might add the following lines of code.
           if LV_PROFILE is bound.
             RV_RESULT = LV_PROFILE->GET_COMPONENT_PROFILE(
                           CL_CRM_UI_PROFILE_ROLE_CONFIG=>GC_PROFILE_ID ).
           endif.

  • ERROR: "key not valid for use in specified state" when updating to Lightroom 5.6 in Win8.1

    While doing a routine update from Lightroom 5.5 to v5.6 in Win 8.1, the installation halted at the start of the installation with the vague error message, "key not valid for use in specified state".  Although v5.5 was working just fine, the install routine deleted the v5.5 application files.  I rolled back to the previous system restore point (set just prior to the install) and recovered the executable files.  However, now the 5.5 files won't open the default catalog, none of the backups, or even create a new catalog.
    As v5.x was purchased as an update to v4.x, I've tried to reinstall the original Lightroom v4.x app from the factory disk.  I get the same error.
    Suggestions?
    Thanks. Dan

    I have a similar problem to Dan. while doing a routine upgrade from Lightroom 5.5 to 5.6 I got the
    : "key not valid for use in specified state"
    error and now Lightroom has completely disappeared. I've tried to uninstall, but there is nothing to uninstall. Going back to try to install the original 5.4 just results in the same error.
    A problem may have been that I closed Lightroom when the upgrade started to download. It then re-opened again when the install was halfway through., I assumed that was an error and closed it. just after that the error first appeared in the installer.
    I still had an older version of lightroom 4 installed. I've uninstalled it, and that didn't make any difference.
    I've also tried removing anything in the registry left over from the old installs and that didn't help either.
    Any suggestions?
    CHeers, Angus

  • Key not valid for use in specified state - I do I fix this error when installing Adobe Reader

    How can I install reader when I get this error: key not valid for use in specified state

    That error is caused by a Windows Update.  Make sure you have all subsequent updates installed.

  • Cannot Open A Library File Using the 'Option' key When Launching iTunes

    I found that when I tried to open a different iTunes library file then my default by using the 'option' key when lanching iTunes that the iTunes Library file was greyed out.
    I looked in the previous Library Folder and noticed that the old file had the extension .itl.
    My solution was to add the extension .itl to the end of the of the file name of my iTunes Library files and things then worked when launching with the 'option' key. As an example 'iTunes Terry Library' became 'iTunes Terry Library.itl'. I applied this to all my iTunes library filles and all is well. Of course make a duplicate of the file you are going to change so you have a backup file.
    I am using iTunes 10.4 and Sno-Leopard 10.6.8.
    MJ

    No, choose library works in Windows. The thread you linked to suggested that, on OSX at least, iTunes now behaves like almost every other application in that you can open a data file associated with the application and it opens that data file rather than a different one it had opened in the past. I was hoping things might have actually changed.
    In short, holding shift or option while launching the app is a very clunky way of opening an alternative library given the standard behaviour of the GUI where "opening" a data file normally opens the application that can work with it.
    tt2

  • Acrobat X Pro 10.1.12 under Yosemite crashes when trying to use arrow keys to navigate.

    Acrobat X Pro 10.1.12 Mac
    Yosemite OS X 10.10.1
    Acrobat now crashes when attempting to use arrow keys to navigate. This is true on both MacBook Pro 15 retina and Mac Pro.

    I ended up upgrading to Acrobat XI. This works, but Adobe is up to its old tricks changing the interface from what we're used to using. They now have decided to hide all the tools. You have to delve deep into the program to find the tools, then set up your own tool menus. Lord help you finding a tool that you use too occasionally to put on a custom menu.
    Adobe has been doing this for years now. In Photoshop of olden days, it was simple to set up a brush, say, that you used frequently. Quite a few updates ago they made that vastly more difficult. And they've replaced words with happy little icons, that are not at all intuitive to use. I challenge you, too, to look at the icon for the airbrush and tell me whether it is on or off. (Sorry, this is mainly about Photoshop, but what they've done to the latest Acrobat is just as bad.)
    Of course, their ultimate cuteness in making things difficult for the user is their essential abandonment of a Help system. You can't do a simple look-up of a function -- you have to go to an internet site and sort through a bunch of forums and user comments to get any information.
    JEEZ Adobe!

  • When I try to install Adobe Acrobat XI Pro, I get an error message, "Key not valid for use in specified state".  What is this?

    When I try to install Adobe Acrobat XI Pro, I get an error message, "Key not valid for use in specified state".  What is this?

    See if this post by turingtest2 fixes it : key not valid for use in specified state

  • How to use ADF variables in C:when test?

    I have a <af:iterator in my page fragment as follows
    <af:iterator id="i1" value="#{queryModel.currentDescriptor.conjunctionCriterion.criterionList}" var="criterion" varStatus="vs">
    Within this iterator, I want to make a decision absed on the index of the iterator. To do this test, I am using jstl as follows
    <c:when test="${vs.index == '0' or vs.index == '2' or vs.index == '4'}">
    This test is however always evaluating to false. I have tried cahnging my code using various combiantion as below ...
    <c:when test="#{vs.index == '0' or vs.index == '2' or vs.index == '4'}">
    <c:when test="${vs.index == 0 or vs.index == 2 or vs.index == 4}">
    <c:when test="${vs.index == '0' || vs.index == '2' || vs.index == '4'}">
    But nothign seems to be working fine.
    Can some one help me with what I am doing wrong?
    Thanks.

    How to use ADF variables in <C:when test?

  • Key not valid for use in specified state when running install_reader11_en_mssd_aaa_aih

    After downloading, Version XI (11.0.08)
    at
    http://get.adobe.com/reader/download/?installer=Reader_11.0.08_English_for_Windows&os=Wind ows%207&browser_type=KHTML&browser_dist=Chrome&d=McAfee_Security_Scan_Plus_Chrome_Browser& dualoffer=false
    running, and installing _reader11_en_mssd_aaa_aih
    I get "
    adobe reader installer error
    key not valid for use in specified state
    Using Windows 7, tried google chrome and firefox browsers
    system report created but could not send

    This worked:
    Solution 2: Re-create the Crypto folder.
    Close Acrobat. 
    In Windows Explorer, do one of the following:
    On Windows XP, navigate to C:\Documents and Settings\[your user name]\Application Data\Microsoft.
    On Windows Vista, navigate to C:\Users\[your user name]\AppData\Roaming\Microsoft.
    Note: These paths include hidden folders. To make hidden folders visible, see "Windows Tip - Show hidden files and folders" (TechNote kb402324).
    Rename the Crypto folder as Crypto Old. 
    Open Acrobat. The Crypto folder will be re-created automatically. 
    Error: "Creation of this signature could not be completed. Platform Exception" when you sign a PDF (Acrobat 8, 9 on Wind…
    Then deleted wse_andromenda files in control panel programs, run regedit

  • I get this error when downloading key not valid for use in specified state what do i do

    i get this error when downloading key not valid for use in specified state what do i do

    What is your operating system?  What are you trying to download?

  • When trying to download Itunes this pops up " key not valid for use in specified state" what does this mean and how can I fix it?

    When trying to download Itunes this pops up " key not valid for use in specified state" what does this mean and how can I fix it? I am using a pc laptop if that makes any difference.

    Try reading through this thread: key not valid for use in specified state. Possible solution involves moving the RSA folder. Rather than deleting it as aniwack suggested I'd try this:
    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    tt2

Maybe you are looking for

  • Merging Basic data View and Classification View in Material Master

    Hi, There is a requirement to append Classification View under Basic Data View and then finally to delete Classification View. As per my understanding, it is not possible. Please let me know if it is possible, if so, please let me know how is it poss

  • Cannot Open Attachments within a pdf document

    Dear Staff, In my windows 7 netbook I can open files attached to  PDF documents is there a reason why I cannot open these files within windows 8.1 RT with the adobe Reader Touch? is there any setting to adjust to have this function active or Adobe Re

  • Harman Kardon Subwoofer

    Hi, I have a Harman Kardon Subwoofer (transparent edition) and would like to connect it with my new MacBookPro. But unfortunally, the system does not recognize this audio monitor. Do I need a special driver? Has anybody an idea? Thanks Hartmut

  • Web Application Creation Speed Slowing

    Hi all, thanks for any help with this. We found an issue with our SharePoint 2013 farm and I'm hoping someone can tell me if this is expected behavior or not. First some background, our company sells several products and marketing wants different sit

  • I can't find the IOS7 parallax toggle in settings

    has apple not installed parallax on IOS7 now? I can't seem to find it or see it working