Custom UME attribute with pre-defined values

All,
Is it possible to define a custom UME attribute which will have pre-defined values so that it appears as dropdown select when the admin creates a user?
Your help is appreciated.
Thanks

Hi Aakash,
I am not a software developer so I cannot really give you details. I can point you to our documentation: [SAP NetWeaver Developer's Guide|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8b/0b674240449c60e10000000a1550b0/frameset.htm]
This guide should point you in the right direction. The UME has a public API with which you access the attributes in question programmatically. What you do from there depends what you as a programmer want to do.
-Michael

Similar Messages

  • Reg: Retreiving Custom UME attributes

    How to retrieve custom UME attributes in webdynpro. Should i add any imports or jar files for that.

    Hi,
    add the com.sap.security.api.jar in build path.
    try {
         wdComponentAPI.getMessageManager().reportSuccess("** user attributes***");
         IWDClientUser wdUser = WDClientUser.getCurrentUser();
        IUserFactory fact=UMFactory.getUserFactory();
        IUser user=wdUser.getSAPUser();
        IUserAccount acc=user.getUserAccounts()[0];
       //user attribute
       String[] attNamesapces=user.getAttributeNamespaces();
       for(int i=0;i<attNamesapces.length;i++){
           String attrib[]=user.getAttributeNames(attNamesapces<i>);
           for(int j=0;j<attrib.length;j++){
               String h[]=user.getAttribute(attNamesapces<i>,attrib[j]);
                if(h!=null)
                  for(int k=0;k<h.length;k++)
          wdComponentAPI.getMessageManager().reportSuccess(attNamesapces<i>+"."+attrib[j]
    +"="+h[k]);
    //user account attributes
    wdComponentAPI.getMessageManager().reportSuccess("** user account attributes***");
    attNamesapces=acc.getAttributeNamespaces();
    for(int i=0;i<attNamesapces.length;i++){
       String attrib[]=acc.getAttributeNames(attNamesapces<i>);
       for(int j=0;j<attrib.length;j++){
           String h[]=acc.getAttribute(attNamesapces<i>,attrib[j]);
           if(h!=null)
              for(int k=0;k<h.length;k++)
             wdComponentAPI.getMessageManager().reportSuccess(attNamesapces<i>+"."+attrib[j]+"="+h[k]);
    } catch (Exception e) {}
    Regards,
    Naga

  • Object would have more then one attribute with the tag :VALUE

    I'm creating a new component in Ultiboard - a 100 pin connector.  This connector (Hirose) has 4 rows of 25 pins. Alternate rows are staggered. I'm trying to name each pin with it's appropiate name: A1, A2, A3 ....A50. Then B1, B2, B3 .....B50.
    When I change the VALUE or NUMBER attribute, I get the DRC error  message:
    This action cannot be completed because the resulting Object would have more then one attribute with the tag :VALUE
    Please remove one of the attributes and try again.
    Okay, so I've tried deleting the tag and now I can't name the pin at all. 
    What am I missing?

    You should be in the footprint editor to edit the pin name.  Select tools>>Database>>Database Manager, highlight the component in your database and click on the Edit icon.  In the footprint editor, double click on the pad and a SMT or THT pin Properties dialog appears, select the Attributes tab and highlight the Number row, press the change button and you should be able to change the pin name.   
    Tien P.
    National Instruments

  • SPML Provisioning with custom UME attributes

    Hi,
      we are trying to provision users to the SAP Web Application Payer Direct (Part of Biller Direct in FSCM) from IDM. Payer Direct is deployed on an SAP Java Engine. Therefore the natural choice to provision using IDM is the SPML connector provided out of the box. Payer Direct has different ways of setting up user management, one of them being a variant referred to as UME Usermanagement which in a nutshell accesses the backend system using a reference user + vendor number. Both reference user and Vendor number are maintained using additional attributes on the UME. So basically many users are maintained in the webapplication whereas only few user are maintained in the backend system. The setup  is described here:
    http://help.sap.com/saphelp_afs64/helpdata/en/42/c87e28c84e136ee10000000a1553f7/frameset.htm
    Now here are my questions:
    1) We know the the UME API supports this configuration as we have developed a J2EE app creating users in the UME populating these fields using the UME API in a similar context. The question is, does the SPML interface support this as well ?
    2) The structure of the SPML request is defined by a file called "schema.xml". Can this be customised and what is its location ?
    3) If the file can be customised  we could add the additional fields to the schema definition by modifying schema.xml. The question though is how would e.g. the SPML create operation recognise the additional fields and "know" what to do with them, i.e. populate the native UME API (which I presume it does) ?
    Any bright ideas ?
    Andy

    Thans for your reply, But how do I get the info of sales org. I can get the userid into BSP, from that user, I have to go and read UME Attributes and get the sales org. But I am not sure, how to read these attributes.
    Please let me know if you have any idea on how to read UME Attributes.
    Thanks,

  • Reg: Custom UME attributes

    How to add custom UME attributes

    Hi Prashanthi,
    The User Management Engine (UME) provides data source configuration files that define a configuration for standard scenarios. If none of these files cover the scenario that you require, you can modify the existing configuration files according to your requirements.
    1.Download the data source configuration file that most closely meets your requirements.
    For more information about accessing the file when the AS Java is running, see [Accessing Data Source Configuration|http://help.sap.com/saphelp_nw04s/helpdata/en/f3/84fc50c515d44aa008badfbedca14d/content.htm] Files Online.
    For more information about accessing the file when the AS Java is not running, see .[Accessing Data Source Configuration Files Offline|http://help.sap.com/saphelp_nw04s/helpdata/en/0f/bdd93f130f9115e10000000a155106/content.htm]
    2.Adapt the file as required.
    3.Verify the correctness of your data source configuration file using the document type definition (DTD) file, which you can find at the same location as the data source configuration files.
    4. Upload the data source configuration xml file under a different name..
    To configure UME to use it, set the UME property ume.persistence.data_source_configuration to the name of the new configuration file.
    So that it will take the newly created ume config xml file which will have newly added attributes.
    Go thorugh the following links which will give an idea on custom attributes
    Adding custom-attributes to user details
    http://help.sap.com/saphelp_nw04s/helpdata/en/b7/14d43f2dd44821e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f3/84fc50c515d44aa008badfbedca14d/content.htm
    Adding custom attribute in EP user engine
    Customized Attribute in UME
    Hope this helps you...
    Regards,
    Rudradev Devulapalli
    Reward the points if helpful

  • Custom UME Role with action: Manage_All_User_Passwo

    Hi all,
    I have to create a custom role on EP. This role has to able a user to manage the password of all user (only password).
    i created a custom UME role Reset_PWD and I add the following action
    Manage_All_User_Password
    I attribute this role to a user.
    When I logon with this user I get an error: Page not found.
    Any suggestion to solve my problem?
    Thanks in advantage
    Enzo

    Hi Enzo,
    The reason why you are getting this error is because you have assigned just the role and an action to it. There is no content attached to the role.
    For this requirement, I am not sure if adding any existing iview will help or not.
    Thanks,
    Nikhil

  • How to export multiple copies reoprts based on parameters and with pre-defined naming

    Hi All:
    I have a problem of using SSRS 2012, we have multiple clients and they wanted us to deliver the pre-defined excel reports to different branches based on selecting the "branch name" parameter, also they have a naming rule for the excel
    report file.
    We cannot use the subscription as they need to do it in one batch and upload to an FTP file, therefore we are doing this manually for over 300 reports. Is this a convenient way to generate them in one batch as well as customising their file names?
    Thanks a lot for your help.
    Cheers
    Johnny

    Hi JohnnyKahWang,
    As per my understanding, there are multiple clients, you want to deliver reports to clients according to branch name parameter, and naming the excel file according to the rule. If that is the case, we can use data-driven subscription to achieve your goal.
    Reporting Services provides data-driven subscriptions so that you can customize the distribution of a report based on dynamic subscriber data. Data-driven subscriptions use query results to determine the recipients of the subscription, delivery settings,
    and report parameter values. At run time, the report server runs a query to get values used for subscription settings. We can use the Create Data-driven Subscription pages to define the query and assign query values to subscription settings. For detail information,
    please refer to the following steps:
      1. Open Report Manager, and locate the report for which you want to create a data-driven subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Data-driven Subscription.
      5. Choose a method of delivery, then select data source for the subscription.
      6. Specify a query that retrieves subscriber data like below:
    CREATE TABLE Name (
    BranchName varchar(20),
    ExcelFileName varchar(20),
    Email_to varchar(50)
    INSERT INTO Name values
    ('Branch1', 'Name1', '[email protected]'),
    ('Branch2', 'Name2', '[email protected]'),
    ('Branch3','Name3', '[email protected]');
      IF we chose Windows File Share delivery extension, we can define path in the query.
      7. Specify delivery extension options like below:
      8. Specify report parameters to BranchName.
      9. Specify when the subscription is processed, then click Finish to save the configuration.
    For more information about Data-driven Subscription, please refer to the following documents:
    http://msbimentalist.wordpress.com/2013/08/26/how-to-create-data-driven-subscription-in-ssrs/
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Filling out form with pre-determined values

    I am new to LiveCycle. I want to set up a form where if a person hits a button or check box, it fills in the form with predetermined variables. I want to there to be several different buttons/check boxes which if selected fill out the form with the predetermined values. These values would be different, depending on the check box/button selected.  Is this possible?
    Just to help understand a little more, I am designing a medical prescription form.
    If the practitioner selects 'Option A' I want it to automatically fill out the required fields in the rest of the form with the predetermined values (set by me).
    Similarily if the practitioner selected 'Option B', it fills out the form with another set of predetermined values.
    Hope this makes sense.
    Thanks

    After looking at your form, I understand what you were going for.  You want several fields prepopulate values when you select either Option A, Option B... and so on.  Here is the script I use for the different fields, I would also suggest adding the same script to the initialized event so you can save the state of the form after it has been changed.
    From a Drop Down - JavaScript Change event 
    if(xfa.event.newText == 'Option A'){
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";      //0= unselected  1=selected
    optionRadio.rawValue = "Option A";
    if(xfa.event.newText == 'Option B'){
    optionText.rawValue = "This is option B";
    optionText2.rawValue = "This is option B value";
    optionText3.rawValue = "This is option B text";
    optionText4.rawValue = "This is option B";
    optionCheckbox.rawValue="1";
    optionRadio.rawValue = "Option B";
    From a Radio Box - JavaScript Click event  (make sure you define your values)
    if(optionRadio.rawValue == 'Option A'){
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";
    optionDropdown.rawValue = "Option A";
    if(optionRadio.rawValue == 'Option B'){
    optionText.rawValue = "This is option B";
    optionText2.rawValue = "This is option B value";
    optionText3.rawValue = "This is option B text";
    optionText4.rawValue = "This is option B";
    optionCheckbox.rawValue="1";
    optionDropdown.rawValue = "Option B";
    From a Button - JavaScript Click event
    optionText.rawValue = "This is option A";
    optionText2.rawValue = "This is option A value";
    optionText3.rawValue = "This is option A";
    optionText4.rawValue = "This is option A";
    optionCheckbox.rawValue="0";
    optionDropdown.rawValue = "Option A";
    optionRadio.rawValue= "Option A";
    I would attach a sample form, however I can't see where to upload it on this forum.  I will email you the form.
    Suggestion on your form:  Make sure your form fields have unique names in the hierarchy (Shift + F11). 

  • Custom UME Attributes

    Dear all,
    I have few queries regarding UME Attributes. Could you please any one help me to resolve the issue?
    We have user managed custom attributes for our portal. Now we would like to populate data for all the users.
    How should i populate data using Import feature? As I know, User Managed custom attributes are visible only for the user
    through PERSONALIZE option. Is there any way to achieve this?
    Thanks!
    Cheers,
    Kabali

    Hi,
    I am not quite sure what you wanna do.
    But in general:
    Every attribute from for example your corporate LDAP Server you can use in your portal.
    In this case you have to modify the xml (data source configuration) file for the UME configuration.
    See http://help.sap.com/saphelp_nw70/helpdata/en/1a/2bee408a63732ae10000000a155106/content.htm.
    After this you have to customize your KM business card if you wanna see this new attribute in the users business card.
    You can as well see within your own profile the new attributes in the portal personalization.
    And of cause you can write your own portal component which can as well access by the common UME API's this new attributes.
    Best regards
    Frank

  • Internal Attributes with user defined X-ORIGIN in DSEE 7?

    Hello!
    I am noticing DSEE 7 has some internal attributes listed as user defined in the schema:
    attributetypes: ( 2.16.840.1.113730.3.1.605 NAME 'entryid' DESC 'Sun ONE defined attribute type' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN ( 'Sun-Java(tm)-System-Directory/6.3.1' 'user defined' ) )
    attributetypes: ( 2.16.840.1.113730.3.1.603 NAME 'dncomp' DESC 'Sun ONE defined attribute type' EQUALITY 2.5.13.1 SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN ( 'Sun-Java(tm)-System-Directory/6.3.1' 'user defined' ) )
    attributetypes: ( 2.16.840.1.113730.3.1.604 NAME 'parentid' DESC 'Sun ONE defined attribute type' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN ( 'Sun-Java(tm)-System-Directory/6.3.1' 'user defined' ) )
    My customer wants to manage/archive their custom schema by scooping up 99user.ldif and submitting it into a file-based version tracking system (Perforce). However, since these internal DS attributes are now listed as user defined, they are going to hang around in 99user.ldif, making my customer feel dissatisfied and untidy. Actually, I see their point.
    So, can I remove the X-ORIGIN of "user defined" on these and stick them in another schema LDIF? Are we planning on changing the schema definitions on these internal DS attributes in the future?

    Yes, I am guessing that somewhere in the 7.0 code the schema definitions for these attributes got tagged with an X-ORIGIN of "user defined" by accident. So whenever the schema gets modified via LDAP, these attributes will get written into 99user.ldif. I suspect removing them from 99user.ldif won't do any harm, but as long as they have that X-ORIGIN, they will keep coming back. I took the attributeType definitions and removed the X-ORIGIN of "user defined", put them in another LDIF named something like "98dsee-internal.ldif" and put that into the schema directory. My only worry is whether the existence of a different definition for these attributes in the schema directory will cause any problem down the road. So far, it hasn't.

  • Pre defined value in bp creation/change

    we have two fields like field1 and field2 in BP creation/Change screen..our requirment is like if we fill Field 1 with A then by default Field2 should fill with SupplierA ..if I fill the Field1 with B then system should fill the field2 with Suppler B .
    EX:
    Field1     A
    Field2    Supplier A
    Field1    B
    Field2   Supplier B
    Please let me know if the question is not clear
    Edited by: ravi kumar on May 5, 2008 8:22 AM

    Hi Ravi,
    -> Are these two 'Custom fields'?
    -> Did you add then using EEWB?
    If YES then EEWB will create PBO and PAI modules. You can find them using SE80 Tcode. You can write the code in PAI module for Field1 so that that will populate value to Field2.
    If NO then please let us know if these are SAP standard field. In some case you can use BADIs and achieve your requirement.
    Hope this helps.
    Karuna.

  • Security Attributes with Multiple/NULL values

    I have a couple of situations where I can't seem to get the authorization component working as I need it to work for a database source.
    1) In the first case, I have two attributes set for "grant security attributes" in the data source, one of which has a single attribute value, and the other which has multiple values, e.g.
    I want to set "grant security attributes" to something like "client_id role_id" where for my dataset, client_id will always be a single numeric value, but I might have multiple role_ids that can view this record. How do I specify in my data source query those multiple attribute values? I tried separating them with spaces, e.g.
    SELECT ...
    'A B' role_id
    FROM
    where "A" and "B" represent unique values (looking to match A OR B). I also tried delimiting them with commas, but neither spaces nor commas seems to work consistently.
    On the authorization end, using oracle.search.plugin.security.auth.db.DBAuthManager as the authorization plug-in, I have the authorization query set as
    SELECT client_id, security_lvl as role_id from test_user_id where user_id = ?
    Each user may have more than one role, so in the above query, security_lvl could be something like "B C"; I'm assuming from the documentation that the delimiter for attribute values in this case should be a space.
    The crawler logs make it appear that everything is getting indexed, so I suspect the issue is on the authorization front.
    2) In the second case, one of my security attributes for the data source may be NULL, meaning that there's no particular authorization restriction on a particular record, so to use the same example as in #1,
    role_id might be NULL for some records, in which case, I want those records returned in the search if the client_id matches, but I can't get the records with the NULL role_id to be returned at all. Again, the crawler logs indicate that everything is being indexed, and I'm not sure if there's a log where I can further troubleshooting authorization issues.
    Any guidance would be appreciated.
    Thanks

    1) The security attributes are OR'd together so if the user has any ONE of the attributes (either client ID or role ID), the document can be seen by the user. What I would try is to create a view to call rather than directly against the table. The view can then leverage a PL/SQL function and encapsulate the logic behind the security tokens to return.
    So the view would look like this...
    CREATE OR REPLACE VIEW USER_SECURITY_V AS
    SELECT
    USER_T.ID,
    MY_SECURITY_FUNCTION(USER_T.ID) AS AUTH_ID
    FROM
    USER_T
    The PL/SQL function would look something like this...
    CREATE OR REPLACE FUNCTION MY_SECURITY_FUNCTION(USER_ID NUMBER) RETURN VARCHAR2 IS
    -- Do whatever you need to do to build a single space-deliminted list of tokens for both Client and Role ID "CLIENTID4 ROLEID5 ROLEID9" then return
    END;
    The data source authorization query then would look like this...
    SELECT AUTH_ID FROM USER_SECURITY_V A WHERE A.ID = ?
    Using a PL/SQL Function to control the tokens gives you the flexibility of modifying security without having to touch the data source directly
    2) I don't quite follow. If any ONE of the tokens match, the document is returned. If the role ID is null, you might try stamping each document a "master" security token indicating it's open to everyone such as "ALL". Then in the PL/SQL Function, return "ALL" in front of the actual values.
    The crawler logs will only tell you what is indexed at crawl time, not how searching is actually working. Try checking the server logs. These should be under something like oracle/ses/seshome/search/base_domain/servers/AdminServer/logs
    Hope this helps!

  • Autofilling required attributes with default/fixed value when marshalling

    I'm wondering if there is a way to configure JAXB to set default or fixed values on undefined element attributes when marshalling. For example, if an element is derived from the following schema snippet
    <xs:complexType name="CentimetersLength">
          <xs:simpleContent>
             <xs:extension base="xs:double">
                <xs:attribute name="units" fixed="cm" use="required"/>
             </xs:extension>
          </xs:simpleContent>
       </xs:complexType>then when marshalling, I would think it would be acceptable to do the following
    CentimetersLength length = new CentimetersLength();
    length.setValue(3.0);
    marshaller.marshall(length);If the marshaller is set with the schema, it fails because the "units" attribute is required, even though it has a fixed value. If one looks at the JAXB-generated code produced by xjc, CentimetersLength has a method, getUnits(), that returns "cm" by default, but this doesn't carry over to the marshalled XML document.
    Thanks for the help,
    Josh

    Check this if it helps you?

  • View Object transient attributes with SQL default value

    Dear All
    I am working on JDeveloper 12.1.2
    In my scenario i have application module A in my main application. I created another data model with Application module B. I imported AM B into my main project.
    The problem is that when i have a transient attribute based on SQL statment in AM B, it gives me error in runtime on the interface but when i run the application module it works fine ... i do not know why
    Regards

    Hi,
    what sqlstatement you worte? what error?
    thanks

  • Creating a Parameter with pre-defined date ranges.

    How can I create a parameter that will allow the user to select a specific date range for a report (i.e. YTD, MTD, WTD...)? Any suggestions? Thanks...
    Matt Johnson

    You can create & define Parameters in SSRS Report and provide possible values (MTD, YTD or WTD) as drop-down options, the user can then select which one to pick and you can write your T-SQL logic to capture this option and take further query action
    on it
    Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue

Maybe you are looking for

  • DOM Element from a Text frame?

    Hi. In CS2 I used to get an IDOMElement from an ITextFrame. Now that ITextFrame is removed, I'm don't know how to get a equivalent IDOMElement since neither IMultiColumnTextFrame nor ITextFrameColumn aggregate IDOMElement. Any hints?

  • SmoothDivScroller in apex

    Hi all, I'm getting a problem with implementing the SmoothDivScroller in apex. - APEX version: 4 - DB version and edition: XE - Web server architecture (EPG, OHS or APEX listener): apex listener - Browser(s)/version(s) used: IE7, Chrome 10, Mozilla 3

  • Problem in bdc urgent

    iam running vf46 transaction using bdc. it is an alv report .after displaying the output of a report, i need to select the line and do further process. selecting the row of alv report is not reflecting in bdc  recording.how to go about this how to se

  • Can we have simultaneous merges into LIVE?

    Hi, MergeWorkspace and RefreshWorkspace APIs freeze the parent workspace in NO_ACCESS mode. Does this mean that we can't perform simultaneous merges/refreshes, even if the parent workspace is LIVE? If the answer is 'yes', does it make sense for autom

  • Call Transaction and session

    How to decide between call transaction and session methods.which one to use for data transfer? and how to schedule session method in background mode? Moderator message - Please search before asking - post locked Edited by: Rob Burbank on Nov 23, 2009