PNP Payroll Area Dates

Hi all,
In the pnp logical database selection screen you have the payroll area. Entering the payroll area (field PNPXABKR), and pressing the 'enter' key, automatically you will get the start and end dates populated, as well as the 'Current Period' field. This 'Current Period' has fields Payroll Period (PN-PABRP) and Payroll Year (PN-PABRJ).
The problem is that my report uses these 'Current Period' fields for processing, and if the user forgets to press 'Enter' before running the report, these fields end up being blank despite having filled in the Payrol Area. With a blank Payroll Period and Year my report runs wrong.
What solutions are there for this?
1) I think I can manually extract the dates based on the given Payroll Area from the T549* series of tables. But I am not sure where or what to look for.
2) Is there something I can code to programmatically simulate and 'Enter' key press just before the report is executed?
3) Is there a simpler solution? I notice other standard SAP reports do not have this problem when I do not press the enter key.

Hi kevin,
1. The best thing is to VALIDATE
  whether the field of payroll period
  has some value or not.
2. If its blank,
  we should give appropriate message,
  and do not go further for list processing.
3. we can do like this.
4. just copy paste
5.
<b>start-of-selection.
  if PNPDISPP is initial.
    message 'Period is Initial' type 'I'.
    leave list-processing.
  endif.</b>
6. NOTE:
  a) Message should be of type I (and not E)
  b) LEAVE LIST-PROCESSING statement is important.
regards,
amit m.

