How find manager's manager in hr report

hi,
i want to find manager's manager in hr report...Suppose there is organization A having organization unit B and C.
In organization unit B there is Manager and Assit Manager and Some other employee.
Now other employee report to Assit manager and Assit Manager report to Manager. And Manager report to director.
Error :-- But i am getting all employee reporting to manager...and manager is enable to report to director..
Pls help in the above

hi raja, thanks for ur reply..still i have same problem ...i had used below code...kindly can u tell what goes  wrong below....
SELECT SINGLE sobid INTO w_sobid FROM hrp1001 WHERE otype EQ 'P' AND objid EQ p_pernr AND plvar EQ '01'
AND rsign EQ 'B' AND relat EQ '008' AND sclas EQ 'S'.
IF sy-subrc EQ 0.
w_objid = w_sobid.
CLEAR w_sobid.
*gets organisation 'O'for the position 'S'
SELECT SINGLE sobid
INTO w_sobid
FROM hrp1001
WHERE otype EQ 'S'
AND objid EQ w_objid
AND plvar EQ '01'
AND rsign EQ 'A'
AND relat EQ '003'
AND sclas EQ 'O'.
IF sy-subrc EQ 0.
w_objid = w_sobid.
CLEAR w_sobid.
*gets Managerial Position 'S' for the organisation 'O'
SELECT SINGLE sobid
INTO w_sobid
FROM hrp1001
WHERE otype EQ 'O'
AND objid EQ w_objid
AND plvar EQ '01'
AND rsign EQ 'B'
AND relat EQ '003'
AND sclas EQ 'S'.
IF sy-subrc EQ 0.
w_objid = w_sobid.
CLEAR w_sobid.
*gets the Personnel Number 'P' holding the Managerial Position 'S'
SELECT SINGLE sobid
INTO w_sobid
FROM hrp1001
WHERE otype EQ 'S'
AND objid EQ w_objid
AND plvar EQ '01'
AND rsign EQ 'A'
AND relat EQ '008'
AND sclas EQ 'P'.

