How to get the personnel plan work schedule

Hi,
I write a report ,need get the personnel plan work schedule of the input month.
for example:
at input screen : I input : 2007-01  and pernr:10000001;
I hope get the plan work schedule days (rusult :25 work days)of  the  person 10000001  at  January 2007 .
Now I find some HR TM functions ,such as :
HR_PERSONAL_WORK_SCHEDULE
HR_PERSONAL_WORK_SCHEDULE_PNP
but I don't know how to test , I had try many times ,but not get what I want . so I want to know if have any other function can make me get what I want .

Hi Olivia,
tables: ptpsp.
parameters:
pernr type pa0001-pernr,
begda type pa0001-begda,
endda type pa0001-endda.
data:
i_ptpsp type table of ptpsp.
<b>CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE'</b>
       EXPORTING
           <b> PERNR             = PERNR
            BEGDA             = BEGDA
            ENDDA             = ENDDA</b>
          KUG               =
          REFRESH           = 'X'
          WORKING_HOURS     = 'X'
          SWITCH_ACTIV      =
          MODIFY_ENTRIES    = 'X'
          I0001_I0007_ERROR = '0'
     IMPORTING
          WARNING_OCCURED   =
       TABLES
          I0000             =
          I0001             =
          I0002             =
          I0007             =
          I0049             =
          I2001             =
          I2002             =
          I2003             =
  <b>          PERWS             = I_PTPSP</b>
     EXCEPTIONS
          ERROR_OCCURED     = 1
          ABORT_OCCURED     = 2
          OTHERS            = 3
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
table <b>I_PTPSP</b> is having all the data u needed..

