GET PAYROLL Error

Hi!
I have a question regarding GET PAYROLL. I have a program that works and gathers data using the HR logical database (PNP), GET PERNR and GET PAYROLL codes in DEV. However, when it was transported to QAS for testing, it only goes as far as GET PERNR then goes to GET PAYROLL but doesn't do the checking. I have placed debug points in all the lines so that each step can be accounted for but the program in QAS does not pass GET PAYROLL. I have checked the profiles for the usernames I used in both DEV and QAS and they both have the same items in them.
A snippet of the code I used:
GET pernr.
  READ TABLE itrgdir INTO watrgdir WITH KEY pernr = pernr-pernr.
    IF sy-subrc NE 0.
      REJECT.
    ENDIF.
GET payroll.
  IF p_offpr = 'X'.
    CHECK payroll-evp-ipend = p_offpd.
    CHECK payroll-evp-srtza = 'A'.
    CHECK payroll-evp-payty = 'A'.
  ELSE.
    CHECK payroll-evp-srtza = 'A'.
  ENDIF.
I want to ask for the possible reasons why this would happen. Thank you.

Check selection screen attribute, should be 900. Did you use GET pernr LATE? Maybe there is unsufficient test data in your Q system.
Check this little thing:
report  zpayrollevent.
tables: pernr, pyorgscreen, pytimescreen.
nodes: payroll type pay99_result.
data: g_result_counter type i.
start-of-selection.
get pernr.
write: / 'Currently working on:', pernr-pernr.
get pernr late.
write: / 'Found', g_result_counter,
'results for #', pernr-pernr.
uline.
get payroll.
g_result_counter = g_result_counter + 1.
write: / 'Seq No. = ', payroll-evp-seqnr,
'In period =', payroll-inter-versc-inper,
'For period =', payroll-inter-versc-fpper,
'Pay date =', payroll-inter-versc-paydt.
If this will not show any payroll results, there are no payroll results available.