Similar Messages

  • HR-ABAP issue how to find manager in PA reporting

    hi all,
    my requirement is find the manager in PA reporting.
    Retrieve the Manager Personnel number from the HRP1001 table.Use this personnel number and retrieve Name (ENAME) from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019
    how to find the manager position and his relation ship.

    Hi,
    To get the position of the manager -
    Use the FM
    RH_READ_INFTY_1001
        CALL FUNCTION 'RH_READ_INFTY_1001'
         EXPORTING
      AUTHORITY              = 'DISP'
      WITH_STRU_AUTH         = 'X'
           plvar                  = '01'
           otype                  = 'P'
           objid                  = fs_pa0000-pernr (manager's id)
       subty                  = 'B008'
       begda                  = fs_pa0000-begda
       endda                  = fs_pa0000-endda
          TABLES
            i1001                  = t_i1001
      OBJECTS                =
         EXCEPTIONS
           nothing_found          = 1
           wrong_condition        = 2
           wrong_parameters       = 3
           OTHERS                 = 4
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        APPEND LINES OF t_i1001 TO t_pos.
    this table t_pos holds the postion.
    Regards
    Lekha

  • Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now where can i found it to include it in my website because the french version of muse don

    Hi someone, I went to muse theme and browse widgets to find the toolbox 024 of google language translator, i saw the video explaining how to manage the widgets but now, where can i found it to include it in my website because the french version of muse don't have several free widgets for people like me who pay every month the application.Thanks

    I'm not aware of a free translator widget.
    I found these...
    Website Translator 
    Translator Widget  $6.99 for the widget
    Adobe Muse TB024 Widget | MuseThemes.com  $69/year Includes everything | I signed up for this and it's been well worth it, they have new themes & widgets every month.

  • CO type- find manager HR : How to enhance it?

    Hi, Experts,
    I'd like to know the RFC or ABAP logic behind the standard CO type find manager,
    we want to enhance it to our own logic which based on other 'manager' defition.
    thanks and  best regards.
    Jun

    Hi,
    any idea which SPS this RFC is delivered with?
    I can see it in our ERP 2005 (IDES) system, but not in our SAP R/3 4.7x200 (w/ HR) system. In IDES I can see that it is located in SAP > BC > BC-GP > S_EUP_GP (Function Group CAF_EU_GP)
    I have been looking in the Object Lists of each individual Support Package (from the SAP Notes list in the Support Package Stack wizard in the SAP Support Portal). Unfortunately I am still coming up blank & this has taken me 6 hours so far.
    Does anybody know if/when this RFC becomes available (SPS level, or Support Package for 4.7)?
    Also does anybody know how to do a "global" Object List search for information like this?
    Many thanks for any information,
    Jim

  • How to manage the font size for webRfc Reports

    Hi All,
    How to manage(increasing or decreasing) the font size for webRFC Reports.
    Regards
    Sri

    Hi,
    Can you try republishing and see ....
    Ideally the font size would be controlled by the <font tag and if you have made changes correctly it should be reflected correctly.
    Check whether the HTML code is also correct.
    Thanks & Regards,
    Vijith

  • How to enable document map in SSRS Report Manager

    Hi Team,
    How to enable Document Map in SSRS Report manager 2008 version.
    laxman

    Hi kumarj4009,
    As per my understanding, you created a Document map, it works fine in Business Intelligence Development Studio (BIDS), but you could not view the report in report manager.
    After we create a report in Visual Studio, we need to publish it to a report server to make it available to users. In Report Designer in Business Intelligence Development Studio, we must specify the report server as well as folders for reports and shared
    data sources so that we can publish the items in a project. For detail information, please refer to the following steps:
    Right-click the report project, and then click Properties.
    In the Property Pages dialog box for the project, select a configuration to edit from the Configuration list.
    In OverwriteDataSources, select True to overwrite the data source on the server each time reports are published, or select False to keep the data source on the server.
    In the TargetDataSourceFolder text box, type the folder on the report server in which to place the published shared data sources.
    In the TargetReportFolder text box, type the folder on the report server in which to place the published reports.
    In the TargetServerURL text box, type the URL of the target report server, then click OK.
    Right-click the report in the project, then click deploy, after the report is successfully deployed, you can preview the report in report manager.
    For more information about Set Deployment Properties, please refer to the document:
    http://msdn.microsoft.com/en-us/library/ms155802(v=sql.100).aspx
    If there is any misunderstanding, please feel free to let me know.
    Thanks,
    Wendy Fu

  • My iCloud storage is very nearly full but i can't find out how to manage it!

    I keep recieving an e-mail saying that my icloud backup is almost full but i have no idea how to manage this. I don't want to purchase more back up, is there a way of managing it?

    Welcome to the Apple Community.
    settings > iCloud > storage & backup > manage...

  • How to manage two skype numbers on one account?

    I'm considering getting a second number to use for work. I understand that's easy. What I can't find in help is how to manage each separately.
    I see one post saying that Skype hasn't added a way to tell which number is being called. Has that changed?
    The other question is: Can I set one to go to vmail automatically while the other receives calls? For instance, after hours I want to "turn off" the business number and leave the home number accepting calls. Is that possible?

    Hi, Ithinkfiam,
    ithinktfiam wrote:
    I'm considering getting a second number to use for work. I understand that's easy. What I can't find in help is how to manage each separately.
    I see one post saying that Skype hasn't added a way to tell which number is being called. Has that changed?
    No, this has not changed.
    ithinktfiam wrote:
    The other question is: Can I set one to go to vmail automatically while the other receives calls? For instance, after hours I want to "turn off" the business number and leave the home number accepting calls. Is that possible?
    Unfortunately, Skype Numbers do not work as you describe.
    While we are allowed to start up to ten (10) Skype Number subscriptions per Skype account, being affiliated with the same account, will behave as if all ten numbers are actually only one number.   What to do? 
    ithinktfiam wrote:
    What I can't find in help is how to manage each separately.
    Create a new Skype account to use for Skype Number intended for business use, and use another Skype Number as a personal or home account.  Nothing changes as far as the cost of the Skype Numbers is concerned, however what changes by using each Skype Number on a different Skype Account is that you can control each number separately.
    All that said, unfortunately Skype's mobile platforms do not support being logged in to two Skype accounts simultaneously.  The Windows Desktop platform does, however doing the same on a Mac is not supported, and the work-around is messy at best.
    Not so sure I helped much, here!
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to manage photos from multiple accounts

    Hi,
    i am trying to solve one problem. I have one iMAC where i have two user profiles connected to different AppleIDs. Next to it there are two iPhones and two iPads. I am trying to find out, how to manage photos from all these devices using one account on iMAC. Second question is if there is any finction in iPhoto that can publish images to NAS server? Second alternative for me is to byu iCloud drive space and use Family sharing for publishing photos. Bellow text schema is attached, it is only my idea and i dont know if this could work like this. Did anyone somehow solved this configuration? Thanks

    I can see the screenshot if I double click on it.  However, here is it again.  Being Halloween maybe it'll show.

  • How to manage my daughter's new phone account

    We just got my 11 year old daughter her first phone (a Samsung S3 Mini). The salesman told us we would be able to use the "Family Base" to control/ turn-on-off her phone, text, web access and email and we would have full control there. Our main goal (as we explained) was to let her have the phone, texting, and gmail, but to turn off her web access (unless she was being supervised - at home). He told us we would definitely be able to keep GMail on, and separately control her web access.  Now that I am looking through the Family Base control center, I'm not really seeing all that.  I see you can manage phone and texting (which we've decided to let her have on), but I don't see management of web access, and I don't see exactly how to manage that separately from her ability to email.
    My second issue is... I would like to activate a "Find my Mobile" or "Find My Phone" type service (because I'm worried about her leaving her phone somewhere) but I'm wondering if this service requires that her phone have web access (and maybe location services on?) so that it can function.
    Surely there are other adults out there trying to manage their kids the same way I am. Can someone please give me some tips/ best practices or suggestions on how to manage all this?
    In addition to my concerns about managing her web usage (while maintaining email), what's the best "find my phone" that I should implement?
    Thank you in advance.

    A few things you can do here.
    1) The Verizon Rep Lied to you
    2) You can download Parental Control Apps from the Play Store that are password protected and work much better then Family Base. Look at those and dump Family Base
    3) Download Where's my Droid. It will do all of the find my phone options and much more. check it out
    4) You might also want to download something like Phone Tracker which will allow you to track the phone and its whereabouts near real-time so you can see where she is at all times. (Check local laws in your area first though to make sure you are legal doing this)

  • How to Manage Text In PDF

    Hi everyone.
    I am pretty new to PDF programming world and for study PDF ,I am prefering PDF specification.
    I can manage Printing text on my page but when my text length goes out to the page range it get crop
    ..so my requirement is how to justified that text line on next line
    please suggest how to manage this problem.
    currently I am tackling this prob by
    T*[()] TJ
    but I have to do it manually..
    thanks in advance.

    You have to do this manually. That is just one reason why it's in general a
    bad idea to create PDF files from scratch: You have to process all the font
    metrics yourself and find out how wide your text will be, and then position
    it accordingly on the page. When you use a PDF library or framework, that
    is usually done for you (or at least there are ways to get to that
    information in a much more user/programmer friendly way).
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com

  • Request not visible in the version management of a Report Program

    Hi,
    We Imported an external request into the SAP System.
    The request was imported successfully and a program already existing is updated with that request,
    The problem is that the request number is not visible in the Version Management of the Report Program, but the other Programs have the request number visible in the version management, we could not find the request number in that  particular program
    We tried reimporting the request but the request is not visible.
    Regards

    Check the transport logs and see if there are any erros/warnings.

  • How to Manage Archive Files in Oracle 10g

    Dear all
    I have 10g Database server running in Archive Mode, there are huge number of archive files have been increased ,
    (1) how can i find old and obsoleted Archive files that will not be needed for recovery in future.so that i can delete them inorder to free space.
    (2) How to manage Archive Files .
    Kindly help
    Thanks
    Regards
    Farnaw

    Hello,
    (1) how can i find old and obsoleted Archive files that will not be needed for recovery in future.so that i can delete them inorder to free space.It depends on your Backup policy.
    If you use RMAN you can follow the advices previously posted, if you use "user managed" Backup then, you don't need the
    log files archived before the begining of the last full backup of your database.
    To know when the archived log was generated and the first change included in it, you can query the v$archived_log as follow:
    alter session set nls_date_format='DD-MON-YYYY HH24:MI:SS';
    select recid, name, first_change, first_time, completion_time
    from v$archived_log;
    (2) How to manage Archive Files . You must backup the archived logs so as to be able to apply them. After making a safe backup of them on a tape, they can be
    deleted from disk.
    Of course you can also keep the last archived logs on your disk (beside of backup them on tape) so that you don't have to
    restore them and save time if you need them.
    It depends on your needs and the free space you have.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Finding Manager for a pernr

    Hi Everyone,
    Can anyone plz. help me how to find manager for a given PERNR?

    Re: Finding the manager
    Re: find the manager for pirticular emp
    Re: How to get this relation of Employee ID and Manager ID

  • Does Solution Manager support Service Report for non-abap?

    Does Solution Manager support Service Report for non-abap?
    We can schedule and view reports for ABAP but for all the non-ABAP such as J2EE stack (PORTAL) we can not pull out a report.
    If the answer is yes please let me know where I can get the documentation of how to setup SLA for PORTAL or non-ABAP.
    I found a document on EWA non-abap but non for SLA.

    Hi
    actually i am in task of setting up ewa for portal.
    i had already done with abap components (ewa and sla)
    i stronly believe one of the pre-requiste to get sla is EWA.
    so i think if u can setup ewa for portal then you can get sla too.
    Regards,
    Vijay.

