Finding Manager and supervisor

Hi all,
I have a requirement to find out the manager and supervisor positions according to the level of positions.
1) from the pernr i will findout position (S).
2) if the number of reportee positions belongs to (S)  = 1 .
the position is a supervisor...
if the number of reportee positions  belongs to (S) >= 2 .
the position is a manager..
for that i have done coding in ABAP...
1) PERNR ->A008-> get position S in wa_obj-sobid.
then..check up to depth 3
  CALL FUNCTION 'RH_STRUC_GET'
    EXPORTING
      act_otype              = 'S'
      act_objid              = wa_obj-sobid
      act_wegid              = 'S-S'
    ACT_INT_FLAG           =
    ACT_PLVAR              = ' '
      ACT_BEGDA              = SY-DATUM
      ACT_ENDDA              = SY-DATUM
      ACT_TDEPTH             = 3
    ACT_TFLAG              = 'X'
    ACT_VFLAG              = 'X'
    AUTHORITY_CHECK        = 'X'
    TEXT_BUFFER_FILL       =
    BUFFER_MODE            =
  IMPORTING
    ACT_PLVAR              =
    TABLES
    RESULT_TAB             =
     RESULT_OBJEC           = it_hrp1001
    RESULT_STRUC           =
  EXCEPTIONS
    NO_PLVAR_FOUND         = 1
    NO_ENTRY_FOUND         = 2
    OTHERS                 = 3
2).finding manager and supervisor.........
    loop at it_hrp1001
        into wa_hrp1001
        where otype eq 'S'.
      add 1 to l_count .
    endloop.
  ENDIF.
****if level > 2 then manager.
****if level = 1 then supervisor
if l_count eq 1.
  IS_SUPERVISOR = 'X'.
elseif l_count ge 3.
  IS_MANAGER = 'X'.
endif.
Is the ABAP coding will workout with logic and
get desired output ????
Regards
Jose
Edited by: Jijo Jose on May 22, 2008 11:50 AM

Nope.. create JOB for this different in position title so you can create levelings...
and in PA it usually identify the levelings of the employee