Similar Messages

  • How to get the Deliver Quantity against Schedule Line Quantity

    Hi,
    I have specific requirement for a report where we need to determine the delivery qty against the schedule line qty for a sales order. In sales order in schedule line tab system shows the delivery qty. The field is VBEPD-VSMNG. VBEPD is a structure and I could not find the table in which this is actually stored. Does anybody know how to get the delivery qty for schedule line?

    Hi,
    U can check the following tables:
    VBEP (Sales ScheduleLines) VBEP-VBELN =VBAP-VBELN and VBAP-POSNR = VBEP-POSNR
    LIPS (SalesDoc:Delivery Items) LIPS-VGBEL =VBAP-VBELN and LIPS-VGPOS =
    VBAP-POSNR
    VBEH (Schedule LineHistory) VBELN POSNR ETENR
    Regards
    Kannaiah

  • How to get the floor plan in Webdynpro component ?

    Hi,
    How to get the floor plan in Webdynpro component ?
    Best Regards,
    Tripathi

    Hi,
    Just copy the templates from Webdynpro Component by choosing OIF or GAF or QAF template.
    Regards,
    Bansidahr

  • I have an airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    I have a new airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    Welcome to Apple Support Communities
    If you purchased the computer before 2010, your computer hasn't got Thunderbolt, so you can't use it

  • How to get the webcam to work?

    Hi,
    As I don't have an instruction book for this computer, can anyone tell me how to get the webcam to work please?
    There is supposed to be something that pops up from the side of the screen, but I've left the mouse sit there for ages on all sides and nothing. Please assist me.
    Kit_e

    I refer you back to my original question.
    There used to be a bar at the side that popped up when you left the mouse sit there for a bit. It no longer pops up ... ie: it's disappeared and will not return ... this is what "started" the webcam for use as a webcam.
    I have no idea on how to use the webcam from any other place. There is no icon. There is no mention of it in the programs list. There is nothing. There is a webcam sitting there in the laptops lid, but I can't find where to "access it". Like I said there is no icon, nothing in the programs list.
    I want to be able to use it. You know, like you use a webcam. On the web, as a camera. No particular website or software that I have in mind.
    Thanks.

  • HT3669 Hi I have a Konica Minolta PagePro 1300W printer. This works with my Windows-based Toshiba laptop but not with my i-Mac. Can someone please advise me how I get the printer to work with my i-Mac? I have installed it but documents don't print. Thanks

    Hi I have a Konica Minolta PagePro 1300W printer. This works with my Windows-based Toshiba laptop but not with my i-Mac. I have the latest (Mountain Lion 10.8.2) OS-X software.
    I have installed the printer using 'System Preferences' on my i-Mac and it appears on the list of available printers but documents that I create just don't print.
    Can someone please advise me how I get the Konica Minolta PagePro 1300W printer to work with my i-Mac?
    Thanks, John Lee

    Looking at the Konica web site for the PagePro 1300W, I saw the following note.
    Please note: This printer is designed to be used in computer operating systems running MS Windows only. Operating systems such as UNIX, Macintosh, or Linux are not supported nor do we have workaround drivers available. Older MS Windows versions, such as Windows 3.1/95/98[pre-SE] and NT 3.51/4.0, are not supported.
    So KM are not going to help you. But the LinuxFoundation does provide a workaround that should allow you to print. Have a look at this web page. You will need to install all three packages as per the instructions from that page.

  • Compaq Presario R3000 how to get the sound to work with Windows 7 RC

    1) Download     SP29586.exe: ftp://ftp.hp.com/pub/softpaq/sp29501-30000/sp29586.exe
    2) Run it, Create a directory  c:\ swsetup 
    3) Once all the Files are extracted DO NOT INSTALL
    4) Now Goto the Start Menu  Click on Devices and Printers, the Click on the Name you have called your  machine this will be marked will a yellow triangle as the sound driver windows 7 has install already is a realtek ac 97 which is not working, 
    5) Once your Machinename  you will see a general tab and and hardware tab select the hardware tab.
    6) Look for the Realtek ac 97  under the Device functions, select that and click properties,
    7) Now tab to the Driver, now click update driver,
    8) Select the option let me pick from a list of devices drivers, now click have disk
    9) Click on Browse  select the following location Swsetup\SP29586\SMAXWDM\W2K_XP and click on  smwdmCH6.inf 
    10)Now the Soundmax Driver should come up select ok and  next. Now your Sound will work
    This question was solved.
    View Solution.

    I am basicaly having the same problem with my labtop. I tried the following above and yet I still have not been able to get my sound to work. I have had some problems with my power and sound cards before but after I reinstalled windows my graphics card and sound card have not been working to their full potential. I thaught that it was a 64 bit graphics card, but now I am not so sure. I had to jostle the power cord in the back till I mannaged to find a perfect spot to keep the computer running. Before the reinstallation I had to put pressure on the left side of the computer to get the sound to work.. but even then it still came in and out.. "The sound that is." I can see the same driver in the codex menue and it is yellow but, what you stated above did not work.
    It says (Cannot continue the hardware update) The wizard cannot find a better match for your hardware than the software that you curently have installed. and then tells me to keep the current software. My sound Icon does not show up when I go to the settings.... I can't play diablo 2 on this no idea why... But my screen is choppy when I scroll through internet sites and it did not do that before. I have a 400mbs connection .... here is my computer information. :Compaq Presario R3000 Intel pent4  2.80ghz    2.80ghz       1.12GB ram and im running on windows xp2 professional.

  • How to get the 'info' button working again in Spotlight?

    The 'info' button to get info about an item in the search results window of Spotlight is no longer working for me. I have tried reindexing and trashing the preference file in the user library, with no luck. Any idea how to get this functionality back?
    Thanks
    Chris

    I have the same problem after installing Safari 3, the more info icon in the spotlight results no longer works.
    Dan

  • Can't seem to figure out how to get the signature to work correctly

    I am having trouble getting Digital Signatures to work on a PDF. This is the first time that I have ever tried to use them, and the first time that I used Lifecycle to convert a form instead of just building it one field at a time in Acrobat Pro.
    In the past, I have gotten several PDF's that required signing. It seemed like an easy process, I clicked on the signature to sign it and then the email button to submit. The first time I did it before I had a signature, it walked me through the process of getting one set up, that was easy too.
    Now, I need one, and all of the sudden, it doesn't seem so easy any more.
    I have the CS3 Design suite with Acrobat Pro 8.0
    I did the layout in InDesign, and the form conversion in Lifecycle. The signature fields were added there automatically, all looked good so far.
    I open the file in Reader 9.0 and am unable to add a signature. I made sure that Reader 9.0 knew where my signature file was, but no matter what I do the document sign options are all greyed out.
    I opened the form in Acrobat 8 and it will let me sign, but I have to immediately save/as or the signature doesn't take. I have to save it save/as twice because there are two signatures.
    I figured there was some rights setting wrong, but can't find it. I have searched for signature, but can't seem to find a post that applies to my problem.
    This is driving me crazy. This shouldn't be that difficult. I am missing something here.
    Can anybody here shed some light on this?
    Thanks,
    Kirk

    To enable the form to be signed in Reader you will need to open the form in Acrobat; goto Advanced>Enable Usage Rights and then save this copy of the form for sending out to the users.
    The user should then be able to edit and digitally sign the form. They can then email the signed/saved pdf as a browsed for attachment or via the email icon in the toolbar. Note - if you have created an email submit button on the form, then unless they have Acrobat they could only return an xml file.
    The other way to do this however is to create a dataset by 'distributing' the form. This time the Email Return button will send back a full version of the form. During the distribution setup you will have the option to email the form directly or to save it and send it later,so you can send to users as and when or even post it to a website or intranet.
    When you receive and open the returned form it will ask whether you want to add it to the predetermined dataset (or if you want to categorise the returns into geographical areas for example, you could create new additional datasets at this point). If the form is data heavy however, the dataset will become very large and unwieldy pretty quickly, but you can export the data from it (including signatures) in xml format and import this into an Excel spreadsheet.
    To simplify the Excel xml import process I'd recommend you carefully structure your form in the hierarchy (LiveCycle) into the order you would want the data items to appear in your spreadsheet and switch off those data items that you will not need by setting the default binding for the irrelevant fields to "None".
    Clear as mud? Hope this helps.

  • How to get the Billing plan number for Contract Item?

    HI Friends
    I have been stuck up with the billing plan number to fetch perticular item in sales contract.
    When I go to the table FPLA, I can all the billing plan numbers for a contract or sales order and I am not able to locate for a perticular line item.
    Is there any way to fetch the exact billing plan number for a line item of a contract?
    Please help me
    Thanks
    Praveen

    U need to use the table vbfa or fololow thw link
    [http://www.erpgenie.com/sap-functional/sd/read-sales-document-flow-using-a-function-module]

  • How to get the status of Job scheduled in Background.

    Hi,
      I wanted to know the status of job scheduled in Background.
    I am using below FM.
    BP_JOB_STATUS_GET
    but what value will it reutrn after completion of the job.
    That the status is complete.

    Use the Table
    TBTCO
      to know the status
    or else call the FUNCTION
    BP_JOB_SELECT

  • How to get the "loyalty plan", which is 60 a month with unlimited talk and text. Not able to get to a store, want to do this change online

    How can I switch to this loyalty plan that is 60 a month.  Future son in law got it last month  by going to a store and complaining. I want to do this online, nothing on Verizon site that discusses this.

    Ok, I've been a customer for very many years, I'm on a fixed retirement
    income.  I need to reduce my bills, my contract ends in  Dec. I will be
    pursuing other options unless I can get some concessions from Verizon.  My
    future son-in-law was given this loyalty plan, so I know this is a
    reasonable request.  My phone number is (removed)  acct number
    (removed)
    >> Personal information removed to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • How to get the ipad to work-initally

    i just bought my ipad, how do i get to work initially?

    If the screen shows the iTunes symbol and a cable then it's iOS 4 then you need to activate it by connecting it to a computer that is running iTunes - Getting Started guide : http://support.apple.com/kb/HT4053
    The iPad manual also has a chapter on getting started - it can be downloaded from here : http://support.apple.com/manuals/ipad

  • How to get the firewall to work!

    Use firefox 0.9, you will get an error message but dont mind.. now your in the config.
    To the second thing: How do we get it to work with internet explorer? i havent figured that out yet... feel fre to help me with that!

    While I do not know the answer to your question, BUT since you have this modem and another router - you could just follow.
    http://www.dslreports.com/faq/13600
    ^^
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • I just received my iPad mini for christmas and it came with a case with a keyboard and I'm not sure how to get the keyboard to work with the iPad. Please help!

    I cant get my ipad minis' keyboard to work how do you connect it?

    is it something i need to charge or is it bluetooth powered?

Maybe you are looking for

  • Notes and Notes History in a form

    Does anyone have a sample apex app that collects notes or suggestions about what controls to use?  My current specs call for a new note entry area and a history area of notes displayed above the new entry of notes area on an employee. The notes area

  • Command line script in LabView 2010 Win7

    Hi guys, How to execute a CL script in LabView 2010 and pass parameters to it?

  • What's wrong with my KeyGenerator ?

    Hi, Here is a short source code that give me troubles when executed from a servlet. KeyGenerator keyGen = KeyGenerator.getInstance("DES"); When executed the main of an app, there is no problem. but when executed from a servlet, the servlet stop and g

  • Tinnitus - ringing in ears

    I developed Tinnitus immediately after falling asleep listening to music using the stock ear buds. Fortunately I was laying on my side therefore listened with just one ear, so I still have one healthy ear left. I did NOT have the volume up loud...I w

  • Sim cards for 3G iPad - can a French card be inserted into an English iPad

    If I were to purchase a 3G enabled iPad here in the UK, could I take it to France, purchase a sim card there and e.g. a months subscription (forfait), take out the UK card and replace it with the French card, and start to use the iPad in the normal w