Manager name didn't provision in AD

Hello Folks,
I am working on OIM.
we have PeopleSoft is our source of truth and Active directoy and eDirectory is Target system.
Our requirements is like whenever employee created in PeopleSoft. PeopleSoft automatically assign Manager to that user and that manager ID is coming in OIM user form Manager name field.
i want to provision this manager name in Active directorty attributes called manager and managedby.
what i did in ADUSER form prepopulate tab i mapped manager name field add copy value adapter which is mapped with manager ID. so this thing copy the manager ID field into AD user process form which is coming in process form also.
and in process defination there is task alled Manager Name Updated which mapped with AD attributes called manager.
But this manager name value doesn't provisioned into target AD attribute and it doesn't give me any error user get provisioned but manager ID whatever i got from PeopleSoft is not coming in manager attribute.
Help me out to solve this issue
it's really urgent
Thank you

It sounds like you have two problems.
On initial provisioning you need to ensure that the manager id gets written into AD. How to do this is documented in 3.2.1 Adding Custom Attributes for Provisioning in the connector docs (http://download.oracle.com/docs/cd/E11223_01/doc.904/e10429/custom.htm#BIHFIHFC)
The second problem is to propagate any manager updates from USR form to process form.
The conventional approach for cascading user form changes down to process forms is to enter a task name in the LOOKUP.USR_PROCESS_TRIGGERS lookup table and then creating a task in the provisioning process with the same task name. This task then writes the data to the process form.
Hope this helps
/Martin

Similar Messages

  • Provision to AD - Manager Name how to?

    Hey,
    Been banging my head against this all day. What's the proper way to provision a user with Manager Name properly to Active Directory?
    I can provision the user successfully, but not the Manager. I tried entering a full name, I tried entering an existing AD user's full DN, nothing...
    Any ideas?

    Hi,
    If you want test the Kevin suggestion, for example, I think you can try the code below to grab the DN off the user's existing provisioning process form. It works for me. Create a java class and an adapter to use this code. Parameters:
    resourceObjectName = AD User
    userKey = User Definition.User Key
    fieldName = UD_ADUSER_ORGNAME
    dbProvider = Map to the Adapter References, Database reference
         public String getProcessFormFieldValue(String resourceObjName, String userKey, String fieldName, tcDataProvider dbProvider){
              String result = "VALUE_NOT_FOUND";
              StringBuffer strSQLOrcKey = new StringBuffer();
              strSQLOrcKey.append("SELECT DISTINCT ");
              strSQLOrcKey.append("     oiu.orc_key, procsdk.sdk_name ");
              strSQLOrcKey.append("FROM ");
              strSQLOrcKey.append("     obj obj, oiu oiu ");
              strSQLOrcKey.append("          left outer join orc orc on oiu.orc_key = orc.orc_key ");
              strSQLOrcKey.append("          left outer join tos tos on orc.tos_key = tos.tos_key ");
              strSQLOrcKey.append("          left outer join sdk procsdk on tos.sdk_key = procsdk.sdk_key, ");
              strSQLOrcKey.append("     obi obi, ost ost ");
              strSQLOrcKey.append("WHERE ");
              strSQLOrcKey.append("     oiu.obi_key = obi.obi_key AND ");
              strSQLOrcKey.append("     oiu.ost_key = ost.ost_key AND ");
              strSQLOrcKey.append("     (ost.ost_status = 'Provisioned' OR ost.ost_status = 'Enabled') AND ");
              strSQLOrcKey.append("     (obi.obj_key = obj.obj_key AND UPPER(obj.obj_name) LIKE UPPER('" + resourceObjName.toUpperCase() + "%')) AND ");
              strSQLOrcKey.append("     oiu.usr_key = " + userKey);
              try {
                   String strOrcKey = null;
                   String strSdkName = null;
                   tcDataSet dataset = new tcDataSet();
                   dataset.setQuery(dbProvider, strSQLOrcKey.toString());
                   dataset.executeQuery();
                   if(dataset.isEmpty() == false){
                        strOrcKey = dataset.getString(0);
                        strSdkName = dataset.getString(1);
                   }else{
                        throw new Exception("The user does not have a valid resource: " + resourceObjName);
                   StringBuffer strSQLFormField = new StringBuffer();
                   strSQLFormField.append(" SELECT " + fieldName);
                   strSQLFormField.append(" FROM " + strSdkName);
                   strSQLFormField.append(" WHERE orc_key = " + strOrcKey);
                   dataset.setQuery(dbProvider, strSQLFormField.toString());
                   dataset.executeQuery();
                   if(dataset.isEmpty() == false){
                        result = dataset.getString(0);
                   }else{
                        throw new Exception("VALUE NOT FOUND: It was not possible to get the Form Field Value.");
                   System.out.println("**************** Exiting getFormFieldValue *******************");
              } catch (Exception ex) {
                   result = "EXECUTION_ERROR";
                   System.out.println("############## Exception in getFormFieldValue ###############");
                   ex.printStackTrace();
                   System.out.println("#############################");               
              return result;
    Also, if you have the MS AD User Management Connector, you can see how its adapters uses the library to connect AD and execute some commands. For example, see how the adapter ADCS Get ObjectGUID gets the user's GUID.
    Renato.

  • Provisioning OIM Manager ID to AD Manager Name

    Hi,
    We are implementing provisioning of users created in OIM to AD.
    One of the fields that will be filled in when creating av new OIM users is the Manager ID field. The Manager ID field which is a lookup field with the OIM user id.
    The Manager Name field in AD requires a CN (Common Name).
    Seems like we have to find the lastname, firstname and domain string based on the OIM user id and build the CN.
    But another issue is that the CN in the AD varies. The users created in AD are "Lastname, Firstname etc while the users created in OIM can be set to "Firstname Lastname etc" or "Lastname Firstname etc" (But no comma).
    Will we have to do some custom coding to make the OIM users "Lastname, Firstname"? Or can we detect the format in some way and build the CN accordingly?
    Thanks!!

    Hi Rajiv,
    Sorry, I meant to write DN, not CN....
    Yes, we will make an adapter and build the DN string with a concatenate function. But the challenge is to know whether the format in AD is "lastname, firstname..." og "lastname firstname..." (no comma).
    So we either have to detect the AD DN format or make the users created in OIM have the DN format "lastname, firstname..."
    Do you know how to accomplish either?
    Thanks!!

  • Hr abap issue find the manager name and mail-id

    hi all,
    my requirement is below this. can any one help me to send code for this requirement.
    1.Logic for Employee status: Check if employee position has any other position reporting to it. Check if a record exists in HRP1001 where OTYPE = u2018Su2019, PLVAR = u201801u2019, RSIGN = u2018Au2019, RELAT = u2018002u2019, ISTAT = u20181u2019, BEGDA <= start date in selection, ENDDA >= end date in selection, SCLAS = u2018Su2019 and SOBID = Position. If yes set Employee Status as u2018Manageru2019. Else set as u2018Non-Manageru2019
    2.Manager name/Email: Identify the reporting position through B002 relationship from HRP1001. For this reporting position identify the Manager by A008 relationship. For this personnel number retrieve Name from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019.
    thanks & regards
    revathi raj.
    Edited by: revathi raju on Sep 5, 2008 12:06 PM

    thanks

  • How to get Manager name of a particular BP/User from territory management

    Hi Guys,
    I want to retrieve the Manager name of a particular BP/User from territory management. The manager might be in any territory hierarchy level above the user.
    Please guide.
    Regards,
    Shaili

    Hi Shailip,
    Basically Territory hierarchy is customized based on client's business, from your reply if i understood properly i think your territory has 3 levels and 
    First level : District
    Second level: Area
    Third level: Branch
    when an employee at third level is passed, you need employees assigned to area and district levelwhich are above Branch(in your case managers)
    Solution:  Example
    First level : District - territory length(2 char)
    Second level: Area - - territory length(4 char)
    Third level: Branch- territory length(4 char)
    1. Read the territory hierarchy(which is customized to meet clients requirement) using function module
        CRM_TERRMAN_TERRLEVEL_READ ehich gives territory levels with territory length and territory offset
    2. pass employee(business partner number) to FM  CRM_TERRMAN_TERR_EMP_DETERMINE  and get the branch path id.
    3. Based on territory length for above levels drill down to Area's path id and District's path id and pass those path id's to
    FM CRM_TERRMAN_EMPLOYEE_DETERMINE  to get managers.
    Hope this helps.
    Thanks,
    Priyanka

  • Access current user's manager name in the console application ( through Client object model)

    Hi Guys,
    Is there any way to retrieve current logged-in user's Manager name in the console application.
    As I don't have access to the server where SharePoint 2010 is installed so I wanted to access through client object model.
    arun singh

    Unfortunately, you can't use CSOM to do this in SharePoint 2010 (you can in SharePoint 2013!), but you CAN use the User Profile Service .asmx web service to accomplish this. You need to call the
    GetUserProfileByName method exposed
    in the http://<yourServerName>/_vti_bin/UserProfileService.asmx web service. Pass in the user name for the current user and Manager will be one of the properties that is returned.
    Here is a link to a blog post with example code.
    Please mark my reply as helpful (the up arrow) if it was useful to you and please mark it an answer (the check box) if it answered your question! Thank you!
    Danny Jessee | MCPD - SharePoint Developer 2010 | MCTS - SharePoint 2010, Configuring
    Blog: http://dannyjessee.com/blog | Twitter: @dannyjessee

  • Set SSIS variable = database connection manager name

    Is it possible to set a SSIS string to only the name of a database connection manager or even the connection string it uses ? I don't see an option for that in Evaluate as expression property of ssis variable.
    This is what I mean - 
    SSIS Connection manager name = SQL_DBASE
    SSIS String str_managerName = SSIS Connection manager name: Can you do this dynamically in SSIS ?

    I'm guessing what they really want to do is evaluate some indicator (some input from a user or an infrastructure setting) and then dynamically connect to any one of 10 (arbitrary example) database servers based on what they get as input.  They
    don't care about the connection manager per se.  What seems reasonable is the that the Connection Manager might take a server variable but if they wanted to do things like that they would have bought Datastage.
    You might try attacking this problem at the Control Level and then connect to the database you want based on a variable you set.   I'm seeing that a Sequence Container can branch on the contents of a variable. 
    Or if the dba is your friend you might get the dba to add all your servers as linked servers to a central connection machine and then you might be able to do this by putting the ssis variable in a "Sql Command from a Variable" variable. 
    It might look something like this:
    Server is designated in ssis var @[User::Machine]
    then executing from a variable
    "select top 100 * from " + @[User::Machine] + ".mydb.dbo.mytable"
    Be careful as hades about levels of indirection and what quotes you want at what level.  Evaluate Expression in ssis helps with this.  The syntax I show works only with an ms sql connection server to a remote ms sql server.  This is what a
    dynamic connection to a linked server connection to Oracle would look like:
    "select * from
    openquery("+ @[User::Machine] + ",'select * from oradb.oratable where rownum < 100')"
    When ever a thousand of your best friends are helping you connect to your database (using tools like linked servers as opposed to direct connections) it's probably best to use with only small specific updates or queries, large queries or large
    updates would probably take a long time and or might not finish.  But try it before you give up.   We are actually doing fairly large Oracle queries (5-10 million rows) through ms sql linked server.

  • How to get a manager name according to a name of clerk

    Hi,
       i know the clerk name.(T-code: PA30 infotype:0001)
       how to search his/her manager name
    Thanks in advance.

    Hi,
    Other way is Goto Infotype 0001 for that person(Clerk) & place the cursor on the org.unit & click "Org Structure" button on the top(beside the overview button). Then search for the org. unit of clerk & you will get the chief of that org. unit & you will get the manager personnel number.
    Hope this helps.
    Thanks,
    Sarika.

  • Manager name LOV in hr schema

    dear all
    im trying to get manager name as list of value to update the employee manager id.
    ive add the Employee entity object with the EmpManagerFKAssoc.Employee association to the employee View and create a calculated field to get the manager first name and last name from the EmpManagerFKAssoc.Employee association and build list of value based on this calculated field .
    every things goes fine when i open the list of value and choose the manager name the field manager id updated correctly but the field manager name which is based on the calculated field does not updated.
    please note that when i open the employee view the manager name field filled normally but the problem is only when i choose employee from manager list of value
    also note that i know this can be achieved by using custom popup or task flow opened as popup but i want to do it using standard business component LOV.
    best regards

    dear
    when we define LOV based on view object attribute we don't have to set partial trigger because the LOV based on the same field and if it needs so then when i drag the data control it is generated automatically like when i create the form from the data control it generate partial trigger on the manager id reference on the manager name and it update the manager name.
    any way i set partial trigger on the manager name field and nothing happened still the same behavior
    any additional suggestion..
    best regards

  • How to add Project manager Name on CJ03 screenlayout?

    Right now I am able to see only the project manager ID. How can I add one field which will display the manager name on the screenlayout of CJ03?
    Thanks
    Ruchika

    Hi Ruchika,
    You need to implement Screen Exit in the standard SAP program. The program for CJ03 transaction is 'SAPLCJWB'.
    Follow these instructions to Find the Exit and Implement a new field.
    http://wiki.ittoolbox.com/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction

  • How ti find employee's manager name

    Hi All,
    I tried in SDN but i am not able to find suitable thread. Anybody can tell me which function module i should use to get employee's manager name.
    Thanks,
    Maheedhar

    Maybe this could be achieved by RH_STRUC_GET but you need to provide proper ACT_WEGID . The custom way however would be like this
    DATA lt_p1001 TYPE TABLE OF p1001.
        DATA lt_manager TYPE TABLE OF p1001.
        DATA l_pernr    TYPE persno.
        DATA l_objid    TYPE HROBJID.
        FIELD-SYMBOLS: <wa_p1001>   LIKE LINE OF lt_p1001,
                       <wa_manager> LIKE LINE OF lt_manager.
    "get manager of EE's org unit
        CALL FUNCTION 'RH_READ_INFTY_1001'
          EXPORTING
            plvar            = '01'
            otype            = 'O'
            objid            = "EE org unit here
            begda            = sy-datum
            endda            = sy-datum
            subty            = 'B012'   "is managed by
          TABLES
            i1001            = lt_p1001
          EXCEPTIONS
            nothing_found    = 1
            wrong_condition  = 2
            wrong_parameters = 3
            OTHERS           = 4.
        LOOP AT lt_p1001 ASSIGNING <wa_p1001>
                         WHERE sclas = 'S'.  "position
          l_objid = <wa_p1001>-sobid.
    "get person for this position
          CALL FUNCTION 'RH_READ_INFTY_1001'
            EXPORTING
              plvar            = '01'
              otype            = 'S'
              objid            = l_objid
              begda            = sy-datum
              endda            = sy-datum
              subty            = 'A008'   "holds
            TABLES
              i1001            = lt_manager
            EXCEPTIONS
              nothing_found    = 1
              wrong_condition  = 2
              wrong_parameters = 3
              OTHERS           = 4.
          LOOP AT lt_manager ASSIGNING <wa_manager> WHERE sclas = 'P'.
            l_pernr = <wa_manager>-sobid.       
            EXIT.
          ENDLOOP.
        ENDLOOP.
    Manager -> l_pernr
    Manager name -> get from IT0002 for l_pernr
    Regards
    Marcin
    Juest checked FM HRCM_ORGUNIT_MANAGER_GET which is working too. On input you can either provide EE's position or org unit.
    Edited by: Marcin Pciak on Oct 28, 2010 9:12 AM

  • Standard Dialog to select manager name

    Hi,
      I am new to Adobe forms. My requirement is to activate already existing standard dialog to choose the manager name as  a signee that will appear in the form. The form is a standard T1 form. Form name is HR_RU_T1.
    Please let me know.
    Thanks,
    Sri

    HI,
    check this program.
    <b>
    report ZTEST2.
    data:  file type string,
           path type string,
           file_path type string.
    data: itab type standard table of cskt.
    start-of-selection.
      SELECT * FROM cskt INTO TABLE itab.
      call method cl_gui_frontend_services=>file_save_dialog
          exporting
                    FILE_FILTER = '*.PDF'
          changing FILENAME = file
                   path     = path
                   fullpath = file_path.
      check not file_path is initial.
      call method cl_gui_frontend_services=>gui_download
        exporting    filename                = file_Path
                      WRITE_FIELD_SEPARATOR = 'X'
         changing    data_tab                = itab.
    </b>
    REgards,

  • Dynamically setting manager name for trap

    As per the SEA documentation, trap destinations are specified through master agent configuration file and need to be set before starting master agent.
    We want add more managers dynamically i.e. after master and subagent are started and communicating with one manager.
    Does snmpdx provide any MIB variable to "set" the manager name? Is there any other alternative such as command line parameter or API to set the manager name?
    Thanks
    Dhananjay

    Hi,
    This feature is not supported in SEA. All the configuration should be done before starting master agent.
    To register the subagent, you can use any of the following two methods.
    * Static method : The master agent reads agent resource files. This resource
    file contains an entry for each subagent.
    * Dynamic method : The master agent receives the information from the subagents. The subagent sends a SET request containing the MIB objects needed to register with the Master Agent, through the use of the registration API.
    Using SEA, there is no way you can add the managers dynamically for traps.
    I suggest you may have look on new product from SUN i.e SunMC( Sun Management Center) which has lot of new features.
    HTH.
    Thanks,
    Santosh

  • Selecting manager names for 20 levels

    Hi,
    Could you please help me on the following scenario?
    Table "Base" holds the list of employee ids and names. Table "Mgr" holds the list of employee ids and their mgr ids (Who are also an employee) from level 1 to level 20. The requirement is to select the employee name with the 20 level mgr names (which can be obtained by referring the Base table).
    For sample scenario, the following Creation Scripts add data for only 2 levels:
    create table BASE
    ENAME VARCHAR2(10),
    EID NUMBER
    insert into BASE (ENAME, EID)
    values ('A', 1);
    insert into BASE (ENAME, EID)
    values ('B', 2);
    insert into BASE (ENAME, EID)
    values ('C', 3);
    insert into BASE (ENAME, EID)
    values ('D', 4);
    insert into BASE (ENAME, EID)
    values ('E', 5);
    commit;
    create table MGR
    EID NUMBER,
    MGRLVL1 NUMBER,
    MGRLVL2 NUMBER
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (1, 3, 4);
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (2, 1, 5);
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (3, 4, 2);
    commit;
    I tried to achieve the result using the following query:
    select
    m.eid,b1.ENAME,b2.ENAME lvlonemgrname ,b3.ENAME lvltwomgrname
    from
    base b1,
    mgr m,
    base b2,
    base b3
    where
    b1.eid=m.eid
    and b2.eid=m.mgrlvl1
    and b3.eid=m.mgrlvl2
    EID     ENAME     LVLONEMGRNAME     LVLTWOMGRNAME
    1     A     C     D
    2     B     A     E
    3     C     D     B
    It provided the output fine. But i used 2 "Base" table instances to populate 2 level manager names. In the actual requirement of selecting 20 manager names it makes me to add 20 instances of "Base" table.
    With out creating 20 instances, we can use PL/SQL function and achieve the output.
    Is there any other way to do this using SQL ? Please advise me

    select m.eid, b1.ENAME,
           max(decode(b2.eid, m.mgrlvl1, b2.ENAME)) lvlonemgrname,
           max(decode(b2.eid, m.mgrlvl2, b2.ENAME)) lvltwomgrname
    from base b1, mgr m, base b2
    where b1.eid=m.eid
      and b2.eid in (m.mgrlvl1, m.mgrlvl2)
    group by m.eid, b1.ENAME

  • Any standard BAPI available to get the project manager name or id

    Hi all,
    Any standard BAPI available to get the project manager name or id  for the particular  employee working on that project.
    Regards,
    Surjith

    I dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
    HRCM_GET_ORGUNITS_FOR_MANAGER
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for