Function Module to show all jobs in that Org Unit.

Does any one know is there any Function Module which gives all the jobs that comes under that Org Unit. for example if org unit 10 has 2 Sub Org Units(11 and 12) and 3 jobs(20, 21 and 22) under it. and the Sub Org Unit 11 and 12 has 1 job each( 30 and 40). When you run for org unit 10 it should give all 5 jobs (20, 21, 22, 30 and 40).

Hi Fayyaz
Well you use a FM RH_READ_INFTY_1001 to discover the relationships between an ORG Unit and Jobs.
Alternative, you can write a simple query to extract data from HRP1001 to find the jobs under an Org Unit. Because Jobs are related to an Org Unit and this relationship is stored in Infotype 1001/HRP1001.
Reward Points, If helpful.
Regards
Waz

Similar Messages

  • Function Module for fnding all employees under an Org Unit

    Hi,
    Is there any Function module to find the employees of an ORG Unit .
    I need to specify the Org unit Name and get the employees out of it .
    I looked at the FM
    HRCM_ORGUNIT_EMPLOYEE_LIST_GET .
    It has import parameters as
    OTYP
    OBJID
    PATH_ID
    What values do i need to pass.

    hi,
    chk this.
    call function 'HRCM_ORGUNIT_EMPLOYEE_LIST_GET'
    exporting
    plvar = p_plvar
    otype = 'O '
    objid = s_orgeh-low
    begda = p_effdt
    endda = p_effdt
    * PATH_ID = 'O-S-P'
    tables
    pernr_table = i_pernr
    exceptions
    path_error = 1
    root_error = 2
    no_employees_found = 3
    others = 4
    Thanks,
    Anver

  • Function Module To read all the Files in a Given UNIX directory.

    Can anyone provide me with a FUNCTION MODULE which reads all the files available in a UNIX directory?
    I have the UNIX directory given. I need to find all the files available in that particular Directory so that I can choose and process accordingly. Probably I can store all files in an Internal Table.
    Thanks in advance.
    Sunil

    Hi Nick,
    Thankyou very much for the response.
    The Function Module /SAPDMC/LSM_F4_SERVER_FILE is interactive wherein we can select only one file.
    But my requirement is I need to collect (probably in an internal table) all the files exixting in the given UNIX directory.
    Can you please find in that direction. I would be very grateful.
    Thanks.
    Sunil

  • 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

  • How do I fix Creative Cloud to show ALL my apps that I have installed ?

    Here my specs : Windows 7 Pro 64 bit ● 10GB DDR3 RAM ● Intel Core i7 ● AMD Radeon HD 5700 Series
    Here my story :
    One day, little Creative Cloud said it had an update to be installed on itself. Possibly taking it from version 1.7 to 2.0 or something. I clicked on update. Creative Cloud started downloading and once it was done it said update complete. I clicked on finish or something. Once that happened, it disappeared completely. Gone from taskbar, Window closed and shortcut gone ! I looked into the Creative Cloud folder, in the Adobe folder and there were two folders : Adobe Creative Cloud and Adobe Creative Cloud_2.7.0.413. I then went into the Adobe Creative Cloud folder and double opened the application therein. It opened the Creative Cloud desktop app BUT showed it had an update just as before for itself. I AGAIN clicked on update, and then it said "Error 50" , unable to update. I searched around and somewhere on the forums it said I must download adobe cloud and reinstall it. I did that and ever since that dreadful day, little Creative Cloud desktop app doesn't want to show ALL my installed apps anymore. It simply shows only 2 !
    This is what I have : Photoshop, Dreamweaver, Flash Professional, Media Encoder, Fireworks. What it only shows in Creative Cloud desktop app : Flash Professional, Dreamweaver.
    What I tried doing :
    1.) Re-installing the Adobe Creative Cloud desktop app.
    2.) Changing the directory settings for APPS and pointing them to the actual location of the installed apps.
    3.) Deleting or renaming the "opm.db" file.
    4.) YES, I RESTARTED MY PC !!!
    What I want to do :
    1.) Receive a fix that will make ALL my installed apps show.
    2.) Find out what the hell the difference is between the concept of having TWO versions of the same program installed BUT getting updates for BOTH like "Adobe Photoshop CC" and "Adobe Photoshop CC 2014". I installed the Adobe Photoshop CC this year almost 2 months ago for example. Then CC told me there is an app update and that got me Adobe Photoshop CC 2014. Now I have two versions of the above listed programs... Why doesn't CC just UPDATE the Adobe Photoshop CC, rename and list ONLY Adobe Photoshop CC 2014 in the end ?
    What I do not want : RE-DOWNLOAD OR RE-INSTALL ALL MY INSTALLED APPS ! This not only will cost me a lot of internet bandwidth but also a considerable amount of time. There must be a simple fix as all files are in place ! I can launch all apps individually and they are working both the "" versions and the 2014 ones.
    My question : How do I fix Creative Cloud to show ALL my apps that I have installed ?

    Hi alextz11,
    The email in the forum does not reflect any Creative Cloud order. Please follow the steps in
    Locate the C:\Program Files (x86)\Common Files\Adobe\OOBE directory and rename it to OOBE_OLD
    Download and reinstall the Creative Cloud Application from https://creative.adobe.com/products/creative-cloud.
    You can also consult : http://helpx.adobe.com/creative-cloud/help/install-apps.html
    Hope it helps your issue.
    Regards,
    Rajshree

  • My ipad is no longer showing all my videos, even though i have the option set to show all, even those that are in my cloud. I can't do anything to get all my videos to re-appear. any help?

    My ipad is no longer showing all my vidoes, even though i have the option set to show all, even those that are in my cloud. Any suggestions??

    Close the videos app and launch it again.
    To close an app, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    if they still don't show up after you launch the app again, try resetting the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Any function module to read all the values in Tcode-PPQD?

    Hi all
    Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
    and any idea what tables are involved to get these values like parent and child relationship?
    Thanks in advance.
    Murali.

    Murali,
    you can use the following..
    data: w_sobid type sobid, "Qualification ID
          w_objid type objid. "Qualification Catalog
    select objid  into w_objid
                  up to 1 rows
                  from HRP1001
                 where otype = 'QK'
                   and plvar = '01'
                   and istat = 1
                   and risgn = 'B'
                   and relat = '030'
                   and endda ge sy-datum
                   and begda le sy-datum
                   and sclas = 'Q'
                   and sobid = w_sobid.
    endselect.
    if sy-subrc eq 0.
    write: / w_objid,w_sobid.
    endif.
    Regards,
    Suresh Datti

  • Function Module to select all entries in  ALV output

    Hi,
      I have an ALV report and Select ALL and Deselect ALL Buttons added to it .
      When the Select ALL button is pressed,all entries of the ALV report should be selected.
      When the Deselect ALL button is pressed,all entries of the ALV report should be deselected.
      Is there any function module to select all entries of the output and vice versa.
      Thanks in advance.
    Regards,
    Navas

    Hi Navas,
    I have written a part of the code you can use.
      TYPE-POOLS: slis.
      DATA : ls_event TYPE slis_alv_event.
    Set PF Status
      ls_event-name = slis_ev_pf_status_set .
      ls_event-form = slis_ev_pf_status_set .
      APPEND ls_event TO gt_event.
      CLEAR  ls_event.
    FORM pf_status_set USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'Z_STATUS'.
    ENDFORM  .                 "set_pf_status
    (no need for any perform. This will be called automatically).
    While calling the FM for ALV, pass the internal table gt_event in it_events parameter.
    Double click on Z_STATUS and add two buttons in Application Toolbar.
    1. Select All - Give function code name as &ALL,
    2. Deselect All - Give function code name as &SAL.
    Hope this helps.
    Thanks,
    Dawood.
    Edited by: Dawood.S.Ghasletwala on Apr 3, 2009 3:51 PM

  • Any function module to get all items in SAP INBOX

    hi All
    I am trying to get all the items in my SAP Inbox via rfc.
    Can anyone help me with any function module to get all items in SAP INBOX.
    Thanks

    Hi Mukesh,
    Step 1. Use FM SO_USER_READ_API1 to get the folder details of the user
    Step 2. Use FM SO_FOLDER_READ_API1 of the respective folder. You can read the Inbox, Workflow Inbox depending on what folder you read. The function modules are documented well as well with examples.
    Hope this will  help u,
    Thanks & Regards
    Kiran

  • Function module to read all the views of material data

    Dear all ,
           Is there any function module to read all the views of material data ?
           Like we have MATERIAL_MAINTAIN_DARK for updating all the views of material data , I need a function module to read all the views of material master.
    Thanks & Regards
    Shivanand

    Hello,
    Check these BAPI'S
    <b>BAPI_MATERIAL_DISPLAY          Display Material
    BAPI_MATERIAL_GET_DETAIL       Determine Details for a Material</b>
    Regards,
    Vasanth

  • Is there a way to print something showing all the purchases that have been made and what the total cost is?

    Is there a way to print something showing all the purchases that have been made and what the total cost is?

    While it is not possible to directly print your iTunes account purchase history within the iTunes Store, you can take a screnshot of your purchase history on your computer, and then print that screenshot.
    The following article explains how to review your purchase history:
    http://support.apple.com/kb/HT2727
    This articles explains how to take a screenshot on Mac OS X:
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mh26782.html
    and this does on windows:
    http://windows.microsoft.com/en-CA/windows-xp/help/setup/take-a-screen-shot

  • I want to hide the highlighter on the desktop which shows all the application that we are using .

    i want to hide the highlighter on the desktop which shows all the application that we are using .

    http://25.media.tumblr.com/tumblr_l6n913mhxf1qd573oo1_500.jpg

  • How to find the Org.key based on Job key and Org Unit.

    Hi,
      Please Let me know how to find the Org.Key based on the Job Key and org Unit.
    Regards
    nagendra.

    On recent ThinkPad, the Product ID Key sticker has been moved from the bottom of the unit to behind the battery.
    You need to contact Lenovo technical support directly to ask about recovery media.

  • Scheduling function module execution in background jobs

    Hi,
    I have requirement where in after obtaining all the required inputs from the user we will call an function module to execute it.
    The requirement is that the execution of fm shld happen in background and a log must be created showing the user whther it was successful or if it failed with the list of errors.
    Can you kindly give some input on how to schedule the execution of function module in background job and if scheduled how to create the logs to display the success or error message.
    Warm Regards,
    Naveen M

    Hi,
    Just create a simple program where you have to call this FM.
    Pass the values to FM either by declaring some internal table of selection screen and execute the program in background.
    For Message Log, you can use structurre BDCMSGCOLL
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    After Call to FM, read from this internal table as follows
    READ TABLE MESSTAB WITH KEY MSGTYP = <Message Type>
                                            MSGNR  = <Message Number>.
    regds,
    Anil

  • Function Module to Release Scheduled Jobs

    Dear All,
    I have a requirement to create all the background jobs in SCHEDULED status, this is achieved by using the function modules JOB_OPEN, JOB_SUBMIT and JOB_CLOSE.
    Now at a later point of time, i want to release only a few jobs, which were created using the above mentioned procedure. Insead of doing it manually, is there any way to automate this step ??
    Regards,
    kartik

    Dear Mr. Parupalli,
    That solved my problem. Thank you.
    Regards,
    kartik

Maybe you are looking for

  • Macbook Pro isn't connecting to the internet unless it's on the guest profile

    I recently purchased a brand new Macbook Pro less than a week ago and I've never been able to connect it to the Internet on my log in. This is my first Mac and honestly I don't believe it was worth the price since I can not use the Internet on it. Th

  • [SOLVED] No sound on music apps with pulseaudio

    Hi. I just installed pulseaudio on my arch in order to get a higher volume out of my laptop. My DE is gnome, and totem seems to work perfectly with pulse, but neither banshee nor rhythmbox seem too like it. Banshee gets very unresponsive when trying

  • Sales report per year for copmany code  & sales org wise

    Hi all Does anybody knows how to take total  sales report per year for copmany code  & sales org wise Please advice me with Tcode if it's possible. Thanks a lot in advance! U.maha

  • Change start date of an object..

    hello guru's, i was wondering if the start date for objects like org unit or possition or job can be changed or we can only delimit or delete it...and if the start date can be changed then how can we do it...

  • How to type fractions in iWork(Pages)?

    Hey Everybody, I am bascially trying to write formulas and they need to be shown in fractions and I am not able to find out. And basically the formulas are text which need written as A/B       Some one please help me