Similar Messages

  • Finding the explanation of all entries of the Windows Boot Manager and Windows Boot Loader sections

    Hi
    Where can I find the explanation of all entries of the Windows Boot Manager and Windows Boot Loader sections that appear when I write the /store /v options of bcdedit command?
    Thanks
    Bye
    Balubeto

    All the BCEDIT command line options are described here:
    https://technet.microsoft.com/en-us/library/cc709667%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    Jerry
    Actually, I wanted to find the explanation of all entries (as inherit or
    device or osdevice) of the Windows Boot Manager and Windows Boot Loader sections
    that appear when I write the /store /v options of bcdedit command?
    Thanks
    Bye
    Balubeto

  • How do I find out and manage which devices I installed Adobe Creative Suite on?

    I need to activate Adobe Creative Suite on a second computer, but a window comes up saying that I already have installed Creative Suite on a maximumo of 2 computers. I know that I can only download on 2 computers, but I have no idea where I downloaded it the second time. I need to find that device and deactivate it so that I can use my real 2nd computer.
    So, how do I find out and manage which devices I installed Adobe Creative Suite on?
    And if I deactivate it, can I activate my 2nd computer?

    Yes the End User License Agreement is the same for the Student and Teacher edition.  You can find more details at http://www.adobe.com/products/eulas/#desktop.

  • I just added an "add on manager" and now I cannot find it anywhere, is it hiding or am I just not looking in the right place? Please help, thank you

    I downloaded "Slims Add On Manager" and now I cannot find it anywhere.

    Thank you very much, the-edmeister.
    Geez, do I feel silly for not knowing this!
    Thanks again.

  • Graphics card installed in Pavilion p7-1210 and I can' t find it in device manager and no display.

    I installed a Sapphire Radeon HD 6670 in HP p7-1210 (AMD A6-3620) and it did not show up in device manager and I get no video out of the card.  I am new at installing devices in computers so I don't know if  I did something wrong or not.  It seemed straightforward enough, plug the card into the slot and install the drivers but nothing happened.  I also installed a new Antec earthwatts 500 watt power supply at the same time, no problem.  All devices worked as before, just no video out of the Sapphire card, luckily, I still have the integrated video from the AMD processor.  What next?

    look under scsi devices under the profiler.
    Some SATA controllers use the same chipset as their scsi counter parts.
    That is where my Acard SATA controller shows up.

  • How to find loop in Supervisor Hirarchy.

    How to find loop in Supervisor Hirarchy.
    Employee - > supervisor 1 (Manager) ->supervisor 2 (Manager) -> Employee (Manager)
    Thanks

    Remember to always truncate the time portion when checking effective dates in HRMS. So the query should be rewritten as:
    SELECT
    a.business_group_id, a."PERSON_ID",a.assignment_id, a."EMPLOYEE_NUMBER", a."FULL_NAME",
    a."SUPERVISOR_ID", a."SUPERVISOR_EMP_NO", a."SUPERVISOR",
    a."ORGANIZATION_ID",a."POSITION",
    LEVEL level1,
    CONNECT_BY_ROOT supervisor_emp_no top_supervisor,
    CONNECT_BY_ISCYCLE loopback,
    CONNECT_BY_ROOT supervisor_id as top_supervisor_id,
    SYS_CONNECT_BY_PATH (supervisor_emp_no, '/') PATH
    FROM (SELECT
    papf.business_group_id,
    papf.person_id,
    paaf.assignment_id,
    papf.employee_number,
    papf.full_name,
    paaf.supervisor_id,
    papf1.employee_number supervisor_emp_no,
    papf1.full_name supervisor,
    paaf.organization_id,
    hr_general.DECODE_POSITION(paaf.position_id) position
    FROM per_all_people_f papf,
    per_all_assignments_f paaf,
    per_all_people_f papf1
    WHERE papf.person_id = paaf.person_id
    AND papf1.person_id = paaf.supervisor_id
    and papf.CURRENT_EMPLOYEE_FLAG = 'Y'
    AND paaf.primary_flag = 'Y'
    AND papf.business_group_id = paaf.business_group_id
    AND papf1.business_group_id = papf.business_group_id
    AND TRUNC(SYSDATE) BETWEEN papf.effective_start_date
    AND papf.effective_end_date
    AND TRUNC(SYSDATE) BETWEEN paaf.effective_start_date
    AND paaf.effective_end_date
    AND TRUNC(SYSDATE) BETWEEN papf1.effective_start_date
    AND papf1.effective_end_date
    ) a
    where CONNECT_BY_ISCYCLE > 0
    CONNECT BY NOCYCLE PRIOR a.person_id = a.supervisor_id
    ORDER SIBLINGS BY a.person_id

  • I wonder to know what is the enterprise solution for windows and application event log management and analyzer

    Hi
    I wonder to know what is the enterprise solution for windows and application event log management and analyzer.
    I have recently research and find two application that seems to be profession ,1-manageengine eventlog analyzer, 2- Solarwinds LEM(Solarwind Log & Event Manager).
    I Want to know the point of view of Microsoft expert and give me their experience and solutions.
    thanks in advance.

    Consider MS System Center 2012.
    Rgds

  • Performance Manager  and Data Gatherer

    Hello,
    I am looking for some basic info (I think). I have been using the EM Console - standalone for some time now but would like to use the diagnostic pack and Performance Manager. Can this be used in a standalone configuration or do I need to buy Enterprise Manager? If it works in a standalone configuration and I do not need to buy it, could you point me in the direction of documentation on how to start the data gatherer on my 9i database on AIX 5?
    Thanks,
    Jeff Graham

    Post Author: Ferhat
    CA Forum: Performance Management and Dashboards
    you have to find the keyword to see...
    i suggest you to uninstall businessobjects and install again(else it's very hard to add the performance management program).
    while you install, check the install performance management also(you have to have the keyword).

  • I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    iPhoto is Apple's included program to manage your photo's and pictures.
    It receives updates over time with Software updates and new machine or iLife purchases.
    When iPhoto gets updated or a newer version is used, it may alter iPhoto support files, but newer iPhoto versions usually always compatible with older files which it then updates.
    If you used a newer iPhoto on your iPhoto support files, then they got altered to the newer format, older iPhoto versions can't read the older format.
    Somewhere along the line you somehow got a older version of iPhoto on your computer, you need to fine the newer version of iPhoto (not this photo manager, sounds like another program)
    Or somewhere along the line you used a newer iPhoto version (like on another Mac) and it altered the iPhoto support files on your older version of iPhoto.
    So the key here is to find the newest version of iPhoto and use that to access your iPhoto support files.
    If you didn't access your iPhoto support files from another Mac, then you should have the newer iPhoto version on your computer.
    Once you find it, and get it in the Dock, you should remove the older iPhoto version from your computer to prevent this from happening again.
    Lastly, if the newer version of iPhoto is somehow gone off your computer, you should be able to get a copy off the latest OS X install disk or iLife using a free program called Pacifist.
    http://www.charlessoft.com/
    Then you need to check for updates for iPhoto in the program itself, the current version is 9.1.2

  • Cannot open Catalog Manager and Job Manager on Windows 7 (11.1.1.6.2 BP1)

    Hi,
    We recently upgraded to OBIEE version 11.1.1.6.2 BP1 and installed Client tools from the same version (downloaded from Oracle Support). Once installed, ODBC connections are created to connect to the BI Server and we are able to connect to BI Server using Administration Tool. But Catalog Manager and Job Manager are not opening.
    Is there any setup missing to make Catalog Manager and Job Manager work?
    Thanks in advance.

    Hi,
    It is a known bug. Please find the solution here.
    http://123obi.com/2013/02/unable-to-open-catalog-manager-obiee-11g/
    Cheers,
    Kalyan Chukkapalli
    http://123obi.com

  • RDS 2012 R2 - How do I lockdown access to Local Computer Management and Windows Backup via Group Policy

    Greetings all,
    I am needing assistance in how to lockdown access to Local Computer Management and Windows Backup via Group Policy for users that access RDS service. I have followed this awesome guide - h t t p://w w w.it.ltsoy.com/windows/lock-down-remote-desktop-services-server-2012/
      - but it is missing two important resources that I would like to lock down.Currently, I have successfully locked down Control Panel for users via Group Policy, but I cannot find any group policy or guide on how to restrict user access
    to Computer Management (different to Server Manager). When using Win-X shortcut to open the 'Administrator's shortcuts' near the windows icon, I have locked down everything except Computer Management. Computer Management gives direct access to Disk Management,
    Shares etc, which are locked down for users. But Windows Server Backup is still accessible. Can someone please guide me on how to restrict access to both Computer Management and Windows Server Backup.
    Thanks in advance.
    Terry.

    Prevent running of Windows Server Backup
    Computer Configuration\Policies\Windows Settings\Security Settings\File System
    Right click on File System - Add File - Drill down to \System32\wbadmin.msc
    On the Database Security ACL that pops up - Remove Creator Owner, Remove Users and check Adminstrators have Full Access.
    On the Object window - choose Propagate inheritable permissions to all... (Default)

  • App-V 5 sp2, Citrix user profile manager and Event IDs 19104

    Hi,
    the environment:
    Full Infrastructure, Appv 5 sp2 Client on server 2008r2, xenapp 6.5 and Citrix user profile manager.
    We get the event error 19104 on published packages. But not on all users. %APPDATA%\Microsoft\AppV\Client\VFS and %LOCALAPPDATA%\Microsoft\AppV\Client\VFS are excluded per
    http://blogs.technet.com/b/appv/archive/2013/10/01/support-tip-event-ids-19104-and-19105-are-logged-when-publishing-and-unpublishing-app-v-5-0-packages.aspx from my test GPO:
    List of directories to exclude:
    AppData\Local\Microsoft\AppV
    AppData\Roaming\Microsoft\AppV\Client
    Appdata\local
    appdata\locallow
    Still some users get app-v Applications, but some that are copies of the ones working does not get the Applications. I have tried to delete the profile. but still no closer to a solution. Anyone got this working?

    Thanks Nicke, I should have tried harder to get you to come and work with me in Oslo earlier this year ;)
    That thread does point on the Profile managment, and redirection of %appdata% and %localappdata% . Those to folders are not redirected. But when i run Procmon, i can see that a working user creates the c:\users\<username>\appdata\local\temp but non
    working does not even try.Non working users also does not query the registry as much as working. Ofcourse this all work in my lab so the settings should be sound. but i cannot find the smoking environment variable or setting that causes it.

  • I just downloaded an update and my sophos anti-virus is going beserk.  It will not allow me to remove the threat when I unlock the quarantine manager and I have no idea of what to do

    I just downloaded an update and my sophos anti-virus is going beserk.  It will not allow me to remove the threat manually when I unlock the quarantine manager and I have no idea of what to do.

    The malware it's finding is probably Windows malware attached to e-mail messages. What are the names of some of those things? Assuming they're not Mac malware, allowing Sophos (or any other anti-virus software) to remove them could cause problems. For example, if they're attached to e-mail, removing them improperly by simply deleting the message file will leave the malware on the e-mail server, and it may very well end up getting re-downloaded when your mail client syncs with the server. It may also corrupt the mailbox.
    If you actually ever see a malware name starting with MacOS or OSX (I forget which one Sophos uses), then you will need to worry, and should not assume that the malware can be completely removed by anti-virus software of any kind.

  • Minimum steps required for Change Management and Incident management

    Hello experts,
    Does anyone have a check list of the absolute minimum steps required for getting Change Management and Incident management functioning in Solution Manager.
    I just need it to function with creating changes and incidents and be able to assign them, change their status and close them.
    The purpose is to get an idea if this is something for us to use. If we then find it useable, then we will go for a full scale implementation using official guides, education etc.
    I just need an absolute minimum guide for demonstrating the functions, and if you guys have any recommendations, things we should pay special attention to or other experiences feel free to tell me.
    Thanks in advance.
    Regards,
    Kenneth

    Hi,
    There are a number of Blogs in the SDN about Charm and ServiceDesk, explaining first steps and more.
    Check these to start:
    http://wiki.sdn.sap.com/wiki/display/SM/ChangeRequestManagement
    The Complete ChaRM Solution
    Change Request Management scenario: Usual questions and known errors
    First steps to work with Change Request Management scenario in SAP Solution Manager 7.0
    Regards,
    Jan

  • The Question about stock transfer between HU-Management and WM-Management

    Hi,
    There is a scenario about stock transfer between HU-Management and WM-Management storage location. I use transaction MB1B , movement type 313 , 315. After Good issue from WM-management storage location, outbound delivery will genarated, then Pack, Create/Confirm TO, at last post goods issue for the outboud delivery. But when i do movement type 315, there is a warning message "Data of preceding document was not transmitted", and from the F1 help i find this system reponse "You can maintain an indicator that makes information about preceding documents in this delivery available under delivery type in Customizing. For some characteristics of this indicator, the type of preceding document and the related document and item numbers must be transmitted to delivery creation. At least one of these parameters is missing.".
    So, My questions are:
    1. Generallily, Outbound delivery is created by SO, inbound delivery is created referenc PO, but how the stock transfer for 2 steps generate the outbould delivery and inbound delivery? Could you pls tell me the where i can config this in the IMG?
    2. What's "Data of preceding document was not transmitted" mean ? how to fix this issue ?
    Best Regards
    Boxer Du
    I am the SAP fans, focus on MM and WM. I am interesting TRM Yard Management and Cross Docking now.Very Gladly to talk you about these areas. I want to exchange the knowledge with you, and want to be a good friend of you. Pls contact me. You can find My MSN in the profile. Thanks.

    Hi,
    Sure, The inbound delivery type is set up in the IMG->Logistics General -> HU management -> Basics ->Delivery type -> Delivery type determination.
    For Inbound delivery type 'HID' is maintained in this view.
    Best Regards.
    Some One want to discuss the details , can contact me. Thanks.