Similar Messages

  • Can we run 2 payrolls on seperate dates within the same payroll area

    Hi,
    Can someone please tell me is there any possibility in which we can run 2 payroll for seperate PSA and ESG on seperate dates and maintain a commom payroll area for them..?
    Thanks,

    Hi
    Yes we can Run........But u should have either two different date modifiers or Period parameters......
    For Ex:
    Our Pay roll area is X1....Ok and u can run if you same period parameter....
            PayRoll Area          Period Parameter             Date Modifiers
                X1                        P1                                  D1
                X1                       P1                                  D2  
    Or
                 X1                        P1                                D1
                 X1                        P2                                D1
    Loke this we can modify and run....
    Byeeeee
    Edited by: INDRA on Dec 25, 2008 5:43 AM

  • Value date is not maintained for payroll area 08

    Dear all,
    I am facing this error Value date is not maintained for payroll area 08 while executing Transaction
    PC00_M08_CALC.
    Please let me know how to rectify this error?
    Thanks
    Best regards,
    Smita

    Hi Shruti,
    Please find the attached screen shot of the error.
    Thanks
    Smita

  • Can we restrict the data to be entered in payroll area

    Can we restrict the data to be entered in payroll area?

    Hi,
    In my lilmited knowledge I think we can only default the payroll area using ABKRS feature.
    We probably have to use a user exit of BADI to restrict it.
    cheers
    Ajay

  • PCL PNP HR Change data retrieval

    Dear Friends,
    I need to develop a report which retrieves all changed data for the specific period specified by the user.
    1) I am not very sure if I need to use PCL4 or any other clustertable, or I can still go with PNP and do query RP_PROVIDE <OLD DATE> <OLDDATE1>!!!
    2) If I need to use cluster table could any of you please provide me sample code snippet thus I can go a head?
    Thanks and Regards,
    Joy
    Below are the entries and different infotypes for which the changed data list needs to be displayed.
    PA0002     Forename     VORNA
    PA0002     Name at birth     NAME2
    PA0002     Last Name     NACHN
    PA0002     Middle Name     MIDNM
    PA0002     Known As     RUFNM
    PA0001     Company Code     BUKRS
    PA0002     Birth Date     GBDAT
    PA0077     Ethnic Origin     RACKY
    PA0002     Gender     GESCH
    PA0002     Marital Status     FAMST
    PA0002     Name Suffix     TITL2
    PA0105     Email Address     USRID_LONG
    PA0002     Title     TITEL
    PA0006     Fax     NUMXX
    PA0006     Mobile     NUMXX
    PA0002     Nationality     NATIO
    PA0006     Domicile     LAND1
    PA0002     Religion     KONFE
    PA0702     Passport     TBD
    PA0702     Place of issue     TBD
    PA0702     Issue date     TBD
    PA0702     Valid till     TBD
    PA0041     Date of Hire     DATXX
    PA0000     Action Reason     MASSG
    PA0001
    HRP1001
    PA0002     Reporting to     ORGEH
    OBJID/SOBID
    CNAME
    PA0041     Date of exit interview     DATXX
    PA0041     Leave Date     DATXX
    PA0000     Leaving Reason     MASSG
    PA0006     Street     STRAS
    PA0006     Address Line2     LOCAT
    PA0006     City     ORT01
    PA0006     District     ORT02
    PA0006     Region     STATE
    PA0006     Country     LAND1
    PA0006     Postal Code     PSTLZ
    PA0006     Communication Number     NUMXX
    PA0002     Personal ID     PERID
    PA0041     Date Of Last Hire
         DATXX
    PA0001     Location     BTRTL
    PA0007     Part time flag
         TEILK
    PA0001     Job
         STELL
    PA0001     Payroll area
         ABKRS
    HRP1000     OrgLvl1     OBJID
    PA0001     OrgLvl2     
    HRP1000     OrgLvl3     OBJID
    HRP1000     OrgLvl4     OBJID
    PA0000     Personnel Number     PERNR
    PA0041     Date of seniority     DATXX
         EEBankName     
    PA0009     Bank account no     BANKN
    PA0009     Bank account type     BNKSA
    PA0002     PERID

    Hi,
    Go through this link.
    change document for HR data
    Regards
    Sudheer

  • Mid month payroll area change

    Hi,
    i am at the client site and I have been asked to change the payroll area of few employees in the system but system is not allowing me to do that.
    What is the best possible solution so that i can change the payroll area so that the changes are reflected in the payroll cycle of the same month?
    Regards
    Aryan

    For this ,
    You need to log in SAP system
    Once you log in the system then give the TCODE PA30  ( Maintain HR DATA )
    Once that screen has appier then you need to give the PERNR No for whome you need to change the Payroll Area.
    Give the PERNR No.
    Give the infotype 001 ( Organizational Assignment ) and click up on the change ......
    Once you get Screen "Change Orgnazation Assigment"   you can see the field "Payr.area" give the appropriate Payr.area and save .............
    Like this you can change the Payr.area for the Personal NO

  • UK Payroll (Payroll Area)

    Hi Experts
    A new payroll area has been set up for MM from NN(with employees being ended on and restarted on different payroll areas/personnel numbers) an example of this is personnel number 1234 (the new number), adminstrators need to input the past absences against the new personnel numbers in the new payroll area and they are getting the error message (Does not Exists in IT0001) .Please analyise and let us know your findings.
    Thanks
    Githa

    Hi Sri,
    I cant give Proper inputs now bcz i am not aware of the Eaxct Reuirement still Investigating.Please look in to the Following it may be help to know the Requirment 
    I think this is Related to "Multiple Employement"
    Bcz for the New Perner IT000 Over view.(Perner Numbe 60256)
    Start Date      End Date     Action Type
    01.04.2009    31.12.9999   New Starter
    In IT0031 have the Two Perner Numbers for the New Perner.(15025 & 15024)
    The Inputs of these Two perner Numbers
    For the Perner 15024      IT000
    Start Date      End Date     Action Type
    01.04.2006    31.03.2008   Data Migration Hiring (Legact)
    01.04..2008    31.03.2009  Automatic Pay Increase
    01.04.2009     31.12.9999   Leaver
    Perner  15025 : IT000 Over View
    Start Date      End Date     Action Type
    01.04.2006    31.12.2007   Data Migration Hiring (Legact)
    01.01.2008    31.12.9999   Leaver -Multiple Employment
    Thanks
    Githa

  • Change payroll area in middle of the month

    Currently I had face a problem where this staff whose is reentering the company in the middle of the month. Before this he use payroll area XX, after he reenter the company in the middle of the month, the payroll area need to be change to AA. But the system did not allow this with this error: "Payroll area change possible only at the end of the payroll period". So i was force to change the payroll area only when the date was at the end of the payroll period.
    Is there any way to rectify this issue? I also being informed that there was a standard report to do this, but i could not find it,weather is it exist or not.

    Is there any way to do by force, as i had been told that it could be done by using a standard program, but he could not remember it.
    Is it payroll could not be running if half month payroll are is XX and other half is AA if possible to change the payroll area? Why?

  • Payroll area

    Hi Expert,
    i have 3 emp subgroup,
    1- salaried
    2-hrly
    3-Trainee
    the payment date for top management salaried employees on 25th of every month , payment date for lowerlevel salaried employees on 5th of everymonth, and for other employees payment date is on every wednesday.
    in this case how many payroll area i need to create?
    2 payroll area with 3 date modifier is fine?
    and in control record
    how i need to mention payroll period & earliest retro for weekly employees  
    Thanks
    Anish

    Hi Sikinder,
    How come 1 period parameter?
    because one payroll i need to run on monthly and another one in weekly so i need to use 2 period parameter rt?
    correct me if i'm wrong
    Anish

  • Payroll area change is not possible

    Hi,
    When we are doing promotion action, i.e, one paryoll area to another paryoll area, In actions whatever the date we are giving is taking, but when come to org assignment it is not allowing to save with that date  and throwing error " payroll area change is not possible at the end of payroll period"
    For example: In Actions start date is 04.01.2010, in org assign is not allowing to save the entry with that date, but if we give 01.01.2010, it is allowing to save the record. As paryroll period is starting of the month to end of the month, that is the reason it allowing the start date of the month in org assign, but user wants the record from his desired date..
    Please help me on the issue.
    Thanks & Regards
    Kumar

    Hi Kumar,
    Mid-payroll payroll area change is allowed for only a few countries including:
    Canada (country grouping 07), the United States (10), South Africa (16), Mexico (32), Taiwan (42), Finland (44), and Spain (04)
    Please check the notes below for further reference:
    1104733
    849363
    744563
    Regards,
    Dilek

  • Personnel numbers under a given payroll area

    can anyone let me know any macros/ fm / utility that gets the personnel numbers given a payroll area , begin date and end date ?
    How to get the personnel numbers under a given payroll area , is it okay if  simply by looking in table PA0001 ?
    Thanks!
    Uma

    Please read this -:)
    <a href="/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports to deal with HR Payroll reports</a>
    Greetings,
    Blag.

  • SAP Adhoc Query by payroll area and respective periods

    Hello,
    I would get an idea of how to make SAP query by having a selection screen for Payroll area and its respectve periods (respective control record).  I was able to get the selection screen where I can input payroll area. But the date range for the report is a manual feed. I want something like when we select the payroll area, then I want the periods to be shown (payroll period - current period or other period). I'm new to making this SAP query. Any inupt is appreciated. Thanks.
    Raj.

    in the adhoc query we can select the periods based on the frequency but the dates will not get default
    As in the Pay roll driver the dates get defaulted based on the settings made in Control Record Status
    so i dont think this is possible thru Standrad
    let wait for expert views

  • PU12 Transaction: Mutilple Payroll Area Issue

    Dear All,
    I am going under very strange issue with PU12 transaction. This transaction runs fine and export payroll data if a person is hired only in one Payroll Area.
    Like, if a employee E123456 is hired under Payroll Area - 99  and if this is still under that payroll area in HR-Infotype 1 THEN PU12 will work fine.
    If employee is transferred to some other payroll area - 01. So this time Infotype 1 will have two record - Initial Hired Payroll 99 (delimited) record and current Payroll Area 01 record.
    When PU12 transaction starts for this employee it only will run for Initial Payroll Area (in this case 99). Whatever the data under Payroll Area 99 time span will only get processed.
    Whatever the data will come under new Payroll Area 01, it will not get processes.
    Is there something missing in configuration side or something to be added explicitly?
    Thanks,
    Roshan
    Edited by: Roshan Gupta on Feb 9, 2011 1:39 PM

    Hi Mahesh,
    Thanks for the reply. But the link gives good information about configuration of PU12. The scenario I have raised, it doesn't help to understand that. But its good reference guide and I already had that. Can you please help me to understand what could be the reason of the mentioned problem.
    Thanks,
    Roshan

  • Changing Payroll Areas

    Hello guys: I have 8 different payroll areas with the same periodicity and same payment date.
    If I change all EEs IT 0001 and use only one payroll area (the same for everybody); are there going to be any problems with the cluster?
    I am planing on using as the date of change (begin date) the first day of a payroll period.  I will also run this master data update after all the payrolls have been posted to FI.
    Or what kind of problems could i encounter?
    Thanks
    Harlen

    This should be ok, just make sure that you take care of payment/deduction that has payment model assigned, and just double check your schema there might be some rules written which might be payroll area specific.

  • Delimiting payroll Area

    Dear Experts,
    We are having 12 payroll Areas ( All are monthly) now, due to the management decision I have to reduce the pay roll area  03. how can i  do this.
    If i delete the payroll area , i think it will effect the history of the employees,
    so how can i delimit the payroll area??? or what is the solution for this?
    Thanks in Advance.
    Manjula.A

    Hi Manjula,
    1. you can't delete the existing payroll area otherwise you can't run retro for those emp.
    2. If you will replace the existing payroll area to a new payroll are, may be system will trigger retro. Even as per my understanding you can't change the payroll area for the periods payroll has already been run. It wil through the error 'PayrArea unchangeable for periods for which payroll has run'
    3. So, accordingly modifying the feature ABKRS is also not suggestable.
    one alternate u can try, create a new payroll areas and configure ABKRS for those payroll area without modifying the existing data of feature and assign these to the emps. keep old payroll areas in the system to avoid any kind of inconsistencies. i hope it even doesn't harm u to maintain those payroll areas in system if you are not assigning these to any1. Now according to Usha u cn change the text to avoid any further confusion.
    Regards,
    Praveen

Maybe you are looking for

  • No data in RSA3 for 2lis_11_vaitm

    hi, I am testing the extractor 2lis_11_vaitm and there is no data in RSA3. i have checked the sales orders and there is data. please let me know what the problem may be. Many thanks Emil

  • Partner Bank Type not Updating

    When running transaction F-110, the programme will not pick up DM documents on customer accounts due to the fact the Partner Bank Type field is not populated. As such I have to do this manually for each vendor every month. If this was populated invoi

  • Best way to monitor virtual-access flaps ?

    Hi, I'm seeing regular virtual-access interface flaps. Is there a good way to keep a count of these? I could monitor the syslog and increment a counter however there must be a more elegant way to do this. I can't find an OID or show commands which gi

  • TNSNames file problems....

    Hi, We have Oracle 9i running on a Win NT network. There is a tnsnames.ora file in the default directory with the other Oracle program files. However, we would like to have OEM pointing to a different local tnsnames file (so that we can automatically

  • Unable to extract comma in a String

    Hi, I have a String as: A,B,C,D,E,F,G, I want to print as A,B,C,D,E,F,G the last comma is coming as output. Any help will be needful for me