SAP Reports / Programs | Personnel Management | Personnel Administration | Great Britain(PA-PA-GB) SAP PA

RPUEFO_PENNOT SAP ABAP Report - HR GB: PENNOT form







RPUEFO_PENNOT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates the Pension Notification (PENNOT) form for submission to the HM Revenue & Customs (HMRC)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPUEFO_PENNOT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M08_CPENNOT_STD - PENNOT processing 08


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPUEFO_PENNOT. "Basic submit
SUBMIT RPUEFO_PENNOT AND RETURN. "Return to original report after report execution complete
SUBMIT RPUEFO_PENNOT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TEST = Test run
Selection Text: TDREF = Tax district indicator
Selection Text: TDNUM = Tax district number
Selection Text: TAX_YEAR = Tax year ending April 5th
Selection Text: ISS_DATE = Issue date of PENNOT
Title: HR GB: PENNOT form
Text Symbol: L01 = Personnel number could not be locked
Text Symbol: LIV = Test in Live
Text Symbol: LK1 = The lock entriy list is full. No new locks could be produced.
Text Symbol: LK2 = The personnel number could not be locked.
Text Symbol: LVD = after the retirement date
Text Symbol: N01 = Test mode.
Text Symbol: N02 = The leaving date set
Text Symbol: N03 = on today's date:
Text Symbol: N04 = on the end date of selection period:
Text Symbol: N05 = Employee didn't leave in this period.
Text Symbol: N07 = is not a valid NINO Prefix on
Text Symbol: P45 = (P45)
Text Symbol: R01 = No payroll result directory found
Text Symbol: R02 = No payroll result in P160 timeframe between
Text Symbol: R03 = No payroll result for Sequence number
Text Symbol: R07 = No Org.Assignment/Action between
Text Symbol: ISD = from issue date of PENNOT form
Text Symbol: I13 = No authorization to change the Tax Data GB record.
Text Symbol: I12 = . It is before the last payment date
Text Symbol: I11 = The new Tax Data GB record is created from
Text Symbol: I10 = No changes on IT0065(Tax Data).
Text Symbol: I09 = . The new Tax Basis is
Text Symbol: I08 = The new Tax Code is
Text Symbol: I07 = and
Text Symbol: I06 = The Tax Data GB was splitted in
Text Symbol: I05 = Leaving details changed in Tax Data GB for
Text Symbol: I04 = . The new Tax Data record begins at
Text Symbol: I03 = New Tax record not created. IT0065 is limited to
Text Symbol: I02 = to
Text Symbol: I01 = No modification of Infotype 0065 from
Text Symbol: FR4 = Submission Media
Text Symbol: FR3 = Processing criteria's





Text Symbol: FR2 = Tax record details
Text Symbol: R0A = An Entry already exists for the pernr for pension
Text Symbol: XML = Generate XML
Text Symbol: W02 = Tax Year
Text Symbol: USD = Create the new Tax Data GB record
Text Symbol: TX2 = Form P45 (separate output)
Text Symbol: TX1 = Form P45
Text Symbol: TR1 = Tax Reference changes on
Text Symbol: TI1 = Information by which P45 forms will be generated
Text Symbol: TG3 = No Tax reference assignment for payroll area
Text Symbol: TDR = Reference
Text Symbol: TDN = Employer Tax Office Number
Text Symbol: T99 = not found
Text Symbol: T17 = No dynamic field assignments for Subapplication
Text Symbol: T16 = Wage type definition for Subapplication
Text Symbol: ST6 = PENNOT notifications already issued
Text Symbol: ST5 = Number of Employees Rejected
Text Symbol: ST4 = No of P160 Forms Generated
Text Symbol: ST3 = No of rejected Employees
Text Symbol: ST2 = Number of Employee records into Database
Text Symbol: ST1 = Employees selected for processing
Text Symbol: SAC = SAPScript
Text Symbol: S01 = Click to save button to save your entries
Text Symbol: R30 = No Errors Exist
Text Symbol: R15 = and
Text Symbol: R0T = Employee not valid in selected financial year
Text Symbol: R0Q = The Employee doesn't belong to selected tax reference
Text Symbol: R0P = Incomplete Data
Text Symbol: R0K = Productive runs only via tax reference
Text Symbol: R0G = Error while updating data
Text Symbol: R0F = PENNOT Notification (P160) already issued for Employee
Text Symbol: R0E = Invalid value for tax refernce
Text Symbol: R0D = Productive XML runs only via tax reference
Text Symbol: R0C = Pensioner's Details are not maintained in IT0065
Text Symbol: R0B = Invalid value for tax refernce
Text Symbol: E33 = before entering date
Text Symbol: E32 = The leaving date
Text Symbol: E31 = The Pers. area is not found in infotype 0001 for
Text Symbol: E30 = Please enter valid SAPScript form





