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

Similar Messages

  • 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

  • How to call the Application configuration in run time.

    hi guru,
    i have created two  Application configuraton   and it working fine.
    my question how to call the application configuration in run time.
    Example :
    Based on the user i want to change the Application Configuration.like Super user and Normal user.
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    Please try out this way-
    Have a look at this table -
    WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
    after you are done with the configuration--
    Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
    Please refer to these links -
    different default layouts for different CONFIG_IDs
    Get WDCONFIGURATIONID
    Regards
    Lekha

  • 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.

  • Run-time error '1004' Application-Defined or object-defined error

    Hello friends,
    My requirement is to make the cells under Columns Actual, forecast and target (Dimesnion Category) Locked.
    I've used various methods like GetOnlyRange but it didnt work.
    Now, i've selected all the cells of the sheet, where user can input and made them unlocked. ( from Right-click>FormatCells>Protection tab-->Locked checkbox unchecked)
    Then, go to "review" tab, click "Allow Users to edit Ranges",-> Protect Sheet---> ticked "Unlocked Cells"
    Then go to WorkBook Options and set a password for the worksheet.
    But on expand, I'm facing Run-time error '1004' Application-Defined or object-defined error.
    Please help.
    Please help.

    Hi,
    I think that  is VBA Runtime error, you can fix these errors by downloading in various sites.
    http://www.articlesbase.com/data-recovery-articles/vba-runtime-error-1004-application-defined-or-object-defined-error-fix-these-errors--1339060.html
    You can try with the above link.  I hope this could solve your problem.
    Regards,
    B.S.RAGHU

  • Run-time error -2147417848 (80010108), method '~' of object '~' failed

    Hello
    I have an application written in VB6 which uses Crystal 9 Reports (RDC). The application is running on Windows XP, SP2.
    On this PC is .net Framework 2.0 installed and since then from time to time I get the message:
    run-time error -2147417848 (80010108), method '' of object '' failed
    But this error doesn't appear always, but when it happens, it happens always at setting the datasource
    example:
    repReport.Database.SetDataSource rsDummy
    Does anybody know why this is?
    Thank you for your help.

    Hi, Urs;
    Whereever the error is occuring, you should ensure you have the latest version of our files. For a client install, be sure that you are using the latest Merge Modules from our web site to deploy your application.
    If you are not getting the error on your development system, you may have newer files there than on the client.
    Regards,
    Jonathan

  • Run-time error '1004' -- Method 'Container' of object '_Workbook' failed

    Dear All,
    One of our users is getting the following Microsoft Visual Basic error while running the report S_ALR_87013614.
    Run-time error '1004'
    Method 'Container' of object '_Workbook' failed.
    I have searched the forum posts for help. But I only found some details related to Run-time error 1004 related to some excel file security but not related to "Method 'Container' of object '_Workbook' failed".
    Could anyone please tell me how this error can be eliminated for the user?
    Regards,
    Lakshmi.

    Dear Arpan,
    We too observed a few PIDs along with the one that you have mentioned but they make no difference. Some users who has the PID G_RW_DOCUMENT_TYPE set with some value are getting the report.
    Upon further searching we are assuming that it could be an issue with the Microsoft applications or macro settings of the user. But not sure about it.
    Regards,
    Lakshmi Venigala.

  • Using the Alt key and numeric code from Character Map to insert special characters in Office 2010 programs

    I am used to using the ALT key and specific numbers for characters from the Character Map to place characters in Office programs like Outlook, Word, Excel. I have a new Lenovo T530 Laptop running the Windows 7 Professional Operating System. I have MS Office
    2010 Home and Business. In previous versions of Office, this feature worked first time, every time. On this machine, it is a 'no go' situation. Lenovo tech support says it is a Microsoft issue and Microsoft says it is a Lenovo issue. Either way, I'm having
    difficulty resolving the issue and getting this wonderful featrure working for me. Any suggestions and guidance would really be appreciated. Thank you. 

    Hi,
    Haven't been verified this myself, but since this feature require to use the numeric keypad to input the value, I suspect the cause of the issue is the laptop keyboard.
    To workaround this issue, try enable the numeric keypad from your laptop keyboard, normally, we can enable it by press
    Fn + Num Lock.
    After that, try insert characters again.
    Max Meng
    TechNet Community Support

  • TS1578 How can I remove this "feature" ? I always use caps lock key and it's so annoying ! I'm fed up ! I received my new MBA yesterday, but I think I'm going to come back on Windows because of that ! So is there a solution to remove this annoying feature

    How can I remove this "feature" ?
    I always use caps lock key and it's so annoying (I write very fast) ! I'm fed up ! I received a MBA 13" yesterday, but I think I'm going to come back to Windows because of that !
    So is there a solution to remove this annoying feature ?
    Thank you very much

    Yes, this is really a deal breaker for me as you say ... I'm forced to write three times slower than I did on Windows 8, that's horrible (I used to type about 110 words/min).
    I'm going to return my Mac and I think I'm going to buy an Asus laptop instead ...
    What a shame that Apple does not do anything for this to be configured, I have read other forums and I see that I'm not the only one complaining about that ...
    How to lose customers so stupidly ...
    But thank you for your reply.

  • Unable to connect to Wi-Fi connection using WPA2 PSK authentication and encryption type TKIP

    I was referred to here from this thread at the Windows Insider Program: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_web/unable-to-connect-to-wi-fi-connection-using-wpa2/07bae1ed-c7fb-4f85-9d26-5549cc23e57a?msgId=2eb70420-fe35-494b-a13d-dcacd4d55eb9&rtAction=1426697691002
    My issue is copy/pasted below:
    Original Title: TKIP selection in WiFi network settings
    I have a workplace WiFi connection using WPA2 PSK authentication and encryption type TKIP.
    On the machine I used to test Windows 10, I had a previous installation of Windows 7 professional which connected to my workplace WiFi using the above settings. After installing Windows 10, my workplace wifi settings were imported and worked fine.
    Windows 10 had a system crash, and since I had deleted my previous windows installation, I performed a complete reinstall of Windows 7. However, when I went to install Windows 10 again, I had not taken the time to set up my workplace Wifi on Windows
    7 before installing Windows 10. As a result, I had to set up my workplace wifi as a new connection in Windows 10.
    When going to set up the wifi connection, the encryption type was grayed out, but appeared to default to AES. Searching the internet suggested that Windows 8.1 did not need a encryption type selected, because Windows could automatically determine
    if it was TKIP or AES, hence why the option to select encryption type was grayed out. However, after completing the setup of my workplace wifi, Windows 10 could not connect to my workplace wifi. After restoring Windows 7 with a factory reset, and setting up
    the workplace wifi (the encryption type selection was not grayed out and I manually selected TKIP encryption), my workplace wifi was working again.

    I was referred to here from this thread at the Windows Insider Program: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_web/unable-to-connect-to-wi-fi-connection-using-wpa2/07bae1ed-c7fb-4f85-9d26-5549cc23e57a?msgId=2eb70420-fe35-494b-a13d-dcacd4d55eb9&rtAction=1426697691002
    My issue is copy/pasted below:
    Original Title: TKIP selection in WiFi network settings
    I have a workplace WiFi connection using WPA2 PSK authentication and encryption type TKIP.
    On the machine I used to test Windows 10, I had a previous installation of Windows 7 professional which connected to my workplace WiFi using the above settings. After installing Windows 10, my workplace wifi settings were imported and worked fine.
    Windows 10 had a system crash, and since I had deleted my previous windows installation, I performed a complete reinstall of Windows 7. However, when I went to install Windows 10 again, I had not taken the time to set up my workplace Wifi on Windows
    7 before installing Windows 10. As a result, I had to set up my workplace wifi as a new connection in Windows 10.
    When going to set up the wifi connection, the encryption type was grayed out, but appeared to default to AES. Searching the internet suggested that Windows 8.1 did not need a encryption type selected, because Windows could automatically determine
    if it was TKIP or AES, hence why the option to select encryption type was grayed out. However, after completing the setup of my workplace wifi, Windows 10 could not connect to my workplace wifi. After restoring Windows 7 with a factory reset, and setting up
    the workplace wifi (the encryption type selection was not grayed out and I manually selected TKIP encryption), my workplace wifi was working again.

  • When I use the Alt key and the clone tool, I get a message that I did not use the Alt key to define

    Whe I use the Alt key with the clone tool, I get a message that I have to use the Alt key to define the area to be copied. What am I doing wrong?

    I tried to check the alined box, but it would not work. I was able to check
    the Sample box, but they they give you about 5 choices to check and I have
    no  idea what they are all about. I appreciate your help.
    Dino
    In a message dated 9/18/2012 11:09:06 A.M. Eastern Daylight Time, 
    [email protected] writes:
    Re:  When I use the Alt key and the clone tool, I get a message that I did 
    not use the Alt key to define
    created by hatstead (http://forums.adobe.com/people/hatstead)  in 
    Photoshop Elements - View the full  discussion
    (http://forums.adobe.com/message/4707426#4707426)

  • Running a SQL Script to Create an Object Type

    When I do Database Development with JDeveloper and fellow the instruction at
    http://www.oracle.com/technology/obe/obe1013jdev/dbdevelopment/obe_%20dbasedevmt.htm
    and try to Running a SQL Script to Create an Object Type by Right-clicking emp_rec.sql in the editor and
    choose Run in SQL*Plus > hrconn, the new Obuect type can not created. The screen flashs and I only got the
    message
    "Invoking SQL*Plus...
    D:\oracle\product\10.2.0\db_1\BIN\cemutls.exe
    hr@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)))
    @emp_rec.sql" and nothing else (No error like JBO-XXXXX).
    Can anybody Help Me? Thanks a lot!
    SID: ORCL

    Hi Simon,
    Having had a closer look at your original message it seems that rather than selecting the SQL*Plus executable in the directory you have managed to select the file 'D:\oracle\product\10.2.0\db_1\BIN\cemutls.exe'.
    If you go to 'Tools | Preferences' and select the 'Database Connections' node and alter the 'SQL*Plus Executable' field to 'D:\oracle\product\10.2.0\db_1\BIN\sqlplus.exe' and then try again, this should then work.
    Regards,
    Lisa

  • Help in using record type and object type

    Hi Experts,
    I am new to object types and record types.
    I want to return the output of this query using one OUT parameter
    from the procedure using RECORD type or OBJECT type.
    with out using refcursor.
    SELECT empno,ename,sal FROM emp WHERE deptno=30;
    Let us assume the query is returning 50 records.
    I want to send those 50 records to OUT parameter using record type or object type.
    Please provide the for the requirement code using RECORD TYPE and OBJECT TYPE separately.
    Your earliest response is appreciated.
    Thanks in advance.

    Hi All,
    I have tried this.But it ising not work
    CREATE OR REPLACE PACKAGE maultiplevalues_pkg
    IS
    TYPE t_record IS RECORD
    (empno emp.empno%TYPE,
    ename emp.ename%TYPE,
    sal emp.sal%TYPE);
    V_RECORD t_record;
    TYPE t_type IS TABLE OF V_RECORD%TYPE;
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type);
    END;
    CREATE OR REPLACE PACKAGE body maultiplevalues_pkg
    IS
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type)
    is
    begin
    dept_result :=t_type();
    for I in(
    select EMPNO,ENAME,SAL from EMP WHERE deptno=p_deptno
    LOOP
    dept_result.extend;
    dept_result(i).empno :=i.empno;
    dept_result(i).ename :=i.ename;
    dept_result(i).sal :=i.sal;
    END LOOP;
    END;
    END;
    Please help me OUT return multiple values through single OUT variable in a procedure.
    Thanks.

  • I keep getting the start menu and various programmes opening when I use a series of keys when working in my accounting programme, I am not using the command key and is very frustrating me, can anyone help me?

    I keep getting the start menu and various programmes opening when I use a series of keys when working in my accounting programme, I am not using the command key and is very frustrating, can anyone help me?  I am working on a Mac OS X Version 10.6.8, just need to know if I can reprogram the keys to stop this happening?

    Safari browser and menu shortcuts:
    http://docs.info.apple.com/article.html?artnum=42951
    Mac OS X keyboard shortcuts:
    http://support.apple.com/kb/HT1343
    http://docs.info.apple.com/article.html?artnum=75459
    Changing behavious of Function Keys:
    http://support.apple.com/kb/HT3399?viewlocale=en_US
    and more useful information on keyboard shortcuts here:
    http://www.myfirstmac.com/index.php/mac/articles/mastering-keyboard-shortcuts
    How to re-map individual keys:
    http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ukelele

  • Appending in file and supplying file name at run time using File Adapter

    Hi,
    Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
    Another query is can we create the file at run time with the supplied file name?

    In order to append to a file, we can use Append="true" in the interaction spec for the File/Ftp adapter.
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="/home/adapter/output"
    FileNamingConvention="OutputFile.txt"
    NumberMessages="1"
    Append="true"
    >
    Filename we can specify in wsdl...

Maybe you are looking for

  • How can I add a signature and insert pages?

    The security settings only let me either add a signature OR insert, rotate or delete pages. I need an option to do both. Is there a way to make my own custom security settings? Basically, what I need is a document that is not editable when you open i

  • Using network drive with time machine.  IS IT POSSIBLE?

    There are lots of discussion on using network drives with time machine. I have not been able to make them work. Could somebody tell me if this is possible

  • Mac "hiccup" - short freezes every few minutes

    I have 15" Intel MBP running OSX 10.6.3. Evey 15-20 minutes the system freezes or "hiccups" for 1 second. This is noticeable when I am streaming video from a USB drive connected to my Time Capsule, watching video from the hard drive or online, or pla

  • How to determine if Transparent Data Encyption was installed

    Hello - How can I determine if Transparent Data Encryption was installed on a 10.2.0.3 instance? Thanks!

  • Problem when importing objects from SLD to IR

    Hi When i try to import any object from SLD into IR i cant view all the components under Data Types Message Types Interface Mapping and other related nodes.Just the object gets imporetd but none of ts nodes are visible. Please let me know if any chan