Creating an Organizational unit.

Hi again,
I need to create an organizational unit in AD using JNDI.
Please help me.
Regards

No different to creating any other object.
Just need to ensure you add values for the mandatory attributes. Eg.String ouName = "OU=Accounting,DC=antipodes,DC=com";
// Create attributes to be associated with the new OU
Attributes attrs = new BasicAttributes(true);
//These are the mandatory attributes for an OU
attrs.put("objectClass","organizationalUnit");
attrs.put("ou","Accounting");
//Add an optional attribute
attrs.put("description","Default container for Accounting");
//Create the OU
Context result = ctx.createSubcontext(ouName, attrs);

Similar Messages

  • Authorization required for creating new Organizational units

    Hi all,
    How can we give authorization required for creating new Organizational units (IMG – CRM – Master Data – Organizational Management – Organizational Model – Create Organizational Model) to a particular user?
    Thanks and Regards,
    Archana

    the basis guy should be able to help.
    at a higher level: you need to set authorizations to the roles assigned, the transaction code is pfcg.
    you may create a new role with the required authorization and assign to the relevant users.
    hope it helps..
    regards
    RH

  • Authorization required for creating new Organizational units in CRM

    Hi all,
    How can we give authorization required for creating new Organizational units (IMG – CRM – Master Data – Organizational Management – Organizational Model – Create Organizational Model) to a particular user?
    Thanks and Regards,
    Archana

    Hi archana,
    U can Create a role through Transaction PFCG.
    Just create a role and assign the tcode PPOCA_CRM if u want to give the user just only this authorization otherwise u can select the menu list from sap menu and assign this role to that user.
    Another way is if that user already exist in that system then just assign that particular transaction codr with that user.
    Hope it will help u
    Regards
    Subhash

  • How to Create Organization unit with customised code?

    Hi all,
       My business requirement need to create a Organization unit with a customised report.
    That customised report need to be developed in which i will be incorporating the code to create a new orgganization unit in sap
    and also to assign it in the organization structure.
    Please suggest me the Function Module to create it...or any sort of Standard report which is already doing that
    Thanks and Regards
    Sonal Jain.

    If I understand you correctly, you want to create a PROGRAM to create an Organization Unit (IT1000) and it's relation to it's parent Org.Unit (IT1001 with relation A_002).
    Check out program RHCOPY00, and create a Z version adapted to your needs.

  • Create a BP type BUP004 (Organizational Unit)

    Hello,
    I've created an Organizational Unit in CRM but there is no Business Partner created and assigned. When I try to create a service order for a customer with the attributes of the OUnit, system says that I heve no BP associated to the OU. I've seen in tx BP but the role BUP004 is not visible.
    How can I create a BP associated to the organizational unit? Should I create the BP first? But I can not see this role?
    Can anyone help me?
    Thanks
    Teresa

    Hi Teresa,
    For a BP to be generated for your OU you need to maintain the following settings
    1. Transaction code     SPRO
    SAP CRM IMG menu     CRM --> Master Data --> Business Partner --> Integration Business Partner u2013> Organizational Management ->Set Up Integration with Organizational Management
    2.Enter the following values for the existing combination of Group and Sem.abbr.:
    Group     Sem. Abbr.     Value abbr.     Description
    HRALX     HRAC     X     Activate HR Integration
    HRALX     OBPON     ON     Integration O-BP Activated
    HRALX     ONUMB     2     Business Partner Number Assignment (Org. Unit)
    HRALX     OSUBG     Y4     Business Partner Subgroup (Organizational Unit)
    -> Number Range
    Now when you carete an OU, a BP no. will get generated
    Incase it does not happen run   report, CRM_OM_BP_INTEGRATE
    This will give you inforamtion as to wahat is missing in your OU
    Regards
    Itty

  • How to Transport Organizational unit created in transcation ppoma_crm

    Hi all,
    I have created, the organizational unit in transaction PPOMA_CRM,
    Now what i want to know, how to transport these organizational units to Quality system. Because there is no transport option in that transcation.
    kindly advice
    regards
    Naveen kumar

    Hello Anand,
            What you said is absolutly correct. I realized that a bit later, those org, structures and Business Partners need to be created in all environment and started doing it.
    could you please clarify one more thing, i have created organization determination rules for sales and service organization determination.
    Since i dont have ABAP knowledge i saved those rules under $tmp package. Now those rules cant be transported.
    Is there any other way to reassign the package and do the transports.
    kindly help..
    regards
    Naveen kumar

  • Transcation code to create Organizational Unit, jobs, and tasks

    Hello,
    Could some one please tell me the transaction code to create an Organization Unit?  If you know the code to create other things (tasks, jobs, assignments) then please let me know those as well... Thank you so much for those who can help! 
    James

    You can use PP01 (that's zero - one), to create any org object. Just select the object (org unit, position, task, etc...) and hit create.
    Also, you can use the following:
    PO03 - Jobs
    PO10 - Org Units
    PO14 - Tasks
    Derrick
    Banks & Company, LLC

  • Linking between organizational unit and workflow

    Hi
    I have created my organizational unit and workflow.
    Can anyone tell me how to link workflow with organizational unit?

    Hi Azra,,,
             You can link oraganisational unit and workflow by specifying the  organization unit name in the task screen.....
               Assgin values:
             Recipient type = organisational object.
             Then Select Position from Drop down list and then select the
             organisational number with f4 help.
    Simillarly assing the abbrevation of the task of workflow to the Oranisational
    plan position.
    If answer is suitable do give points.
    Thanx ....
    Mandeep      .....

  • Q: SRM/EBP Organizational units without business partner

    Hi,
    Good day!
    I have a problem on generating business partner when creating an organizational unit via PPOMA_BBP.
    Please see below setting of HRLAX of table T77S0.
    HRALX     HRAC     X     Activate HR Integration
    HRALX     MERID     X     Enter Integration Error in IDOC
    HRALX     MSGRE     0     Recipient of Error Message When Creating BP
    HRALX     OADBP          Business Partner of Standard Address
    HRALX     OADRE          Address Necessary for Business Partner?
    HRALX     OBPON     ON     Integration O-BP Activated
    HRALX     OBWIG     X     Ignore Business Partner Warnings
    HRALX     ONUMB     2     Business Partner Number Assignment (Org. Unit)
    HRALX     OPROL     BUP004     Role of organizational unit in business partner
    HRALX     OSUBG     01     Business Partner Subgroup (Organizational Unit)
    HRALX     PALEO          Log: Organizational Units in ALE
    HRALX     PALEP          Log: Employees in ALE
    HRALX     PBPHR     CREATE     Employees Are Replicated from HR System
    HRALX     PBPON     ON     Integration Employee/BP Activated
    HRALX     PCATS          Integration P-BP for CATS Activated
    HRALX     PLEVE     3     Log: Detail Level of Error Messages (1 - 5)
    HRALX     PNUMB     1     Business Partner Number Assignment (Employee)
    HRALX     PPROL     BUP003     Role of employee for business partner
    HRALX     PQUAL          Import Qualifications
    HRALX     PRTON          Log Active
    HRALX     PSYNO          Log: Organizational Units in Dialog
    HRALX     PSYNP          Log: Employees in Dialog
    HRALX     USRAC     X     Create relationship to user
    This happens when i changed the HRLAX ONUMB to 2.
    Thanks in advance for your help.
    Regards,
    Glenn

    Hi Glen
    What is the reason you are using ONUMB  = 2. Why are you not using ONUMBE = 1
    Note on ONUMB and PNUMB u2013
    1. For switch value 1, the internal interval is used.
    2. For switch values 2 and 3, the interval is defined by switches HRALX/OSUBG and HRALX/PSUNG.
    3. Additionally for switch values 2 and 3, a grouping must be created (transaction BUC2) for these intervals. So that the system can connect the grouping and number range interval, the name of the grouping must be identical to the name of the corresponding number range interval (the name of the grouping is in the first column of the table).
    4.  If type 3 is chosen (switch HRALX/ PNUMB=3) for the number assignment of business partners of the employee role, switch HRALX/PSUBG need to be created manually in table T77S0.
    Refer to other OSS notes mentioned in the document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50350f29-1db1-2d10-0194-d6a3bf01a5aa?quicklink=index&overridelayout=true
    Regards
    Virender Singh

  • Tables for organizational unit

    Hello!
    I created an organizational unit including position and user id's.
    In which tables this information is avaliable?
    regards
    yifat

    Hi,
    If you want to see the Organizational unit assigned to an employee, check PA0001 for that PERNR(Employee ID) and pick the ORGEH (Organizational Unit) and PLANS(Position).
    If you just want to see the existence of org unit and position goto HRP1000 table and pick OTYPE = 'O' for organizational Unit and OTYPE = 'S' for positions.
    If you want to see the relationship between them then goto table HRP1001. OTYPE = 'O' for org unit, OTYPE = 'S' for position and Check their relationship with OTYPE = 'P' for Person.
    Regards,
    Amit
    Reward all helpful replies.

  • How to pass Nested Organization Units (ou) for the provisioning purposes

    I have defiend an Entity Adapter which would check the input string and create the Organization Units (such as ou=accounting, ou=finance, o=mycompany) tree and then update the Orgainzation name of Novell Edir User with this new value. The input string is from the Peoplesoft as trusted resource (we use some complext business logic to map to the proper ou tree structure in the Novell Edirectory).
    But, I got the cACT/eventPreUpdate Error :Dataobject contains invalid characters
    when OIM trying to create the user before provisioning to Novell Edirectory.
    Since the ou tree sturcture is used by the pSearchbase during Novell Edir provisioning process, and it should be in the form of ou=accounting, ou=finance, o=mycompany, I am wondering if you know how to solve this problem.
    Thanks
    Ken Huang

    ILovePlSql wrote:
    V_bom_header_tbl.assembly_item_name:= l_bom_header_tbl(i).assembly_item_name ;
    v_bom_header_tabl is a record type and l_bom_header_tbl is a table type .So is the above statement ok?I asked you for type definition. Please provide definition of BOM_BO_PUB.BOM_HEADER_TBL_TYPE and Bom_Bo_Pub.Bom_Head_Rec_Type. If BOM_BO_PUB.BOM_HEADER_TBL_TYPE is table of Bom_Bo_Pub.Bom_Head_Rec_Type then your statment is OK. For example:
    SQL> declare
      2      type BOM_HEADER_TBL_TYPE is table of emp%rowtype index by binary_integer;
      3      l_bom_header_tbl BOM_HEADER_TBL_TYPE;
      4      V_bom_header_tbl emp%rowtype;
      5  begin
      6      select * bulk collect into l_bom_header_tbl from emp;
      7      for i in 1 .. l_bom_header_tbl.count loop
      8        V_bom_header_tbl.ename := l_bom_header_tbl(i).ename;
      9      end loop;
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Link BP to Organizational Unit.

    Hi CRM Gurus:
    I have a problem, I need to link a BP with Organizational Unit. The situation is that the BP is already exist but this BP was not created as Organization Unit in the PPM_CRM transaction. So we need to create an organization unit and then assigned this to the BP.
    Does anybody have an idea how to resolve this problem...
    Thx.

    You're correct... The situation is that we have already the BP's, but now we need these bps will be organizational units. We tried to extend these bps as organizational units and then assign them in the organizational structure. But we could not extend, so we tried to make organizational unit and then link with bps.
    If it is not possible we should use an Z table where we can link the BP with another BP(which should have been created in the PPOMA_CRM). So we will have got 2 BP's... It's something we don't like and also it will be so difficult to maintained.
    We tried to use de BP transaction for extending the BP, but role BUP004 is not available. Only when you create the org. unit from de PPOMA_CRM.
    I hope to give you more info. about the situation..
    Thanks a lot.

  • Create / Update a work center into an organization Unit

    Hello, everyone.
    I'm trying to create a new work center in HR related to an organizational unit by using the bapi: BAPI_HRMASTER_SAVE_REPL_MULT.
    For some reason I'm getting an error message:
    "Object [work_center_id] does not exist in status 1".
    This status comes from the field PL_STATUS at 1001, 1032 infotypes that I'm sending to the bapi.
    Does anyone have a solution for me ??
    Thanks in advance,
    A.S.

    check if you have the object existing in Infotype 1000. If not, then you need to create 1000 also.

  • Mandatory Organizational unit when creating a position

    Hi,
    I would like to know if it is possible to make mandatory to create a relationship with a organizational unit when somebody creates a position using transaction PO13, or any other transaction.
    Thanks a lot,
    Mforman

    Hi Mforman,
    You can define the A003 Org unit relationship to position an "Essential relationship" and make it the next screen to be filled when creating a position (Table t77so). This, however, does not make the respective relationship a mandatory one as one can skip this relationship creation screen.
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Apr 1, 2010 7:52 AM

  • Create admin folders based on OU organizational unit active directory

    We have thousands of users to import from our active directory. In my proof of concepts, the active directory integration service 6.3 running on ALUI 6.1 MP1 imports all the users to the same folder - the folder where my remote authentication source object is.<br>
    Can the active directory integration service create folders based on the many OU's (organizational units) we have? We'd like our portal admin folder structure to mirror our active directory organizational unit structure, but we don't want to have to recreate it manually for the obvious deployment and ongoing maintenance reasons. Is that possible?

    You asked: Can the active directory integration service create folders based on the many OU's (organizational units) we have?
    As far as I understand there is not a way to dynamically generate Admin Hierarchy folders based upon this job.
    Obviously where there is a will there is a way, and if you have a crew of strong developers you could probably write something custom that would do this for you (maybe), but here are 2 other approaches to consider:
    1) use 1 AD Auth source and split the users into multiple folders based upon group association in the "Default Profiles" section under main settings. The problem with this is that if users change groups in AD they will not be resorted in your admin hierarchy.
    2) use multiple AD Auth sources, each with an appropriate query filter. I could be wrong, but the downfall to this approach is that the users that change OU's would be entirely deleted and recreated.
    Edited by geoffgarcia at 04/24/2008 8:11 AM

