SAP Reports / Programs | Personnel Management | Personnel Administration | France(PA-PA-FR) SAP PA

RPUPROF1 SAP ABAP Report - HR-F: Calculation and output of paid leave reserve







RPUPROF1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for France only (paid leave)...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 RPUPROF1 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_M06_UPRO1 - Calculate Reserve for Paid Leave


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 RPUPROF1. "Basic submit
SUBMIT RPUPROF1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUPROF1 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: ANNE_CA1 = Seniority for bonus
Selection Text: ANNE_CA2 = Seniority for bonus
Selection Text: ANNE_CA3 = Seniority for bonus
Selection Text: ANNE_CA4 = Seniority for bonus
Selection Text: ANNE_CA5 = Seniority for bonus
Selection Text: ANNE_CA6 = Seniority for bonus
Selection Text: COEF_TXH = Hourly rate factor
Selection Text: CRIT_EDI = Output criteria
Selection Text: DATE_JMF = Date of young mothers' leave
Selection Text: DATE_PRO = Date of leave reserve
Selection Text: HOR_JOUR = Daily work sched.
Selection Text: JOUR_CA1 = Days granted for seniority
Selection Text: JOUR_CA2 = Days granted for seniority
Selection Text: JOUR_CA3 = Days granted for seniority
Selection Text: JOUR_CA4 = Days granted for seniority
Selection Text: JOUR_CA5 = Days granted for seniority
Selection Text: JOUR_CA6 = Days granted for seniority
Selection Text: JOUR_FRA = Split
Selection Text: JOUR_JMF = No. of days for young mothers
Selection Text: NBJR_FRA = No. of days for split
Selection Text: NB_JOURC = No. of paid leave days
Selection Text: PLAF_ACP = Max. hours for leave owed
Selection Text: PLAF_NCP = Max. hours for future leave
Selection Text: PLAF_REP = Max. hours for time in lieu
Selection Text: P_WAERS = Currency
Title: HR-F: Calculation and output of paid leave reserve
Text Symbol: Z48 = Imported version different from report version
Text Symbol: T01 = ERROR LIST
Text Symbol: T00 = CALCULATE ANNUAL PAID LEAVE RESERVE
Text Symbol: S73 = Dept. = S
Text Symbol: S72 = CO section = A
Text Symbol: S71 = Sort criteria
Text Symbol: S63 = Day(s)
Text Symbol: S62 = Entitl.
Text Symbol: S61 = Young mother's leave Date
Text Symbol: DEV = Currency
Text Symbol: E01 = EEs who have left
Text Symbol: E02 = Employees w/o infotype 0001 or 0002





Text Symbol: E03 = Employees without CO assignment or department
Text Symbol: E04 = Employees w/o payroll (PCL2)
Text Symbol: E05 = Employees w/o hourly rate or zero
Text Symbol: E06 = Employees with leave errors
Text Symbol: L11 = | PersNo. !
Text Symbol: L12 = Bal. !
Text Symbol: L13 = Rate ! Amount !
Text Symbol: L14 = Entitl!
Text Symbol: L21 = | Dept.or !
Text Symbol: L22 = Lieu !
Text Symbol: L23 = !---------------------!
Text Symbol: L24 = Leave !
Text Symbol: L31 = | CostAcct.!
Text Symbol: L32 = Comp. !
Text Symbol: L33 = Hourly ! < Thresh.! Thresh. >!
Text Symbol: L34 = Old
Text Symbol: L35 = New !
Text Symbol: S01 = Date of paid leave reserve
Text Symbol: S11 = Percentage of full hourly rate
Text Symbol: S21 = Hours threshold for time in lieu (>thres)
Text Symbol: S22 = Hours threshold to determine leave (>thres)
Text Symbol: S23 = Old
Text Symbol: S24 = New
Text Symbol: S31 = Daily work sched.
Text Symbol: S41 = Amount of leave reserve
Text Symbol: S42 = Permitted number of days for split
Text Symbol: S43 = Split
Text Symbol: S51 = Leave days accumulated on basis of seniority
Text Symbol: S52 = Day for
Text Symbol: S53 = Days for
Text Symbol: S54 = Yrs


INCLUDES used within this REPORT RPUPROF1

INCLUDE: RPUPI0F1, "INCLUDE POUR LES DEFINITIONS DE DATA
RPUPI1F1, "INCLUDE POUR RESULTATS DE PAIE
RPUPI3F1, "INCLUDE POUR LE CALCUL DES CONGES
RPUPI2F1, "INCLUDE POUR LES SELECTIONS RESTANTS
RPUPI4F1, "INCLUDE POUR LA GESTION DES ERREURS


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:

RP_GET_CURRENCY





CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = '06' BEGDA = SY-DATUM ENDDA = SY-DATUM IMPORTING WAERS = PROG_WAERS RETURN = RETURN.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = LOW-DATE END = LOW-DATE IMPORTING HIRE_DATE = HIREDATE FIRE_DATE = FIREDATE TABLES PP0000 = P0000 "input PP0001 = P0001 "input PPHIFI = PHIFI. "output

HR_CONVERT_CURRENCY_RESULT CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT' EXPORTING COUNTRY_GROUPING = '06' CONVERSION_DATE = VERSC-FPEND FOREIGN_CURRENCY = VERSC-WAERS LOCAL_CURRENCY = PROG_WAERS TABLES RESULT_TABLE = RT CUMULATED_RESULT_TABLE = CRT EXCEPTIONS INVALID_WAGETYPE = 1 ERROR_CONVERSION = 2 OTHERS = 3.

HR_CONVERT_CURRENCY_RESULT_FR CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT_FR' EXPORTING COUNTRY_GROUPING = '06' CONVERSION_DATE = VERSC-FPEND FOREIGN_CURRENCY = VERSC-WAERS LOCAL_CURRENCY = PROG_WAERS TABLES RESULT_TABLE = RT CUMULATED_RESULT_TABLE = CRT EXCEPTIONS INVALID_WAGETYPE = 1 ERROR_CONVERSION = 2 OTHERS = 3.



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 RPUPROF1 or its description.