How to find cheif of Organization Unit.

Hi,
I am developing a report related to HR org management. Could anybody suggest me how to get chief of a organization unit using function module or select stmt. I have PERNR and I need to get who if the chief of that PERNR.
Thanks,
Ram

Hi,
- read EE's current org unit
- use i.e. FM HRCM_ORGUNIT_MANAGER_GET passing it as objid and otype = 'O'  .
You will get this org unit Manager.
Note!
There are plenty of functions you can use to achieve the same. The above is just an example.
Regards
Marcin

Similar Messages

  • How to find Ledger, LE, Op units, Org(All) names and IDs ?????

    How to find Ledger, LE, Op units, Org(All) names and IDs ?????
    Regards:
    Shahzad M. Saleem

    Dear Rajen!!
    How can i link GL_SETS_OF_BOOKS  & XLE_ENTITY_PROFILES ??? as Gl Sets of books has ledger ID whereas XLE_ENTITY_PROFILES has legal entity id???
    I want All LE and all of there ledgers, units and orgs.
    Regards:
    Shahzad M. Saleem

  • How to find out Sales organization of a sold to party from tables

    Hi all experts, I have the following questions:
    1. How to find out Sales organization of a sold to party using tables?
    2. Also please tell any function module which gives relationship between sold-to-party and sales organization to which it belongs.

    Hi,
    Check table CRMM_BUT_LNK0141 to obtain the sales area of a BP (by BP Guid).
    If you need the sales office and sales group, read GuidSet of that table and check table CRMM_BUT_SET0140 to list the sales office and sales group by that Guid set.
    There are some function modules too:
    CMS_BUPA_ORGDATA_GET_BL among others.
    Regards,
    Susana Messias

  • How to Configure Overview of Organizational Units iView in MSS 5.0/6.0

    Hi all,
    Does anyone have any idea on how to configure the "Overview of Organizational Units" iView in MSS to work with the HR backend?
    When I click on the Organizational Unit in the iView, it does not link me to a new page and no Organizational Unit overview pops out.
    Any form of help or hints is deeply appreciated.
    Many many thanks in advance.

    Hi Leong Ko,
    In order for this to work, first and foremost your userid has to be linked to some "manager" employee of your choice in infotype 105, subtype 0001.
    Secondly, the position that this "manager" employee is holding has to be assigned to one organisational unit (technically relationship A003, but you can do this from transaction PPOME).
    Thirdly, the position in question has to be marked as "chief position" (in technical terms relationship A012-manages between the position and the org. unit to which it belongs). This can also be done from transaction PPOME.
    If the organisational unit to which the position belongs has, in turn, subordinate org. units, these will also be shown in the Iview.
    Of course you will have to be logged on to the portal with your userid (the one that you assigned to the employee in infotype 105) for this to work. It will not work if you are just testing the Iview without being logged on.
    Hope it helps.
    Regards,
    Rodrigo

  • How to get users from Organizational Unit and with worker's subgroup

    Hi
    I am looking for a f. module to get the list of users from specific Organizational Unit and with specific worker's subgroup.
    I found f. module SWI_GET_USERS_OF_ORG_UNIT but it seems not working and only returns the users, how can I narrow the selection to get only from specific worker's subgroup?
    Thank you

    Hi,
    Try with FM RH_STRUC_GET with following parameters:
    ACT_OTYPE = O
    ACT_OBJID = worker's subgroup
    ACT_WEGID = SBESX
    Most important is to specify OBJID as the workers's subgroup, values for the others parameters may vary.
    Cheers.

  • Critical abap hr req - How to find the previous org unit of the employee?

    Hi Experts ,
    I need small inputs from your end...
    I need to find the employee org unit based on the latest one.....
    i just want to know if an employe is Transfered from the org unit .....we can check it from the ORG unit.
    My requirement is to now capture only the org unit of IT folks not for the employees who are transfered to NON-IT department.....
    sop if an empployee 5000 org unit belongs to IT of employee 1000 and NOW he transfered out of IT with current 6000 org unit then how can we read that 5000 ?
    now i am using PCH logical data base...
    Based on evaluation path(Pers-0)  i will pick up the pernr 1000.
    now when i check the org unit it is 6000 with end da 12/31/9999.
    then i loop
    select * from pa0001 into itab where pernr = objec--objid and otype = 'P'.
    enselect.
    loop at itab where pernr = objec-objid.
    Here in the loop what is the logic we need to write to pick up the previous org unit please suggest
    endloop.
    Regards
    sas

    >
    Faisal Altaf wrote:
    > Hi,
    >
    > Please Test the following Sample Code hope it will solve out your problem,
    >
    >
    TABLES: pa0001.
    >
    > DATA: it_pa0001 LIKE STANDARD TABLE OF pa0001 WITH HEADER LINE,
    >       begda TYPE begda.
    >
    > SELECT SINGLE begda FROM pa0001 INTO begda
    >   WHERE pernr = '00000001'
    >     AND endda = '99991231'.
    >
    > begda = begda - 1.
    >
    > SELECT * FROM pa0001
    >   INTO CORRESPONDING FIELDS OF TABLE it_pa0001
    >   WHERE pernr = '00000001'
    >     AND endda = begda.
    >
    > Please Reply if any Issue,
    >
    > Best Regards,
    > Faisal
    Hy Faisal...what is the begda value there?
    Regards
    sas

  • PPOMA_CRM - System does not find the correct Organizational Unit

    Dear Experts,
    we have done the following:
    1. We created a new Z-Field within table CRMD_ORDERADM_H with the Application Enhancement Tool. The name of the field is: ZZFLD000000.
    2. The we changed the View-Cluster T77OMATTR and added the attribute ZZFLD00000 (Name Postal Code).
    3. We added the attribute to the View in Component BT126H_APPT.
    4. In PPOMA_CRM we added the Z-Attribute to the Organizational Unit 'A' with a number range from '08030' to '08035'.
    5. Then we changed created a new Org. Determination Rule and assigned the new Determination Rule to a new Org. Data Profile which we assigned to the transaction type. We made a try and the determiantion rule is working!
    The point is, when we create an activity the user puts the postal code (in this example '08032') into the created Z-Field and then we expect that the specific organizational unit 'A' will be assigned like Service Organization.
    To solve the problem we put a breakpoint to all SET and GET Methods of the Attribute but the system is not stopping there. We missed something but we can not find really the problem.
    Which method we have to redefine so that SAP CRM is looking at the new created Z-Field and is searching within the Organizational Structure for the correct Organizational Unit?
    Best Regards
    Oliver

    Hi,
    This is my idea, I don't check this.
    But, I think it's have to work.
    Pass guid to CRM_ORDER_READ, and get parameters.
    After that, check where you can read postal code.
    I think it's in lT_CUSTOMER_H
    For example,
    call function 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid = ZGUID
        IMPORTING
          ZCUSTOMER_H        = lT_CUSTOMER_H
        EXCEPTIONS
            DOCUMENT_NOT_FOUND = 1
            ERROR_OCCURRED = 2
            DOCUMENT_LOCKED = 3
            NO_CHANGE_AUTHORITY = 4
            NO_DISPLAY_AUTHORITY = 5
            NO_CHANGE_ALLOWED = 6.

  • How to unassign(delete assign) Organization Unit to User?

    How to <b>Unassign Organization Unit to User</b>? Is there any furnction module to do this ? <b>What are the function modules to update org unit of the user & to update the attributes of the user</b>? Update org unit means we have to delete & recreate org unit or else directly to update org unit of User any function module existed? Please help me out asap. Thanks in advance.
    Thanks & Regards,
    Nagaraju Maddi

    Hi Cardo,
    I am developing a function module. In that one I have to write the code for the below case.
    Suppose user was assigned to 'XYZ' organization unit. Now I want to change his organization unit as 'ABC'. How to handle this programetically? Later I have to update that user attributes. I think now u understand my requirement. Please help me out.
    Regards,
    Nagaraju Maddi

  • How to drive sales order Organizational Unit to equal the Sales Office

    CRM 7.0, sales order is using org rule ORGMAN_23 which has FM CRM_ORGMAN_ORGOBJECTS_FIND_11
    The sales order finds the sales org, dist channel, division, sales office, and sales group but the Organizational Unit always matches the sales group.
    Will any of the delivered FM's used in PFAC
    CRM_ORGMAN_ORGOBJECTS_FIND_1
    CRM_ORGMAN_ORGOBJECTS_FIND_2
    CRM_ORGMAN_ORGOBJECTS_FIND_3 ......
    return the results I desire? or will we need to copy and modify one of these FM's.

    Hello,
    You need to adjust your org structure in ppoma_crm.
    Currently the org unit which is mapped to an ECC sales group holds the attributes that mapped to the BP's sales area data.
    (If you are using rule ORGMAN_23).
    Please create an org unit, which is not mapped to the sales group, with the desired attributes, then assign the BP to this org unit.
    Best regards,
    Maggie

  • How to not use one organization unit without using tranfer org plan?

    Dear all,
    I want to stop using one organization unit but I don't want to reset Org Plan (Current-> Pass) so please help me how to reset valid date for one organization unit ?
    Thanks for your supports.
    Huyen Nguyen

    Hi Huyen,
    You will have to delimit the Org Unit to a New End Date...to disallow using of this Org Unit...
    To do so, Run the TCode RE_RHGRENZ4
    Enter the following values in the Report:
    Plan Version - 01
    Object Type - O
    Object ID - XXXXXXXX
    Reporting Period - All
    New End Date - 31.12.2009
    Infotype Selection - Leave it blank as it will delimit all the Infotypes that were maintained for this Org Unit...and will delimit to the new date..
    Existing End Date - 31.12.9999
    Checkmark the following:
    Delete records with start date after delimit date
    Lock Object
    Display Delimited Objects
    Good Luck !!!
    Kumarpal Jain.

  • How to find the sales organization for the customer (VKORG)

    Hi all,
           I have the customer number(KUNNR) and company code(BUKRS),
           Now i want the sales organization for that customer(VKORG).
           Please give me logic to find the sales org for that customer.
    Thanks,
    Ravi

    REPORT ZTEST3.
    parameters:
    p_kunnr like knb1-kunnr,
    p_bukrs like knb1-bukrs.
    data:
    w_kunnr like knb1-kunnr,
    w_vkorg like knvv-vkorg.
    select kunnr from knb1
    into w_kunnr
    where
    kunnr eq p_kunnr and
    bukrs eq p_bukrs.
    select vkorg into w_vkorg
    from knvv
    where kunnr eq w_kunnr.
    write:/ w_kunnr,p_bukrs,w_vkorg.
    endselect.
    endselect.

  • Function to find organization unit

    Hi all,
    I'd like to know if functions exist in R/3 to find easily an organizational unit in the tree of the relationship between organizational unit.
    For example, you have the id of an OU and you need to know the top of the list of this OU in the hierarchical structure (the list of the OU depending between them).
    I'd appreciate very much if anyone could provide some help regarding this topic.
    Thanks in advance.
    Daniel

    Use Function Module RHPH_STRUCTURE_READ with parameters
    PLVAR                           01       
    OTYPE                           0U        (Business Unit) OBJID                           50050001  (example)
    WEGID                           Z-0U-O (Custom Eval Path)
    BEGDA                           12/06/2005
    ENDDA                           12/06/2005
    This will return an internal table of all Orgs under the Business Unit. You should sort the table by SEQNR & get the first Object type O record. Thats your Chief Org Unit for the Business Unit.

  • Determine Organizational Unit cost center

    Dear all,
    how do I determine an organizational unit cost center?
    I know that if cost center it's not inherited I can find it in hrp1001, but how in the other case?
    Is there a FM that can be used?
    Thanks in advance
    FLP

    Hi,
    thanks for your reply, no, I can't read it from there.
    This is HR stuff... In OM you define Organizational units, and you can specify a cost center for it (that a program can read in HRP1001) or it is inherited from the previous Organization unit (that will not create a recodr in HRP1001).
    Thanks
    FLP

  • 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      .....

  • Organization Unit Assignement

    How will you assign the organization unit for the new position is it thru PPOM
    How will you replicate in Production

    Hai..
    1. 1001 Infotype..
    2. transport the same to prod...

Maybe you are looking for

  • Render Queue stopped working

    I have done about 50 comps in the past few days when all of a sudden it stops working. I hit render and nothing happens. But it does start rendering and a blank file appears but it's not correct. In fact the render once started never ends. So it's a

  • Finding Latest Files added to hard drive

    I've got a peculiar problem here. Since yesterday or the day before my available hard drive space has dropped around 3 gigabytes. Thing is, I've installed nothing, downloaded nothing, nor added nothing to the computer. Is there a way to perform a sea

  • How to apply single sine or square wave

    Now I used NI-FGEN and NI-Scope for bender element test, I want to now how to generate single sine or square wave (normally in NI-FGEN, I saw only continuous wave generation type).thanks you so much

  • [b]Capture device problem with JMF[/b]

    Hi, I am doing audio and video transmission using the AVTransmit2 program. This program is at the server side. When 1client requests a transmission, it works fine. I am able to receive the audio and video. But when i have more than 1client i get the

  • Motion DVD by Mark Spencer

    I am ready to buy Spencer's Motion Deep Dive but am wondering if anyone has tried it before. I read one of his books and find him quite good at delivering info - it's clear he is a master at this but delivering is another issue. I am just trying to g