Which Function Module can find all direct and indirect subordinate.

Hi,
    I have a employee number(Chief of a organizational unit A). Do you know which function module can get all the direct and indirect subordinate of this chief? Indirect subordinate means that this chief can also view the Organizational unit(for example, Org. unit B) that under Org. Unit A. Further more, this chief can also view all the employees in other org unit that under Org. Unit B. If there is no such function module, do anyone of you have the example coding to get it? Your help is greatly appreciated. Thanks.

use RH_STRUC_GET
~Suresh

Similar Messages

  • Function Module to Find Actual costs and Total Cost Commitments

    Hi PS Experts ,
    Please let me know if there  is any function module to  find Acutal costs and Total cost commitments by passing WBS element as Input .
    Regards,
    Karan

    Hi Karan,
    I think for actual cost - there is definately one FM availbale. Try to find it out.
    Just ensure - if you are using Network Activity then you may have to pass NWA OBJNR into this FM to get actual cost. As some entry posting happens against NWA like Timesheet. Hope it will give you some idea to get rid on your issue.

  • How to find both direct and indirect responsibilites attached to user

    Hi All,
    I have a requirement to write a sql to list all direct and indirect responsibilities attached to a particular user.
    Please help me.
    Thanks,
    Raghav.

    Hi;
    Pelase see below which could be helpful for your issue:
    responsibilty -to find any users assigned
    to find any users assigned to a responsibilty
    Regard
    Helios

  • Function Module for finding all the users in an org unit?

    Hi,
    is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit.
    Looking for a quick response.
    Regards,
    Neha

    Please use the function module BBP_OM_STRUC_GET_USER_FROM_ORG.  You have to pass the Org Ids in the parameter START_OBJECTS. Then USER_TAB will give you all the users.
    Note:
    OTYPE = 'O'.
    OBJID = <Org Id say 50002323>.
    Regards
    Kathirvel
    Edited by: Kathirvel Balakrishnan on Sep 24, 2008 2:25 PM

  • Function module to find both sold and ship to party

    Is there any function module to find both sold-to-party and ship-to-party based on the sales Area.
    That is if i give sales org , distribution channel , division as input . I must get Sold-to-party and Ship-to-party as output.
    Regards,
    S.Velsankar

    Hi,
    You can find sold to and ship to party customer from KNVP Table as below:-
    SELECT      KUNNR
    FROM KNVP
    INTO w_sold_to_party
    WHERE VKORG = YOUR SALES ORG
    AND     VTWEG = dist channel
    AND    SPART = division
    AND    PARVW = 'SP'.                        "Sold to party depneds of how its configured in your system
    Check TPAR table for description Sold to part and pass the PARVW value.
    Similarly for ship to party
    SELECT      KUNNR
    FROM KNVP
    INTO w_sold_to_party
    WHERE VKORG = YOUR SALES ORG
    AND     VTWEG = dist channel
    AND    SPART = division
    AND    PARVW = 'SH'.                        "Sold to party depneds of how its configured in your system
    Regards,
    Subhashini

  • Function Module to find Planned Costs and Actual Costs against WBS element

    Dear All,
    We have a requirement where we need to find out the Planned Costs and Actual Costs booked against a WBS element, in a year. The costs can be against all the plan versions or on individual plan version.
    Are there any function modules to retrieve this value?
    Thanks for the help.
    Warm Regards,
    Judith

    Hi,
    The easiest way would be to get the OBJNR for all WBS elements from PRPS and look up RPSCO and summarize for Value type (RPSCO-WRTTP) 1 for planned cost and 4 for Actual cost.
    Please let me know if this helps.
    jibat

  • Function module to find start date and end date of fiscal year for company

    Hi,
    Is there any function module exist which will provide me start date and end date of fiscal year for company code and fiscal year provided?
    Thanks & Regards,
    Parag

    Hi,
    please check this link
    it would be very useful
    http://www.sapdevelopment.co.uk/fmodules/fms_fiscalyr.htm
    Thanks and regards
    durga.K

  • Need table name where i can find all infopackages and what are data targets

    Hi Guys,
    Could you tell me the table name in SAP BW, where i can find what are the data targets in Info Package.
    I need to do this job for 200 infopackages.
    Thanks in advance.

    Hi
    I had similiar problem.
    Look at RSLDPSEl-selupdic.
    THX
    Adam

  • Which function module can used to schedule bathjob?

    Hi,
    i have an urgent problem, see below:
    i use FM job_open, job_summit to create batchjob, but now i want to schedule by time accroding to user's prefer, not release it by default setting. i don't know which FM can meet this requirement, can anybody do me a favor.
    thanks in advance
    Regards
    Eileen

    Hi,
    Use transaction SM36 to schedule a job.
    give job name and class as C and click step button at the top.
    there u give ur prgm name and variant.and save.
    then click START condition at the top and click date and time button. there u give date and time.
    and then check periodc job check box.
    or u can try with
    Job_schdule
    Plz mark useful answers
    Regards,
    Naveen

  • QM : is there any function module to find inspection lot characterstics

    Hi All,
            is there any function module to find all characterstics for an inspection lot.
    i need exact data which qe51n transaction is fetching .
    thanks in adv ,
    Varma

    Hi uvs,
    1. we can use the fm BAPI_INSPOPER_GETCHAR.
    regards,
    amit m.

  • Which function module to delete job log?

    Hi, I submit report via jobname and jobcount. After I close job and run it, we can see jobname is still in job log by SMX. But client doesn't want to see it, so who can kindly tell me which function module can delete jobname from job log?
    Thanks a lot.
    Jack

    try        CALL FUNCTION 'BP_JOB_DELETE'
    If you have used JOB_OPEN before the SUBMIT to create the job, you can automatically delete the job upon successful completion by setting the parameter DELANFREP = 'X' in the JOB_OPEN function call.. this way the user will only see the logas for cancelled/aborted jobs..
    ~Suresh
    Message was edited by: Suresh Datti

  • How to find which function module write the relevant idoctype?

    Dear All,
    how to find which function module write the relevant idoctype?

    Hi,
    Generally the function modules of the idoc types are having a naming convention as IDOC_INPUT for inbound processing and IDOC_OUTPUT for outbound processing followed by the idoc type name
    for example : For IDOC type ORDERS
    the inbound function module will be IDOC_INPUT_ORDERS and for outbound IDOC_OUTPUT_ORDERSP
    In this way you can find the function module for a particular IDOC
    P.S: Hope this is what you have asked for
    Regards
    Sarves

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • Which functional modules we can use to update the costs in WBS?

    Hello friends,
         I need to update the costs assigned to WBS elements at cost element level using TCode CJR2. Which function modules are available to do this?
    Can you show me sample implementation for the same?
    Thanks in advance,
    Amol C.

    You can't.
    A UIImage object is a high-level way to display image data. You can create images from files, from Quartz image objects, or from raw image data you receive. The UIImage class also offers several options for drawing images to the current graphics context using different blend modes and opacity values.
    Image objects are immutable, so you cannot change their properties after creation.

  • HT1451 i have and can find all duplicates in my library - after i find them is there a way to delete the other than one at a time

    i have and can find all duplicates in my library - after i find them is there a way to delete them (in mass) other than deleting one at a time?

    The only way they would all come over is if your wife had automatic downloads turned on in her store settings on the phone before she downloaded the apps. A popup for this option also comes up when you first sign into an apple id on the phone in the app store. If she didn't have that setting turned on, she'll have to download them one by one.
    She could also try to sync them over from a computer that has itunes on it

Maybe you are looking for

  • Any Upgrades Possible for Mid-2007 MBP?

    I was wondering if anybody knew the answer to this question. Before I start, there are a couple of issues I'd like to address. First, my Macbook Pro's optical drive has become unreliable just like most other users have experienced over the years. To

  • Can't plug pc monitor to ps3

    Hi everyone, I'm having a hard time trying tp figure out how to plug my ps3 to my pc monitor (asus s220hql). Bear in mind that two years ago i managed to do that with no problems, with the same cable/same ps3/same monitor Anyway, my monitor has only

  • I have a PDF in russian origin how can I convert it correctly?

    I have a PDF in russian origin how can I convert it correctly into MS word?

  • Time Machine and clean install

    I made a clean install (Erase HDD -> Install Mac OS X) to my MacBook Pro. All previous attempts to clean my computer from all the junk I had installed on my computer during my studies failed so I decided to make a fresh start. I did not use migration

  • ME41 Output Layout in RFQ

    Hi guys I need to edit the output layout for ME41 standard output, e-mail, fax and print version... and in the e-mail version, I need to attach an excel file with the Request for Quotation (RFQ)... anyone know where can I edit the output layout? and