Assigning BP to Org. Unit

Hello,
Today, on my project,  when a new employee  (as BP) is created in CRM, he/she is assigned manually in PPOMA_CRM to the group (sales) he/she should belong to...
I would like to know if you have any idea of a function module or BAPI I could use in a specific program to do this assignement automaticly.
Thank you for your help,
Mi

Hello Mi,
Don't know if exists a better way, but we assign a business partner to a position using the following function modules:
- OM_CREATE_NEW_RELATIONS (to create a new relation)
- NF_GM_SAVE_DATA (to save the created relation)
Kind regards,
Bruno

Similar Messages

  • How many cost centers can we assign to a org unit

    can anyone pls tell me tht How many cost centers can we assign to a org unit ??
    thanks
    waiting for reply asap

    Hi,
    As mentioned above the common is to assign one cost center. You will see it in IT0001. But in case you need mor cost center to be assign to one employee you have the option to go to IT0027 and in there you may assign more cost centers base on different percentage.
    Hope it helps.
    Kind Regards,
    Edoardo

  • Any report to see what are the users assigned to an org-unit ?

    Hi All,
    Is there any standard report available to see what are the users assigned to a particular org-unit?
    I'm looking for complete list of users assigned to a particular org-unit both directly and indirectly/
    Thank you so much in advance !!
    Cheers,
    Gyan.

    Hi,
    None of them actually helped.
    Trx PC00 is not available in 4.0 sytem. And from the table mentioned i don't see the org-unit value. Could you please elaborate on this.
    Thanks,
    Gyan.

  • Wrong Org unit determination when a user is assign to multiple Org unit

    Hi Experts,
    I have a user who is assigned 3 org units. All the three fall under the same parent of Org unit.
    Now when the user logs in & executes the tcode CIC0, she gets a pop up asking to selet a Org unit out of the 3 available option.
    No matter what the user selects, system always pick the first Org unit ignoring the selection made by user.
    We are using SAP CRM 4.0 win client version.
    I went through the below link but this did not have any solution
    Multiple business roles and org data determination
    Please help!!!
    Please refer the screenshot
    http://img213.imageshack.us/img213/989/cic0q.jpg

    Hi Joaquin,
    When the user log in he gets a pop up asking to choose a Org unit, please refer the screenshot in my previous post.
    No matter what he selects, it the first Org structure gets assigned.
    Please refer the screenshot below
    The business activity screen shows the 1st Org unit. Hence user thinks he has selected the the 2nd org unit creates a Business activity but that gets assign to the wrong org unit unless it is changed manually.
    http://img528.imageshack.us/img528/2821/businessactivityscreen.jpg
    Is it because they both have the same profile

  • Delimiting positions assigned to a Org Unit

    Hi Everyone,
    HAPPY NEW YEAR!
    I have delimited a organisational unit through PPOME. Now I want to delimit all the positions ( vacant as well as filled positions) associated with that particular org unit.
    Is there any T-Code or program where I can delimit all the positions together or I have to delimit all the positions manually. Please let me know.

    Hi
    As far as i know you cannot delimit a position created.
    We need to close the position status from open to close for the position to be delimited automatically.
    If we try to delimit the position by entering a date the system will overwrite the previous one and create a new position from the next date of the delimited date.
    Ravee
    +91.99206.33669

  • In org mgt can we have obect type (P) directly assigned to a org unit.

    Hi,
    I need to know how many employees are under an organisation unit, how can i come to know that. Is there any function module existing for the same??
    I have tried out some code.... plzz tell will this work.
    SELECT  sobid
    INTO TABLE <itab> 
    FROM hrp1001
    WHERE  otype = 'O'
                  AND plvar = '01'
                  AND  relat = '003'
                  AND istat = '1'
                  AND sclas = 'P' .

    Check this report it do the same.
    RHXSTR02
    Regards,
    Amit
    Reward all helpful replies.

  • Assigning a position to Org Unit in mass upload

    Hi,
    I am creating Org units using PPOM transaction where i can create Many org units at a time. NOw i need to assign positions to these org units? is there any way to mass upload positions and assign to these Org units?
    I have arrount 1020 Org Units to create. I created all through PPOM at a time. But to assign positions, i have to navigate to each Org unit to assign a position. Is there an easy way for this? I mean Create an Org unit and create a position at t the same time.
    PS: This is for mass creation.
    Regards,
    Jithin.

    write a LSMW or BDC on PP01 or PO13 and create the position - Org unit relationship ( A 003)
    cheers
    AJ

  • Org unit Hierarchy structure between two  Key date s

    Hello Friends,
    We have an issue with displaying HR Org unit hierarchy structure between two calendar months.
    The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To
    The BI Report is to display the no.of sick absence days for employees in a chosen Org unit hier.
    Employee A had a sick absence of 5 days in the month 04.2011 in the Org unit X . The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
    When we run the report for 04.2011 to 04.2011 , the employee A is showing absence under Correct Org unit ie X with correct Org structure .
    When we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under hierarchy Org unit Not assigned which is OK .
    But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is the latest Org unit .
    When I deactivate the Org unit hierarchy and choose tech name of Org unit , It is showing correct Org unit key
    But The user would like to see 5 days under org unit X and 4 days under Not assigned with Correct Org unit hier structure when we run the Report from 04.2011 to 05..2011 .
    We have a user Exit variable for the Key date in the Bex Report which seems to be taking only one date at any time .
    Is there any way to get the correct figures under Org unit hier structure where employee had absence in when we put range of calendar months on a selection screen ?
    Any advice appreciated.
    Thanks.

    Hi
    Yes, we can display the same by using time dependent hierachy's i.e. your org is converted to time dependent so that respective employee shows with respective of time.
    Regards
    Jagadeesh.M

  • Org unit Hierarchy structure  at Key date

    Hello Friends,
    We have an issue with  displaying HR Org unit hierarchy structure  between two calendar months.
    The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From  and Calendar month To
    The BI Report is  to display the no.of sick absence days for employees in a chosen Org unit hier.
    Employee  A had a sick absence of 5 days  in  the month 04.2011  in the Org unit X .  The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
    When we run the report for 04.2011  to 04.2011 , the employee A is showing  absence   under Correct Org unit ie X with correct Org structure .
    When  we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under  hierarchy Org unit Not assigned which is OK .
    But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is  the latest Org unit .
    When I deactivate the Org unit hierarchy  and choose tech name of Org unit , It is showing correct Org unit key
    But The user would like to see 5 days under org unit X  and 4 days under Not assigned with  Correct Org unit hier structure  when we run the Report from 04.2011 to 05..2011  .
    We have a user Exit variable  for  the Key date  in the Bex Report  which  seems to be taking only one date at any time .
    Is  there any way to get the correct figures under Org unit hier structure where  employee had absence in when we put range of calendar months on a selection screen ?
    Any advice appreciated.
    Thanks.

    Hi,
    You can try adding two more attributes to Org Unit as "Calender month from" and "Calender month to".
    In these attributes maintain the validity period for the corresponding master data.
    For example, in your case you can maintain the master data as:
    Employee | Org Unit | Calender month from |Calender month to | sick absence
    A | X | 4.2011| 4.2011 | 5 days
    A |    | 5.2011 | 05.2011 | 4 days
    And in report use variables for Calender month from" and "Calender month to".
    Hence, when user executes the report with selection as:
    Calender month from" = 04.2011
    "Calender month to"    =  05.2011
    The data will be read from master data based on these selections along with key date and report will show output as expected.
    Employee | Org Unit | Calender month from |Calender month to | sick absence
    A | X | 4.2011| 4.2011 | 5 days
    A |    | 5.2011 | 05.2011 | 4 days
    Hope this works for you.
    Regards,
    Geetanjali

  • Cost center behind an org. unit

    Hi,
    how can I get the cost center assigned to an org. unit ??  I am not talking about relationship A011; this works only if the relationship is available in the object´s master data. The problem is when the cost center is inherited from the org. unit above or from the one above this one or from .....
    Another problem is when the position is vacant; I cannot read IT 0001 for the employee.
    Is there any function or BAPI for that ??
    Thanks a lot.

    Hi,
    thanks both but it does not help. I´ll try to explain it other way. You create in CO a cost center and you create an org. unit in HR. You can then assign 1 or more org. units to the cost center. I am looking for that union. Relationship A011 is not much of a help.
    In the org. structure, a lower-level org. unit inherits the cost center from the father or grandfather org. unit, if we did not assign it to a cost center.
    I don´t want to read the higher-level org. unit for finding A011 or one level higher if A011 is not available or another higher level.

  • Org Unit Business Partner number missing

    Hi Guy's
    I have created some Org models with some Org units and positions in it... But for some reasons I could not able to see any business partner numbers assigned to these Org units..... I hope these numbers automatically come from CRM system...
    Could you tell me is it a Technical issue or Functional issue???
    Please let me know if you have any solution to resolve this
    Thank you very much in advance....

    Hi Sr,
    To get the role 'organizational unit'  for BP make sure you have  HRALX - OPROL - BUP004
    You can mail to [email protected]
    Regards,
    Paul Kondaveeti
    <b>Also see the help extract from customizing:</b>
    Set Up Integration with Organizational Management
    In this IMG activity, you integrate business partner data with HR master data (organizational model and employees).
    Activities
    1. Activate global HR integration by setting the main switch HRALX/HRAC to 'X'.
    2. Activate the integration between business partners and organizational units by setting the switch HRALX/OBPON to 'ON'.
    3. Activate the integration between business partners and employees by setting the switch HRALX/PBPON to 'ON'.
    4. Numbers can generally be assigned in three ways when creating business partners:
    a) Number is taken as before from the general internal interval for number range object BU_PARTNER.
    b) Number is taken from the special internal interval for the object.
    c) Number is taken from HR and given a prefix. A special external interval is used, which has to be defined as XX00000000 to XX99999999, where XX stands for any two letters.
    Number assignment is set for organizational units using HRALX/ONUMB, and for employees using HRALX/PNUMB.
    The number range object for all switch values is BU_PARTNER, the interval being dependent on the switch value. The internal standard interval is used for switch value 1, for switch values 2 and 3 the interval is defined by the switch HRALX/OSUBG or HRALX/PSUBG. For switch values 2 and 3, a grouping also needs be created for these intervals using transaction BUC2.
    To enable the system to connect the grouping and the number range interval, the name of the grouping must be exactly the same as that of the corresponding number range interval. The name of the grouping is in the first column of the table.
    If you choose number assignment type 3 for business partners with the role employee (switch HRALX/PNUMB = 3), create the switch HRALX/PSUBG manually in table T77S0.
    5. If you would like users to be informed by e-mail when errors occur, the recipient can be defined in switch HRALX/MSGRE (0=No messages, 1=Workflow administrator is notified, 2=User receives mail, 3=Both are informed).
    6. If addresses are required to generate business partners correctly, the switch HRALX/OADRE must be set to 'X'. The standard address to be assigned to every organizational unit without its own address can be defined using HRALX/OADBP.
    To create a standard address, create a business partner with an address and then enter this business partner's number in the switch.
    7. If qualifications for employees are also to be transferred, the switch HRALX/PQUAL must be set to 'X'.
    Effects on Existing Data
    If you have already transferred employees from a connected HR System in an earlier CRM Release and have now upgraded, the relevant employees (personnel numbers) must be transferred again to the CRM System by initial distribution. This enables important employee information to be stored in the target system, and changes to be transferred correctly to the business partner master records.
    Message was edited by:
            Paul Kondaveeti

  • Assiging a position to Org Unit in mass upload

    Hi,
    I am creating Org units using PPOM transaction where i can create Many org units at a time. NOw i need to assign positions to these org units? is there any way to mass upload positions and assign to these Org units?
    I have arrount 1020 Org Units to create. I created all through PPOM at a time. But to assign positions, i have to navigate to each Org unit to assign a position. Is there an easy way for this? I mean Create an Org unit and create a position at t the same time.
    PS: This is for mass creation.
    Regards,
    Jithin.

    Create one LSMW program. Do the recording through PP02.
    Here the values will be:
    Plan Version : Whatever u have created or 01
    Org Unit Id:
    Infotype : 1001 (Relationship)
    Subtype: A003/B003 (belongs to/ incorporates)
    Start Date
    End Date
    Planning Status  : 1
    In the next screen :
    Type of Object Type : S ( in ur case)
    ID of Object Type
    You need to upload data in following fields
    1) PLVAR
    2) OTYPE
    3) SEARK
    4) INFTY
    5) SUBTY
    6) ISTAT
    7) BEGDA
    8) ENDDA
    9) SCLAS
    10) SOBID

  • Org unit with extenal number range

    hello comunity.
    I want to create a org unit using the BAPI to create BP, assigning the BP role BUP004 (org unit) and after that assign it manually in the PPOMA_CRM txt.
    The problem is that the system doesn´t allow to create a Org unit in txt BP, the error R1422 appears in the screen "It is not possible to create organizational units".
    Do you know how to do it?? Do you know if I could use the BAPI_BUPA_CREATE_FROM_DATA??
    best regards

    Hi.
    I think there are some BAPI that corresponds to creation of Org Unit, then you can create a BP and the BP Role then assign it to Org Unit but not sure that you will find all in the same function module. On the other hand you can check more about Org. Unit in the following url:
    <a href="http://help.sap.com/saphelp_crm50/helpdata/en/82/25733bb3f4792ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_crm50/helpdata/en/82/25733bb3f4792ee10000000a114084/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_crm50/helpdata/en/bb/bdaff3575911d189240000e8323d3a/frameset.htm">http://help.sap.com/saphelp_crm50/helpdata/en/bb/bdaff3575911d189240000e8323d3a/frameset.htm</a>
    Hope it helps.
    Armando

  • Finding out logged in Org Unit?

    If a user is assigned to multiple org units within a single business role, he/she is given the option to select among the org units when Web UI is launched. After selecting, in the subsequent screens, how to find out dynamically which particular Org Unit he/she logged in through?
    I appreciate your time. Thanks.

    Hi Amar
    to get the Business role or profile using user name, pls use the class CL_CRM_UI_PROFILE_DETERM and use the method DETERMINE_PROFILE_VIA_ORG_MGMT.
    to determin the logged in role and its organiztion unit proceed as follows
    1) Get the user orgunit and roles list using the above said class - methoid which returns table
    2) once you got the result get the Business role the user is currently loged in by using the parameter id CRMT_UI_PROFILE it will return the current business role.
    3) now read the table in point 1 with this busineess role where u will get the orgunit.
    more over there is no static method  for the class  CL_CRM_UI_PROFILE_DETERM  so either you have to create the instance for this class or simply copy the code in the method  DETERMINE_PROFILE_VIA_ORG_MGMT and use the same code some where else in the other class method.
    Hope this resolves your issue.
    Thanks & Regards
    Raj

  • BP - Employee relationships to an org unit and changes

    Dear Colleagues of CRM,
    The scenario pertains to an employee and its relationship to an org unit to which it is assigned. Once an employee is assigned to an org unit, a relationship too gets created with the Employee as BP. This relationship has the contact info that was available in the BP master data at that point of time.
    Later on, if the employee is transferred and hence assigned to another org unit, the assignment in the org unit is changed to the new org unit. On the new org unit assignment, a new relationship gets created with the BP. However, the earlier relationship doesn't get deleted when the earlier assignment to the org unit was deleted. If I attempt to delete the relationship in the BP, it doesn't allow and prompts to u201Cu2026.Change through the HR mastersu201D.  The HR master though has nothing of the contact details vis-à-vis this relationship.
    The existence of this initial relationship is causing error in all my dependent programs / activities which pick up the contact details of this employee and hence trigger emails etc.
    Request solution as to how do I remove this u2018oldu2019 and irrelevant relationship from the BP. It may be noted that the subsequent changes of assignment u2013 deletions in particular u2013 are deleting the relationship too but the initial one exists all throughout.
    Seek your kind advise to resolve the matter .
    Regards,
    Tariq

    Contact SAP they have given two custom reports to check and repair BUT050 entries when we have similar issue.
    Regards,
    Rajesh.

  • Org Unit Asssignment for Activities

    Hi,
        We have recently upgraded from CRM 4.0 --> 5.0 SP 11, for certain individuals who now create data in the mobile applicatio and conntrans it ,  the Organizational Unit is not being assigned to the activities that they are creating. The Sales Organisation and Distribution Channel get passed up/assigned correctly.
    What may be causing this to occur. Note, this is only effecting certain individuals as others who create activities/transactions in the mobile application and contranns it up, the data is assigned correctly (the Org Unit is assigned).
    Any help on this would be greatly appreciated,
    Thanks,
    Dan

    Dear Raul,
    This means the org unit has an incorrect status to allow for activation The activation program checks that the org. unit has the status 'Approved' or, if no responsible approving manager exists in the system, the status 'Complete'.
    When the status of the org. unit is approved using the planning overview, this status is written to the process support table
    rather than the infotype 0759.  The status in Infotype 0759 remains 'Submitted'.
    In order to activate the records, you therefore want to enter Process status from = 'Submitted,' and Process Status to   = 'Active' in report RHECM_CHANGE_PROC_STATUS.
    Report RHECM_CHANGE_PROC_STATUS allows such entries if:
    1.  Customizing view V_T71ADM26 has 'Enable Approval Process' checked. (which is the case in your system for MS11 and you are then approving using the planning overview).
    2.  The status of the org. unit(s) to which the employee is assigned is approved.
    Please note that the second check mentioned (which prevents the activation of records which have not yet been approved) is only performed after note 1478804 has been implemented in your system.

Maybe you are looking for