Maybe you are looking for

  • Starting TestStand with ExtraPuTTY installed

    Hello,  I'm presently using TestStand 2012, more precisely version 5.0.0.262 according to the "About TestStand 2012" button. I'd be interested in using ExtraPutty to send commands to a remote test computer using SSH. I stumbled upon the following doc

  • Decode function in order by clause

    Hi, I need a help from you.. SELECT 'ALTER ' || object_type || ' '|| object_name ||' COMPILE;' FROM user_objects WHERE object_type IN ('FUNCTION', 'PACKAGE', 'PROCEDURE', 'TRIGGER', 'VIEW') ORDER BY DECODE(object_type, 'VIEW','A', 'FUNCTION','B', 'PR

  • Parental Controls doesn't seem to work as desired

    I've read many threads on this topic, but no solutions that work for me yet. I've setup time limits for both kid's accounts. Initially, I thought they were working. However, after each account "timed out", and I allowed additional time using my admin

  • Vendor Return for Capital Goods

    Hi Gurus, Morning all of you, In vendor return for Capital goods, i have created Excise Invoice using J1IS T-code, When i'm trying to Post it using J1IV, Surprisingly I am finding that RG23A fields are getting populated instead of RG23C.whereas my re

  • Problem in WEB UI fields binding

    Hi, When I open IBASE initial screen, I am seeing for so many fields, "NOT BOUND". They are all standard fields, And this is not only in IBASE...some other places also. Could you please let me know, how to solve this issue? Thanks, Sandeep