Need to find hierarchy  of employee

hi,
i wont to now how i can find who is above employee in hierarchy
in company ?
i now about RH_STRUC_GET but i dont now how to use it for this requirement
i reward
Regards

Hi Arona,
Very recently I had crossed this issue, Here I am pasting the code to get immediate manager of employee whome we entered as person number in input.
Even this is late response, hope this is helpful.
Do u have any idea to get lower hierarchy of employee,
i.e i want the complete chain of the employee to whom he belongs.like.....
manager-> his under employee> his under employee---> -
> and so on..
REPORT  ZEMP_MGR_NAME .
TABLES: PA0001.
DATA : BEGIN OF IT_PLANS OCCURS 0,
       PERNR LIKE PA0001-PERNR,
       PLANS LIKE PA0001-PLANS,
       SNAME LIKE PA0001-SNAME,
       END OF IT_PLANS,
       BEGIN OF IT_SOBID OCCURS 0,
       SOBID LIKE HRP1001-SOBID,
       END OF IT_SOBID,
       BEGIN OF IT_SNAME OCCURS 0,
       PERNR LIKE PA0001-PERNR,
       SNAME LIKE PA0001-SNAME,
       END OF IT_SNAME.
DATA: P_ENDDA LIKE PA0001-ENDDA.
           P_ENDDA = SY-DATUM.
PARAMETER : P_PERNR LIKE PA0001-PERNR.
START-OF-SELECTION.
REFRESH  : IT_PLANS,
           IT_SOBID,
           IT_SNAME.
SELECT SINGLE PERNR
               PLANS
               SNAME
          FROM PA0001
          INTO IT_PLANS
         WHERE PERNR EQ P_PERNR
           AND ENDDA GE P_ENDDA.
IF SY-SUBRC <> 0.
WRITE:/ 'THERE IS NO PERSON FOR THIS INPUT'.
ELSE.
WRITE:/
                IT_PLANS-PERNR,
                IT_PLANS-SNAME.
ENDIF.
IF IT_PLANS IS NOT INITIAL.
*loop at it_plans.
SELECT SINGLE SOBID
          FROM HRP1001
          INTO IT_SOBID
         WHERE OBJID EQ IT_PLANS-PLANS
           AND OTYPE EQ 'S'
           AND PLVAR EQ '01'
           AND RSIGN EQ 'A'
           AND RELAT EQ '002'
           AND ENDDA GE P_ENDDA.
*append it_sobid.
*endloop.
IF SY-SUBRC <> 0.
WRITE:/ 'THE POSITION IS NOT MATCHING TO ANY OBJECT ID'.
ELSE.
ENDIF.
IF IT_SOBID IS NOT INITIAL.
SELECT  SINGLE PERNR
               SNAME
          FROM PA0001
          INTO IT_SNAME
         WHERE PLANS EQ IT_SOBID-SOBID
           AND ENDDA GE P_ENDDA.
IF SY-SUBRC <> 0.
WRITE:/ 'THERE IS NO MANGER FOR THIS PERSON'.
ELSE.
*loop at it_sNAME.
WRITE: IT_SNAME-PERNR,
       IT_SNAME-SNAME.
*endloop.
ENDIF.
ENDIF.
ENDIF.
Rewards if helpful,
Surender.