Similar Messages

  • I am getting Payroll error in "Customizing Error in Work Schedule Rule"

    Hi,
    Iam using SAP HR ECC6.0. While running payroll i am facing an error saying "Customizing Error in Work Schedule Rule". I checked all my work schedule related configuration everything is correct. I have checked the Manual Work Schedule Creation. My Work Schedule is getting displayed for current year. Can anyone help me out in this.
    Lakshmi

    Hi Naveen,
    How are you? I created the work schedule again and checked both Infotypes 0007 and 0001. My grouping is there. But now i am getting error saying "Payroll not possible because data is missing. No entry in Table WPBP". But i checked in SM30 there is no such table in the directory. I really don't know what kind of error is this?
    Lakshmi

  • Sap Payroll error log report

    Hi All,
    We are developing Report on SAP Payroll log with the error message . Is any table exist in SAP where we can get the standard error message repositery and then convert it in the User freindly error message ?
    Thanks
    H

    Hello hg,
    Before developing report on SAP Payroll error log I suggest taking a look at below blog. There is a new functionality from SAP to improve payroll data validation and they are calling it "Control Center Add-On".
    This is going to be a free add on for anyone who is on EHP7 and NetWeaver on 7.4 release. The general availability is June 2nd 2014.
    Improve payroll data validation with SAP Payroll control center add-on
    Hope this helps.
    Thanks,
    Hemanth Jamithi.

  • Payroll Error msg "The gross wages do not cover the negative offset that has been forwarded, therefore, no grossup is permitted".

    Hi Experts,
    I am getting the below error msg while running payroll for an US employee.
    "The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted."
    I am getting this error msg just after USTAX function processing part of UTX0 subschema. I am highlighting below facts & findings for your reference.
    As per a client requirement,  I have configured a new gross up WT (ER benefit contribution) for a benefit plan (IT 0168) and the changes are in QAS system. The changes have to be reflected in period 20/2014 (4th May'14- 10th May'14) with retro effective 01/01/2014 as per the benefit plan record maintained from 01/01/2014.
    This error msg is coming only for few employees. In my example, when I am running payroll in period 20/2014 with forced retro as 01/01/2014, system is giving error in period 14/2014 (23rd Mar'14-29th Mar'14). When I checked the pay result of this employee for period 14/2014, I can see the /101 is in -ve value and there is claim generated for this period. So I think, eventhough, a value of $ 2.53 is getting added as per the IT 0168 record, its not helping to give a +ve gross value and thus tax is not able to recoved on the same.
    I hope you have come across this issue and can help me to assist to resolve the error msg.
    Regards,
    Prakash  

    If you have correctly configured payroll the system should automatically off set that and should create wage tyes /561 or /563 in RT.

  • I am installing Windows 7 on my macbook pro OSX Mountain Lion and I get an error message:" Your disk could not be partitioned." What does this mean?

    I am installing Windows 7 and I get an error message: "Your disk could not be partitioned. An error ocurred while partitioning the disk". I was using a Windows & Home Premium OEM Software that I purchased from Microsoft. I was given to Windows 100GB to use for Quickbooks pro, Payroll and Publisher. I have the Macbook Pro model No: MD102LL/A. Does anyone knows what happenned or can advice me in what to do? Please help!!!

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • Get payroll to generate payroll

    Hi All,
    I am using pnp LDB and selection screen 900 for getting payroll using GET PAYROLL event.
    Problem i m facing is that GET PAYROLL event fetch payroll for all the employees.
    But i have to fetch according to personnel area and personnel subarea.
    Layout of report should be like this:
    Personnel area:
    payroll of all the employees in that personnel area.
    then another parsonnel area
    payroll of all the employees and so on....
    But in GET PAYROLL , we can't assign the outer loop, it gives the syntax error.
    If i could assign the outer loop, then i could easily do that, i fetch the personnel area and employees lying in that area and run the payroll of them.But, i couldn't do like this as we can't assign outer loop to GET PAYROLL ...
    Please help, it is urgent.
    Points will be awarded.

    HI,
    You can also use GET PERNR.
    AWARD POINTS IF USEFUL

  • HR REPORT about GET PAYROLL ISSUE!

    HI
    i using LDB pnp to report about PY data!
    i get PY data using GET PAYROLL!
    one case occurs as follow:
    search  one person(99005500) using personid number i will get result ok!
    all other condition not change! just in personid(pernr-pernr) condition,  i put mass person id!
    in these person, some id < 9900500, in this time, the person id 99005500 some period py data
    can't display out!
    i have to check period list using call method pay->read_result
                                                           IMPORTING
                                                                 list = mylist. in GET PERNR !
      i find mylist have different!
    in first scene:
        mylist data contain all data about this person: begin with 20060110
    but in last scene:
        mylist data contain data just begin with 20080804
    so i think miss py data cause by mylist change !
    i in SAP demo code:EXAMPLE_PNP_GET_PAYROLL i have saw:
    You can use the methods of class "pay" to read and modify
    the list of payroll result that is going to be processed at
    the <get payroll> event. However, these method calls might
    change with the next release.
      CREATE OBJECT pay.
    pay->LDB = 'SAPDB_MY_OWN_LDB'. "only if you copied the LDB PNP
      CALL METHOD pay->read_result IMPORTING list = mylist.
    "delete mylist index 2. "For example: Remove an unwanted payroll result
      CALL METHOD pay->write_result EXPORTING list = mylist.
    what happend in LDB PNP! how to get mylist i want?
    because using CALL METHOD pay->read_result IMPORTING list = mylist. will cause error!
    help!!!!!!!!!!!!!!
    thank you advance!

    Hi,
    Refer this link https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3180. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Flavya

  • Reading result table using LDB and event get payroll

    Hi Technical experts,
    I need help regarding reading cluster RT using logical database pnp and event get payroll.
    Please help me out.
    Best Regards.
    Priyaranjan

    Suresh, I also have one more question.  
    If I use GET pernr or GET payroll inside a subroutine after start of selection, it gives error saying "Before the statement "GET" , the structure introduced by FORm shuld be ended by END FORM, which is already ended correctly.
    When I move the Get events outside the subroutines, i dont get this error. 
    Does that mean, these events cannot be used in the subroutines?

  • Off-Cycle Payroll Error for Bonus

    Hi Experts,
    I am getting one error while i am running the off-cylce payroll live run for the employees.
    Current payroll payment date 31.03.2009 less than last payroll payment date
    31.08.2009
    I maintained the payment date as 31.03.2009 in Employee master data..........and also in off-cylce  field also i maintained same date.
    i don't under stand where i am doing wrong.
    Thanks in Advance,
    KB

    Maintain the payment as off-cycle payable date  in the pc00_m40_bons.Then execute the program.
    For forther clarification open the new thread
    Thanks,
    KB

  • Payroll Error - IndVal of Wage Type

    We are getting an error in payroll results when we enter certain positions as substitutes on the time sheet (PA61).
    In PALP X012 GEN: the error is:
    IndVal of wage type 0001: No entry in table T511 for key      0001 on 20090502
    Since this is only happening for some position substitutions and not all, I am not sure were to look to correct the error.
    Any ideas?
    Thanks

    Function PALP processes all entries in the internal table ALP triggered
    by generic rule (in the SAP standard system, PC Rule X012).
    Hourly rates are determined according to the specifications in the
    calculation rule and placed in internal table IT as valuation bases with
    an ALP split.
    So i guess, system is not able to get Hourly Rates for those substituted positions for that period/date.
    Regards
    ...Sadhu

  • Canadian Payroll error

    Hi guys,
    I m working on payroll canada, and trying generate payroll. I m getting following error
    Provincial data does not start on : 2011/01/01
    for personnel assignment: 70280
    for province of employment : ON
    I alraedy have a valid record on It461 , it462, it463 and it464. record valid from 2011/01/01 to 9999/12/31 for employee 70280.
    but still having error.
    Please help me to resolve this error.
    Thanks in advance.
    Sanju.

    Hi Howard,  Rémi Corriveau
    Thank you for your replies.
    I have stored following values.
    For it461
    Province of emp : ON
    Emp juridisdiction : on
    prov residence : ON
    valid from : 2011/01/01 to : 9999/12/31
    For IT 462
    Province : ON
    tax credits : 8.148,00
    valid from : 2011/01/01 to : 9999/12/31
    For IT 463
    total credits : 8.148,00
    valid from : 2011/01/01 to : 9999/12/31
    For IT 464
    Province of employment : ON
    valid from : 2011/01/01 to : 9999/12/31
    regards
    Sanju

  • I want to Sync my iPhone 4 to iTunes however I get an error message from iTunes each time I connect the phone to the PC saying that I should restore to factory settings. Frustrating because it's already annoying enough that I can't drag and drop mp3's!!!

    I have never been so frustrated before in my life with any phone. I find it obnoxious as it is that I cannot simply drag and drop files (especially MP3's) straight from my PC directly into my phone, which I have been used to doing up until now. Everyone who convinced me to get the iPhone has instructed me that my frustration can be fixed by downloading iTunes and syncing it all up via that program (which I have never used before). So, I downloaded the program successfully, however when I connect the iPhone 4 to the PC and iTunes is open, I get an error message that 'iTunes cannot read the content of the iPhone "iPhone" and that I should go to the Preferences tab of the iPhone and select 'restore' to restore this phone to factory settings. First of all, I don't understand why I need to do that. I have already downloaded apps and other important things in the 2 days that I have the phone. I am also scared that it will erase my contacts. This is such a headache. Music is very imporatant to me, but I am getting so frustrated that I don't have freedom over the phone which I thought was supposed to be one of the best out there. I would really appreciate help in this matter. I am sure the phone is great but I am on the verge of taking it back and getting something else.

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

  • HELLO I AM GETTING THIS ERROR WHEN I OPEN ITUNES "ITUNES WAS UNABLE TO LOAD DATA CLASS INFORMATION FROM SYNC SERVICES ...."

    i was getting this error whenever i tried to sync my ipod touch to itunes.. i had 10.5 version of itunes so i waited till apple updates it .today apple udated itunes and still after udating to 10.6 version i am getting this error please i have tried many things like download mobile me i uninstalled itunes and the reinstalled it but nothing seems to work please i haven't sync my ipod from last month and i want to sync some songs in it please please help..........................i have also tried to reset sync history from edit/preferences but nothing is working what should i do should restore my ipod touch or create a new id and start all over from beginning??please help....thanks

    i tried searching more problems like this but everyone has given a link to a page which gives steps to solve this issue and i have already tried that before but nothing worked ...should i restore my ipod but i am worried that if i restore my ipod and if i cannot sync my ipod then i  wont be having anything on my ipod.....do u any specific solution that can solve this issue 100%??

  • I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

Maybe you are looking for

  • Cant get music on to ipod. Help!!

    I need urgent help with an Ipod. Only because my boyfriend is on the phone asking me how to set it up. He's downloaded all the crap he needs to download but he cant sync (or move or whatever you call it) the songs off his computer on to the ipod. htt

  • I can't open iTunes or appp store!!!!

    I haven't been able to open iTunes or app store for two days! Tried suggested solutions nothing works!!!

  • Can Robocopy Be Used To Copy Folders Newer Than A Certain Date?

    We've been using robocopy with the /MAXAGE option to copy files newer than a certain date. Can the same be done for folders? Orange County District Attorney

  • Clips stretching from QTP Pro to iMovie

    Have gone through similar questions and followed the suggested instructions, but can't seem to stop clips that have been rotated from landscape to portrait and resized in QuickTime Player Pro to stretching when imported to iMovie. Looks right in QTP,

  • Configuring 2504 WLC for LanSchool/AppleTV

    Good Day to All, Recently my small elementary schools have upgraded to Cisco Air-Cap2600 series AP's and a 2504 WLC. Very much a sweet step up from 10 year old Apple Airport Extremes. My question is what would be the best pratice to enable Multicast