Maybe you are looking for

  • Trojan found in Lion and on iPhone 4 backup

    I recently installed MacKeeper on my Mac and Pc's I have been having major issues with Lion - see my discussion  there - But tonight it found a Trojan in my Users/dr/App Support/MobileSync/Backup file  - This was as I was restoring my iphone 4 from t

  • 60 g 5th gen music vid questions...

    HI THANKS FOR TAKING THE TIME TO READ THIS. I HAVE NON ITUNES MUSIC VIDEOS CONVERTED TO PLAY ON MY IPOD NO PROBLEM THERE...CAN I MAKE MY IPOD PLAY VIDEOS BACK TO BACK WITHOUT STOPPING AND WAITING FOR ME TO SELECT A NEW ONE? 2ND QUESTION WHY CAN I IMP

  • Converting to ACC - file names

    hi, when i'm converting mp3 to ACC with iTunes, i would like to name of the file stay the same, but iTunes chenges the name of the file and makes a folder with the name of the singer, is it possible to just convert the files with not changing their n

  • Open Directory & Active Directory

    Dear Mac community, We got a couple of Mac servers running in our company and we have around 140 Mac clients running in our company. We use Open directory for the policies on our macs and we use active directory for all of our computer accounts. Caus

  • I'm still on Mac OS, the original, can I upgrade to Mac OS X snow Leopard still?

    Alright, I've been using Mac Os, the very very first Mac OS . I've been wondering if I can still update up to OS X Snow Leopard. I seriously hope I can.