Similar Messages

  • How to find list of employees resigned during a period of time.

    Hello Friends,
                         I need to find list of employees resigned during a period of time. Is there any standard report available. Otherwise any other way.
    Thank you for your time.
    Cheers,
    Senthil
    Edited by: Senthil on Feb 13, 2008 4:18 AM

    Hi,
    Use this report: RPLMTI00
    I hope this helps.
    Arti

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • Need to find out department having maximum total salary among all depts

    Hi,
    I am new to oracle. I was wondering how would I create a query for following condition.
    I have a employee table. There are columns like emp_id, emp_name, emp_dept, emp_sal
    I need to find out department having maximum total salary among all departments .......
    This was asked in one of the interviews.............
    Thanks in davance,
    Abhijit
    Edited by: 833515 on Feb 3, 2011 4:11 AM

    Hi,
    You can use aggregate functions, analytic functions etc. Read up aggregate functions from the docs and try to write the query yourself. If you face any problems, post it in the forums.
    Happy learning!!
    Regards,
    Sujoy

  • HXXCEDT0 need to find out where are inputs for the form zk- zkq-rest

    Hi guys,
    im trying to modify by custumer exit, the program H99CEDT0 (the one that prints the payrroll for employees)
    my problem is that i need to find where some value is stored before printed in the form.
    the field is zkq-rest, i find a zq and i know that is from that table that get the field that i need, i need to find a form, method or something that extract and compute data from the zq table and stored in the zkq (absences quota)
    any ideas?

    Hi,
    where you maintain critical limit for each items?
    Try with below
    You can customized batch program to perform every day to check all open PO items to check GR Qty and then send e-mail reminder
    Take help from your ABAPer on this
    Hope this will help to you
    Regards,
    Sankaran

  • Need help finding a driver for my hp webcam . My computer say I dont have a camera but I do.

    Need help finding my camera[webcam] on my computor.

    Can you provide us with your computer model number?  Take a look in Device Manager to see if there is an Imaging Devices group that includes the webcam.  If not, is there an Unknown Device listed?  This would indicate that your webcam is detected, but there is no driver installed.  We can help you find the correct driver if that is the case.  Let's start with the computer model number.  Thanks.
    I am an HP employee. The opinions expressed are my own and not those of HP.

  • Need FM for Org Mannagement, Employees from lower org units

    hi,
    I have a person/manager suppose in Org Unit 'A' from whome I need to find out employeees belonging to org units at lower level to 'A'.
    Now I also have to check that I should get employees of the lower org units till I get a org unit with manger position if manager position is available stop otherwise need to keep searching the lower level org units.
    I am in search of any function module available for such requirement.
    Please reply me if anyone has any idea on this.
    Its urgent.
    thanks and regards,
    Akash.

    BBPU_GET_USERS_OF_ORGUNIT
    Use this FM to get users below an ORG UNIT.
    BBPU_GET_MANAGER_FLAG
    Use this to get manager flag.
    Revert to me for any doubts.
    Regards
    Vishal

  • I need to find authorized hp service center in my area

    I need to find authorized hp service center in my area

    Thank you for visiting the HP Support Forums. I'm sorry but this is a peer-to-peer community of HP customers, and not a venue to contact HP directly. Most of the users here are consumers like yourself who are offering solutions because they like to help others, and any HP employees you see are here on their own capacity and not representing the company.
    If you have additional or direct feedback for HP about their products or services, or questions about repair, you can use the link below for contact information.
    http://www8.hp.com/us/en/contact-hp/ww-contact-us.html
    Kippwj wrote:
    zip code 05753
    OrnahP
    HP Support Forums Moderator
     Clicking the "Kudos Star" to the left is a great way to say thanks!
     When your problem has been solved, accept the solution by clicking "Accept as Solution" to help other members in the future!
    Rules of Participation

  • Need to find a BAPI for the below requirement

    Hi All,
    Need to find a BAPI for the below requirement.
    We are assigning roles to users using SU01 T-Code and we are in the process of automating this and since we need a BAPI which can do this. Apart from assigning roles to users, SU01 T-code is doing many functionalities, but if we can get a BAPI which can perform assigning roles to users will suffice the requirement.
    Thanks in advance,
    Srilakshmi.

    Hi SreeLakshmi
    see the list of BAPIs given below.
    1065 Business Object Employee
    BAPI_JOBROLE_CLONE Create a User Role in Another System By Copying
    BAPI_BUPA_ROLES_GET SAP BP, BAPI: Determine All Roles
    BAPI_BUPA_ROLE_ADD SAP BP, BAPI: Add Role
    BAPI_BUPA_ROLE_EXISTENCE_CHECK SAP BP, BAPI: Check Existence of Role
    BAPI_BUPA_SET_ROLE SAP BP: Set Object Part / Roles
    BAPI_GET_EVENTTYPE_FOR_ROLE Determine Business Event Types Using Standard Role
    BAPI_EMPLOYEET_CHANGEPASSWORD Change employee password
    BAPI_EMPLOYEET_CHECKPASSWORD Check employee password
    BAPI_EMPLOYEET_CREATE_PW_REG Create entry for employee password
    BAPI_EMPLOYEET_DELETE_PW_REG Delete entry for employee password
    BAPI_EMPLOYEET_DEQUEUE Unlock employee
    BAPI_EMPLOYEET_ENQUEUE Lock employee
    BAPI_EMPLOYEET_GET_PW_REG Read entry for employee password
    BAPI_EMPLOYEET_INITPASSWORD Initialize employee password
    Reward if helpful
    Regards
    Lakshman

  • I need help finding a power supply

    I need to find a power supply that is compatible with my Compaq  Presario SR5816F
    It needs to have a minimum  output of 12v @ 18 amps    and  have at leaast 350 wattts...
    thanks.
    This question was solved.
    View Solution.

    See my reply to your later thread:
    http://h30434.www3.hp.com/t5/Desktop-Hardware/Will-this-power-supply-work-with-my-PC/m-p/4292292#M85...
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • I purchased Adobe Creative Suite 3 Master Collection Design Across Media Upgrade for Windows at a business closing.  What do I need to find out before I can use it?

    I purchased Adobe Creative Suite 3 Master Collection Design Across Media Upgrade for Windows at a business closing.  What do I need to find out before I can use it?

    I couldn't tell you what you purchased, and it might even be difficult for an Adobe employee to do so.  The business could have a few options as far as what they might have purchased.
    Your best bet, considering what little you paid, will be to hand it over to someone you might sell it to and let them try it out.  If it works, then it works.

  • Need to find out specs for a few CTR units placed ( orders placed on the outlet )

    Hi I need a moderator or Lenovo employee to help me find the specs for some units I purchased from the outlet. There is no records of specs on the website. These are CTR ( previously Custom to Order ).

    http://support.lenovo.com/en_US/product-and-parts/​partsLookup.page
    Use this by entering serial and machine type - it will give you full BOM of parts in your CTO computer.
    T430s (i7 / HD+ / Intel 520 SSD / 16 GB Ram)
    Previous: X60s, Portégé R100

  • Need to find a calendar to schedule multiple assignments with multiple tasks set on specific days for multiple people

    There may be no such animal as what I am searching for, but I thought I'd give it a try.
    What I need to do is find a calendar app that allows me to have individual calendars for staff members that I can place a several-days-long assignment and have those people access remotely on an iPad or iPhone (autosync).
    I also want to be able to have tasks set on specific days within that assignment that have alerts/reminders for each stage of the assignment.
    Being able to custom colour each individual assignment (not just the person's own calndar) is also necessary, as these asignments overlap and need to be easily distinguishable at a glance. Each assignment needs to be its own entity and not affect any furture or previous entries, even if I choose the same colour.
    It needs to be in a month by month view and be able to be something each person can subscribe to and sync up with for changes on a daily basis. It does nothave to be a calendar like in the screen shot below, it could be a linear calendar that has days across the top and assignments down the left side.....
    Here is a screen shot of a rudimentary excel spreadsheet I have been using. It is awkward and becoming unmanageable as the number of assigments increases and more staff are being added on. And I must send a new spreadsheet out every time I make a change or add an assignment, which is several times a week.
    I suspect I may be asking for the world, but if anyone knows a direction I can go in to start a search, I'd be grateful. I haven't had success of my own so far and need to find something soon.
    iCal doesn't work for me due to the fact I can only colour code the calendar itself and not the event, plus not being able to have multiple tasks within one event. And the qty of assignments I'd have would see most getting lost, eliminating my abilty to see every staff member's assignmanet at the same time.
    Thank you in advance if you have a suggestion and if not, thanks for looking at my dilemma! 

    check with T-code TPM44
    zashok

  • Need to find professional income tax preparation software, capable of handling 1065, 1120, 1041, 990, etc. preferably PPR compatible with Mac's OS

    Need to find pro tax prep software compatible w/Macs. My software maker, Drake, does not have Mac version. I've checked Pro-Series (no) and maybe 1 other. I don't want to spend Lacert kind of $$ (neither do the majority of longtime Lacert users apparently). Obviously, no Turbo Tax, Tax Cut or any other commercial, deduction & crdit missing commercial software. They would ned to have the ability to 1) convert a few years of Drake to their program, 2) Covert files created on PC to files that 10 OS could use. Also, would like them to have reasonable PPR program, free efile, free unlimited states, capable of 1040, 1065, 1120, & (S), 1041, 990. Built in tax knowledge base. I'd be eternally indebted to you if you found sometghing as intuitive and value oriented as Drake but for OS 10. BEGINNING TO THINK APPLE bends over backwords for artistic tools but not so much business tools. Too bad, I've had a few tax returns that have bordered on art.
    I will likely need to add Parallels & Windows 7 OS, preferably 64-bit to this Macbook Air. If so, I do not think I have sufficient memory or storage so would like to download & install onto NFTS (sp?) formatted 1TB HD. I do not know if hard drives, USB hubs, Optical drives etc. that work w/ Windows (as long as you choose correctly btwn SATA & IDE) will work on MacBook Air. Help greatly appreciated. So if you happen to know any pro tax prep software ompatible w/ OS 10 and/or, you could give me some info on what characteristics peripherals would need to have to use on MacBook (I'm hoping that most are inrterchanheable but my hoping ain't gonna make it so. OR if you know any great deals on Parallel-I saw some promos but not from reliable places. If I could find on Bradsdeals or Coupon Cabin I'd feel safe. I've seen  an Apple ad for a bundle of software w/ some other decent parts (Snagit) . I'd love to find a promo that applies to the bundle and download all 9programs for $9.99 (right). Too many questions, sorry for any protocol violations.  As you might have noticed, a keyboard is high on my agenda- I hate laptop keyboards though Apple's seems better than most. I also hate using scroll pads. Much rather have mouse. Real challenge is to find Bluetooth OS 10 keybrd that has numeric keypad. I wonder if the financial dept. @ apple uses keyboards w/ no numeric keypad, saw one that started at $99. I spent all the $$ I have on a MacBook, none leftover for overpriced peripherals, esp. w/ 2 kidfs going off to college in Sept.
    Thanks for allowing me to whine & ramble. Feel free to call me on any breach of protocol as I am 1st time poster.
    Thanks for your time and consideration, I HOPE I'M CORRECT IN MY GUT FEELING THAT I've joined the forces for good by switching. Too many PCs ruined by malware.
    Bill S

    Bill I've also run into a very similar problem, I own many Macs but I've had a PC for Tax Stuff. My PC broke and I refused to buy another one so I began to search for an alternative. Window's Emulators have given me so much trouble with my Tax Software.
    However, I've since found out that Intuit has a cloud based tax solution that works with a MAC because it's all done online. Which means you'll need a reliable internet connection whenever you want to prepare a client's return.
    It's suppose to support all of the major returns (1040, 1041, 1065, 1120, 1120S and 990)
    I've yet to use this solution, but it's the best thing that I've been able to find so far. This is what I'll be using this upcoming Tax Season.
    So I figured that it would be worth mentioning. Good Luck!
    http://accountants.intuit.com/tax/online/?s_cid=SEM&s_ev1=SEM_TOE_Brand_Lower-ke yword_proline_tax_online

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

Maybe you are looking for

  • How can I use my time capsule as an external hard disk?

    Hi , I hav en Airport Extreme 3 TB. I have done the setup. And it seems to working well. But I also want to use it as an external hard drive. When I go finder Shared folder I could not see Data folder in it. I have this screen. How can I see that fol

  • How to add attachments in pdf -URGENT

    Hi All, I need information about how to add attachments to pdf in webdynPro. I am unable to find related topics in Forums. Sample code,examples,or suggestions would be helpful. Thank you Regards Ravi

  • Two Macs don't see each other

    Just bought a new Macbook and it's on the same subnet as my iMac. I have the firewall running in stealth mode on both machines. Neither one sees the other and Finder sidebar does not show any "shared" computers. I'm assuming that I need to disable th

  • Iphoto library location

    After upgrading to OS Lion, I do not see anymore photos,  where should i look for them?

  • HT201342 changing icloud email address

    I made a typing error in my email address, which is very annoying, how do i change it, re-register, it doesn't seem possible