DBMS_LDAP adding a attribute to a entry

Hi all,
how can i add a attribute to a existent entry in ldap, i try add_s but i think that add_s add a new entry and not a new attribute to a existent entry.
Someone can help me?
Thanks a lot.

Hi Sharad,
                      I hope all your classes are active. In case you want to add a new attribute there are two steps.
1.Right click on context node and create attribute, it opens a wizard and continue. This will add the field in the context node and generate the getter-setter methods.
2. In the above two method whcih you mentioned add the new field in the structure of value node. And then create your own getter-setter methods. and activate it. After this you will be able to see the attribute added in the context node.
By using any of the two approaches you will be able to see teh new field in the configuration.
Hope this helps.
Regards,
Ruby.

Similar Messages

  • Adding navigational attributes to a cube

    We have upgraded to BW 7.3. Previously when we added navigational attributes to a cube we need to activate the update rules from the ods but now it appears that we don't need to do that anymore. Is this the expected behavaior?  We are using the 3.5 update rules.
    thanks

    HI,
    If you are using 3.5, after selecting nav attr in the cube, the cube structure gets deactivated. The dependent update rules also gets deactivated. You will be forced to activate all again.
    In BW 7.3, SAP would have given privilege to add without activation. It is good for us. So nothing to worry.
    Regards,
    Suman

  • Encounter error after adding an attribute to a new dimension in AWM.

    After I added an attribute to a new dimension, I encountered the error as below.
    I also cannot read the metadata from Jdeveloper after I create a cube using AWM.
    Please kindly help!!
    BI Beans Diagnostics(v1.0.2.0) 2005/9/15
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = C:\jdev1012_base
    JAVA_HOME ................................. = c:\j2sdk1.4.2_02
    JDeveloper version ........................ = 10.1.2.0.0.1811
    BI Beans release description .............. = BI Beans 10.1.2 Production Release
    BI Beans component number ................. = 10.1.2.52.0
    BI Beans internal version ................. = 3.2.1.0.13
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 10.1.0.3.0
    JDBC JAR file location .................... = C:\jdev1012_base\jdbc\lib
    Database version .......................... = 10.2.0.1.0
    OLAP Catalog version ...................... = 10.2.0.1.0
    OLAP AW Engine version .................... = 10.2.0.1.0
    OLAP API Server version ................... = 10.2.0.1.0
    BI Beans Catalog version .................. = N/A; not installed in BI_TEST
    OLAP API JAR file version ................. = "10.1.0.2.0"
    OLAP API JAR file location ................ = C:\jdev1012_base\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    java.lang.NullPointerException
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.setDimAttributes(MDMMetadataDriverImpl_92.java:1733)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.getChildren(MDMMetadataDriverImpl_92.java:197)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.addChildren(MDMMetadataDriverImpl_92.java:2687)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.fillOlapObjectModel(MDMMetadataDriverImpl_92.java:2571)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92$LoadOlapObjectModel.run(MDMMetadataDriverImpl_92.java:3013)

    I would post this on the OLAP forum as they should be able to help you diagnose this problem. The OLAP forum can be found at the following link:
    OLAP
    There is not much detail in your log, but I suspect that your OLAP mappings are incomplete or the maintenance of your dimension to load the new attribute data somehow failed. I would check the OLAP AWM build logs for more information.
    Thanks
    Keith
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • Error when adding an attribute to a redifined entity

    Dear Gateway experts,
    I have the following problem:
    In the service builder I have successfully created and activated an OData Service with several entities. Now I have created a second service and have redefined one of the entities of the first service. Finally I have added one attribute to this entity in the second service. Also this service could be generated succesfully. But when calling the service I get the error message "Property [NEW ATTRIBUT] of data object [ENTITY] has no Internal type assigned."
    In the MPC class of the second service I see, that the structure belonging to the entity has been updated with this new attribute.
    But the exporting parameter ET_ENTITYSET of the DPC class refer to the structure definition of the MPC class of the first service (because the inherite from them) without the new attribute.
    So my problem is now, hoc can I add an attribute to a redfined entity without getting this error and be able to fill the export table?
    Thanks a lot in advance!
    Regards,
    Juergen

    Hi Ron,
    thanks for your quick reply!
    The entity of the original service is structure based. But the new attribute in the redefined service is not part of this structure. However I have added it manually and also filled the corresponding ABAP type in the column "ABAP Field Names".
    The method DEFINE_<ENTITY> is only available in the MPC class of the original service. And this method is private so I can't call it from the subclasses.
    In the MPC class of the redefined service there is a private method CREATE_NEW_ARTIFACTS, which is called in the method DEFINE. In this method the new attribute is already added to the entity, in the same way the other attributes were added in the DEFINE_<ENTITY> method:
    lo_entity_type = model->get_entity_type(
         iv_entity_name = '<entity>' ).
    lo_property = lo_entity_type->create_property(
         iv_property_name  ='<attribute>'
         iv_abap_fieldname = '<ATTRIBUTE in ABAP>' ).
    lo_property->set_type_edm_string( ).
    So I am not sure, what else to add in these methods.
    Regards,
    Juergen

  • "Error determining attribute" after adding navigational attribute to query

    Hello all,
    We are getting a "Error Error determining attribute, Abort System error in program SAPLRRK0 and form RSRDR;SRRK0f30-01-" error message when running a query after adding a navigational attribute. We tried adding the attribute of the characteristic directly in the query and this works ok. But when we try using the navigational attribute we get the error. We would like to use the navigational attribute so we can filter based on this attribute.
    We've searched for notes regarding this problem and haven't found any. Any suggestions?
    Thanks, Ron

    hi,
    Please check if  number of the fields after adding the Navigationl attribute the should not cross 50.
    Check the RSRV test for the master data whose navigational attribute u r trying to add.
    Thanks
    Mukesh

  • Error occured  whenever adding an attribute to a dimension

    After I added an attribute to a new dimension, I encountered the error as below.
    I also cannot read the metadata from Jdeveloper after I create a cube using AWM.
    Please kindly help!!
    BI Beans Diagnostics(v1.0.2.0) 2005/9/15
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = C:\jdev1012_base
    JAVA_HOME ................................. = c:\j2sdk1.4.2_02
    JDeveloper version ........................ = 10.1.2.0.0.1811
    BI Beans release description .............. = BI Beans 10.1.2 Production Release
    BI Beans component number ................. = 10.1.2.52.0
    BI Beans internal version ................. = 3.2.1.0.13
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 10.1.0.3.0
    JDBC JAR file location .................... = C:\jdev1012_base\jdbc\lib
    Database version .......................... = 10.2.0.1.0
    OLAP Catalog version ...................... = 10.2.0.1.0
    OLAP AW Engine version .................... = 10.2.0.1.0
    OLAP API Server version ................... = 10.2.0.1.0
    BI Beans Catalog version .................. = N/A; not installed in BI_TEST
    OLAP API JAR file version ................. = "10.1.0.2.0"
    OLAP API JAR file location ................ = C:\jdev1012_base\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    java.lang.NullPointerException
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.setDimAttributes(MDMMetadataDriverImpl_92.java:1733)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.getChildren(MDMMetadataDriverImpl_92.java:197)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.addChildren(MDMMetadataDriverImpl_92.java:2687)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92.fillOlapObjectModel(MDMMetadataDriverImpl_92.java:2571)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverIm
    pl_92$LoadOlapObjectModel.run(MDMMetadataDriverImpl_92.java:3013)

    I've got it resolved.
    I have to add levels and hierarchies before adding any attribute.
    That's strong!

  • Adding an Attribute to a VO changes the custom properties of the existing

    Adding an Attribute to a VO changes the custom properties of the existing attributes of the VO.
    We had a requirement to add an extra column in the VO.
    We modified the underlying EO to include the new column from the table, and modified the VO as well.
    Jdeveloper was changing the custom properties of the existing attributes in the VO. Our fix was not working as expected.
    Could anyone please inform us:
    1. On what logic does Jdeveloper determine to modify the existing custom properties of other VO attributes.
    2. Can this behavior of Jdeveloper be controlled through any mechanism.
    Thanks in advance,
    Rahul.

    Hi,
    which version of JDeveloper and how to reproduce ?
    Frank

  • Adding styleclass attribute by jQuery at jspx

    Hi all;
    I m trying to adding styleClass attribute to my af:form tag through jQuery but it seems something is off ;
    Here is my jQuery code
    $(document).ready((function(){
        $('#f1').data("styleClass","form"); //$('form').addClass('form'); didnt worked
    })());Here is my css
    .form{
        background-color:gray;
    }And Here is my partial jspx structure
    <f:view>
            <link type="text/css" rel="stylesheet" href="resources/css/Xxx.css"/>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
            <script type="text/javascript" src="resources/js/Xxx.js"></script>
            <af:document title="Xxx.jspx" id="d1" binding="#{backingBeanScope.backing_Xxx.d1}">
                <af:form id="f1" binding="#{backingBeanScope.backing_Xxx.f1}"></af:form>
            </af:document>
        </f:view>Can you please help me on this matter
    jDev 11.1.2.1.0

    Hi,
    FYI, I figured out the solution here my self!
    You need to add the attribute as "nsRoleDN", and not "nsRole" as I had.
    LDAPAttribute role = new LDAPAttribute("nsRoleDN","cn=administration,dc=ie,dc=permanenttsb");
    When querying/searching the Directory you can use "nsRole" or "nsRoleDN"
    Thanks!
    CK

  • Adding custom attributes in iPlanet User resource

    I have a custom attribute in LDAP called "CustomAttr1" created. I would like to add this attributes into iPlanet User RO so that I can update that attribute via OIM. What is the process of adding that attribute to the iPlanet User process and forms?

    Have you checked the Connector Document and specifically the section where it says "Extending the Connector"?
    This: http://docs.oracle.com/cd/E11223_01/doc.904/e10446/custom.htm#CDEGCCEB
    -Bikash

  • Error when adding an attribute

    While adding an attribute(new) to 0WORKCENTER I am getting a message that " All values for this navigation attribute must now be available in the master data tables and the attributes SID tables of the characteristic."
    This is a new attribute and the data will be populated after wards or I am changing the extractor to do that.
    Do I ignore the yellow flag ?

    you can ignore, but wait for other expert opinions..
    Regards,
    BWer
    Assign points if helpful.

  • Dynamically adding more attributes to cube dimension in SSAS 2008 R2

    I need to dynamically add more attributes to cube dimension in SSAS 2008 R2 because the dimension table the cube is based on is updated using dynamic pivoting and there is need to update the cube dimension attributes as more columns are added to the dimension
    table without making the changes through BIDS. Is there a way to dynamically adding more attributes to cube dimension in SSAS 2008 R2?
    Thanks
    BI Developer

    Definitely. You can use AMO to add dimension attributes on the server. I have definitely done this a few times for different clients of mine. Here is a generic AMO sample:
    http://msftasprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_AMOAdventureWorks&referringTitle=Home
    Notice the parts which add attributes to a dimension.
    http://artisconsulting.com/Blogs/GregGalloway

  • Other TAB adding & Popultaing "Attributes"

    I have two (2) attributes *mobile & *Pin that I would like to add to the user object in the other
    Tab. But I need to do this over 10,000 users, I have JRB tools 1.7 but have not used the tools.
    And after adding the attributes I have to of course populate the two attributes.
    Wayne

    Using 3rd party tools or LDIF or other magic is fine, but have you
    considered using iManager?
    It would take 5 Minutes with the Plugin Studio to create a custom user
    modify book page.
    You could use that page for maintaining or bulk-setting your attributes
    including aux class extensions in one go.
    Wolfgang
    On 01.11.2011 22:06, wwarbine wrote:
    >
    > I have two (2) attributes *mobile& *Pin that I would like to add to the
    > user object in the other
    > Tab. But I need to do this over 10,000 users, I have JRB tools 1.7 but
    > have not used the tools.
    > And after adding the attributes I have to of course populate the two
    > attributes.
    >
    > Wayne
    >
    >

  • DBMS_LDAP adding user to security group on Active Directory

    Hi forum members,
    I am accessing and manipulating Active Directory using the DBMS_LDAP package and its API's.
    My initial code is to add a new entry in our MUsers group.After establishing the session and binding it , I supply the required credentials and the user , ex: 366944 is created successfully in the MUsers group which is a global users group.
    My package then calls another function to now add the same user to the MGroups group and under that the Researcher security group.
    When I do a search on the "Researcher" group this is the result : (I have deleted a few irrelevant entries)
    ATTIBUTE_NAME: objectClass = top
    ATTIBUTE_NAME: objectClass = group
    ATTIBUTE_NAME: cn = Researcher
    ATTIBUTE_NAME: member = CN=3,OU=MUsers,DC=xxx,DC=yyy
    ATTIBUTE_NAME: member = CN=2,OU=MUsers,DC=xxx,DC=yyy
    ATTIBUTE_NAME: member = CN=1,OU=MUsers,DC=xxx,DC=yyy
    ATTIBUTE_NAME: distinguishedName =
    CN=Researcher,OU=MGroups,DC=xxx,DC=yyy
    ATTIBUTE_NAME: instanceType = 4
    ATTIBUTE_NAME: whenCreated = 20100315150614.0Z
    ATTIBUTE_NAME: whenChanged = 20100322172413.0Z
    ATTIBUTE_NAME: uSNCreated = 97190
    ATTIBUTE_NAME: uSNChanged = 102960
    ATTIBUTE_NAME: name = Researcher
    ATTIBUTE_NAME: objectGUID = ?P??|F?
    ?Q?'
    ATTIBUTE_NAME: objectSid =
    ATTIBUTE_NAME: sAMAccountName = $1B1000-EVVA2O0MRRBE
    ATTIBUTE_NAME: sAMAccountType = 268435456
    ATTIBUTE_NAME: groupType = -2147483646
    ATTIBUTE_NAME: objectCategory =
    CN=Group,CN=Schema,CN=Configuration,DC=xxx,DC=yyy
    My add_in_group function is : (I am hardcoding certain values for simplicity)
    FUNCTION add_in_group
    (ldap_session dbms_ldap.SESSION
    RETURN PLS_INTEGER
    IS
    lv_vals dbms_ldap.string_collection;
    lv_array dbms_ldap.mod_array;
    ln_retval PLS_INTEGER;
    l_group VARCHAR2(256);
    BEGIN
    -- Initialize the varray for the modify command
    lv_array := dbms_ldap.create_mod_array(10);
    IF lv_array = NULL THEN
    dbms_output.put_line('Error add_in_group: lv_array not initialized.');
    NULL;
    END IF;
    dbms_output.put_line ('lv_array successfully initialized');
    -- Populate the varray
    lv_vals(1) := 'CN=366944,OU=MUsers,DC=xxx,DC=yyy';
    dbms_ldap.populate_mod_array(lv_array,DBMS_LDAP.MOD_ADD,'member',lv_vals);
    --Populate the object class variables
    lv_vals(1) := 'group';
    BEGIN
    DBMS_LDAP.populate_mod_array(lv_array,DBMS_LDAP.MOD_ADD,'objectclass',lv_vals);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('Populating object classes failed');
    END;
    --BEGIN
    -- Group Modification
    l_group := 'cn=Researcher,OU=Mgroups,DC=xxx,DC=yyy';
    BEGIN
    ln_retval := dbms_ldap.modify_s(ldap_session, l_group, lv_array);
    --EXCEPTION
    --WHEN OTHERS THEN
    --dbms_output.put_line ('Error in modify_s ');
    END;
    -- Free the varray
    dbms_ldap.free_mod_array(lv_array);
    RETURN ln_retval;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('add_in_group : '|| SQLCODE||' '||SQLERRM);
    RETURN -1 ;
    END add_in_group;
    My error is :
    ORA-31202: DBMS_LDAP: LDAP client/server error: Already exists. 00000562:
    UpdErr: DSID-031A0F4F, problem 6005 (ENTRY_EXISTS), data 0
    The error descriptions reads like this :
    Indicates that the add operation attempted to add an entry that already exists, or that the modify operation attempted to rename an entry to the name of an entry that already exists.
    In this case , I am using the modify_s operation.I am supplying the credentials of the researcher group and trying to set the 'member' attribute as the user already existing in a diff group(MUsers).
    The researcher group already has 3 uers , namely ,1,2 and 3 as members . These users are also part of MUsers group.
    Hence I am not trying to rename any entry to the name of an entry that already exists.
    Any help on this would be appreciated.

    Hi,
    I tried the same code that you have mentioned and did some changes as follows and now able to add members to a group.
    remove the section that contains the following commands, then it will work
    h5. lv_vals(1) := 'group';
    h5. DBMS_LDAP.populate_mod_array(lv_array,DBMS_LDAP.MOD_ADD,'objectclass',lv_vals);
    Thanks & Best Regards,
    Indika

  • Error while adding a attribute to the the Custom view through a wizard

    Hi ,
    I have created a new custom view with value node through wizard  succesfully.
    Now I want to add a new attribute to that node.I am trying to do that by a wizard.
    But i am getting the follwing error " Error during analysis of Source Code" although i have
    commented or removed my all custom code from that view.
    I tried adding the new aattributes in the metthods "IF_BSP_MODEL~INIT " and
    "GET_TABLE_LINE_SAMPLE " manually but that also does not worked.
    Plz help me with this asap.
    Regards,
    Sharad

    Hi Sharad,
                          I hope all your classes are active. In case you want to add a new attribute there are two steps.
    1.Right click on context node and create attribute, it opens a wizard and continue. This will add the field in the context node and generate the getter-setter methods.
    2. In the above two method whcih you mentioned add the new field in the structure of value node. And then create your own getter-setter methods. and activate it. After this you will be able to see the attribute added in the context node.
    By using any of the two approaches you will be able to see teh new field in the configuration.
    Hope this helps.
    Regards,
    Ruby.

  • Added new attribute to WBS

    Here is my current issue.
    I added a "deleted indicator" to the WBS_ELEMT_ATTR on r/3, then created a new infoobject in BW (did not flag it w/master data) and added this new infoobject as a navigational attribute to the WBS_ELEMT infoobject in BW.
    Went to the infosource for WBS_ELEMT and added it to the transfer structure and the comm. structure. Activated it. Then reloaded the master data for WBS from r/3. Went to "Maintain Master Data" for WBS_ELEMT and I can see the new field is populated correctly in the new field I added to WBS_ELEMT.
    Then I went to the cube 0PS_C04 and marked the new attribute I added to WBS_EMEMT as a navigation attribute and re-activated it and the update rules.
    The problem is in the query and when viewing data with list cube or cube contents the field is blank. But its not blank with maintain master data for WBS_ELEMT.
    Does anyone have any clues as to my mistake or what I need to do. I'm needing to restrict a query based on 0PS_C04 by this new attribute I added to WBS.
    Will reward points as always.
    Richard

    Hey Richard,
    WBS_ELEMT is a navigational attribute in 0PS_C04 and "deleted indicator" is a navigational attribute of WBS_ELEMT. So, "deleted indicator" is a second level navigation attribute for 0PS_C04. This will not show you any data in the query even if you can see the data for this field in WBS_ELEMENT. One more thing is that in the update rules for 0PS_C04, you have mapped only WBS_ELEMENT but not "deleted indicator". Hence, the data is not displayed in the report.
    You can handle this in 2 different ways.
    1. Add "deleted indicator" to the cube directly and map it all the way down to the data source.
    2. Add the "deleted indicator" to the cube and in the update rules, map it as an attribute of WBS_ELEMENT.
    Unless it is mapped to the cube from the comm structure in the update rules, you can not see the data in the report.  Try one of these and let us know if it works.
    Thanks and Regards
    Subray Hegde

Maybe you are looking for

  • Problems with video after upgrading to 10.7.2

    Hi, I just updated my Mac with new v10.7.2. Everything went perfect with really usual Apple quality ;-) but for one point I would need to check since new for me. In case of watching videos via iTunes, I have now the phenomena that in case of pressing

  • Change New To Do default to open with due date = today's date

    Anyone know whether this can be done, and how to do it ?

  • GET PAYROLL  And GET PERNR  Events .. Query

    Hi All I have used  Get Payroll  Event to fetch data from Database for Payroll Reporting. It work fine for me till now.. But i am  not sure  that ,it can be used indiviusally  without GET PERNR Event. And wht are the other conditions to be usedd in G

  • How Can I Know?

    Hello all, Installed are the following systems: Solution Manager 4.0 (or 7.0) ECC 6.0 EhP3 PI 7.1 How can I tell what the SPS levels are? These need to be upgraded to the latest SPS level. How can I tel what Usage Types have been installed? Any help,

  • No program help via F1 or Help Buttons

    Windows XP/SP3, 1 GB Ram. DW CS4 V10.0/4117 (de_DE). Installing as Admin, no Firewall (using router instead), no AV active, broadband internet access. From selection list at start of installation Dw CS4 only was selected. Installation went smoothly,