Maybe you are looking for

  • Generating signal at particular channel of a connector in 7851 R-Series

    I am trying to generate analog sinusodial signal at particular channel in connector 0 of 7851 R-series. I have created fpga vi and host vi and trying to send the signal to AO0. I am giving a simulated signal in host vi to the AO0 channel and trying t

  • HELP!!! Not your average Serial Number question!

    Hey guys, I'm in a bit of a rut. I'm not asking for a serial number, I just need to know where on my computer to find it. STORY: I had to erase my mac because Avid messed it all up. Yay Avid!. Anyways, I'm covered for backups though. I have a time ma

  • Invalid Response code (401).

    Hello Team, My requirement is to expose a Web Serive in PI for ABAP Proxy. This WS will be called by Webdynpro Java and display the ECC data in the Enterprise Portal. Environment: ECC 6.0 EHP1, PI 7.1 I have created Data type, Message Type and Servic

  • Is there a way to control "sleep" in iOS7?

    Hi everybody, Is there a "sleep" control on iOS7? In other words, if I use my iOS device and I don't turn it off and just leave it sitting there on the table, is there a way to control how long it takes until the screen dims and then eventually goes

  • Windows 7 Debugging Issues

    I have moved a CVI application from an XP machine to a Windows 7 machine.  The release executable seems to run fine.  I run into strange behavior when I run the program in the debugger, however.  This is a multithreaded application and I saw none of