Text Symbol: E29 = Please enter name of SAPscript stationary form
Text Symbol: E24 = not valid for Feature GBENA
Text Symbol: E23 = Return value
Text Symbol: E22 = No name entered for Tax Reference
Text Symbol: E21 = No result found for feature
Text Symbol: E19 = No Taxcode found in payroll result
Text Symbol: E18 = No entry in table T5G51 for argument
Text Symbol: E16 = No Period param. in table T549A for Payroll Area
Text Symbol: E15 = No tax payments between
Text Symbol: E14 = The last payroll result for
Text Symbol: E10 = could not be calculated.
Text Symbol: E09 = The start and end date of the tax period
Text Symbol: E08 = Leaving date:
Text Symbol: E07 = P45 already processed. See IT 0065(Tax Data GB)
Text Symbol: E06 = is hire date of the last empl. and before tax beg.
Text Symbol: E05 = Not found the previous employment.
Text Symbol: E04 = for
Text Symbol: E03 = The payroll period and year couldn be determined
Text Symbol: E02 = The employee was not active in period
Text Symbol: E01 = No termination reason for death found in feature
Text Symbol: D03 = Mandatory field has no value
Text Symbol: D02 = Field length is less than minimum allowed length
Text Symbol: D01 = Field length is greater than maximum allowed length
Text Symbol: B04 = Verify test flag
Text Symbol: B03 = No
Text Symbol: B02 = Yes
Text Symbol: B01 = Do you really want to run the report in productive mode ?
Text Symbol: ALV = Store Employee's previous employement PENNOT Details
Text Symbol: ALP = ALV Output
Text Symbol: AL2 = Entered ALV variant not found
Text Symbol: AL1 = Please enter valid ALV variant names
Text Symbol: 206 = Processing PENNOT (P160)
Text Symbol: E34 = No pay date found for period
Text Symbol: FR1 = Tax criteria
Text Symbol: ETX = Negative amount for summation wage type
Text Symbol: ER1 = Error outputting
Text Symbol: EM1 = Not permissible input of tax year
Text Symbol: EA2 = No payroll area associated to Tax Reference
Text Symbol: E75 = "Test for active employees" flag set.



Text Symbol: E74 = No P45 possible for inactive employees with
Text Symbol: E73 = because the employee has tax code NT
Text Symbol: E72 = and tax code source is 'P38 student form'.
Text Symbol: E71 = because the employee has tax code NI
Text Symbol: E70 = No P45 form produced
Text Symbol: E69 = The IT0065 records could not be found.
Text Symbol: E68 = Could not check the P45 form is already processed.
Text Symbol: E67 = No creation of a new Tax Code record is possible.
Text Symbol: E66 = of the leaving payroll period.
Text Symbol: E65 = The leaving date is before the paydate
Text Symbol: E64 = The issue date of P45 is not on IT0065 between
Text Symbol: E63 = The issue date should be after the last pay date:
Text Symbol: E62 = . Enter a new issue date.
Text Symbol: E61 = the beginning date of the next employment:
Text Symbol: E60 = The issue date should be before
Text Symbol: E59 = Use only single select options
Text Symbol: E58 = P45 processing only for single payroll area
Text Symbol: E57 = Enter the payroll area.
Text Symbol: E56 = Change not possible as forms are not defined
Text Symbol: E55 = Use another issue date to update infotype.
Text Symbol: E54 = The P45 issue date must be after leaving date:
Text Symbol: E53 = No tax year beg.date found for given payroll area
Text Symbol: E52 = P45 for active employee only in test run available
Text Symbol: E51 = Repeat processing only in test run available
Text Symbol: E47 = could not be found for payroll area
Text Symbol: E46 = The begin date of the tay year
Text Symbol: E45 = correspond with the Tax Data GB.
Text Symbol: E44 = Tax Basis on P45 form does not
Text Symbol: E43 = ) doesn't correspond with the Tax Data GB.
Text Symbol: E42 = Tax Code on P45 (


INCLUDES used within this REPORT RPUEFO_PENNOT

INCLUDE RPCEFO_PENNOTS. " SELECTION SCREEN AND SELECTION SCREEN CHECKS AND HELPS
INCLUDE RPCP45GB. " SELECTION OPTIONS (INITIALIZATION)


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_GB_ME_SWITCH CALL FUNCTION 'HR_GB_ME_SWITCH' IMPORTING p_me_active = g_me_active.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 5 text = text-206.

HR_GB_ME_SWITCH CALL FUNCTION 'HR_GB_ME_SWITCH' IMPORTING p_me_active = g_me_active.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' EXPORTING beg = PNPBEGDA end = PNPENDDA IMPORTING hire_date = hire fire_date = fire TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi_x. "output



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPUEFO_PENNOT or its description.