SAP Reports / Programs | Payroll | Denmark(PY-DK) SAP PY

RPCLEAM0 SAP ABAP Report - Leave Overview







RPCLEAM0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a leave overview for a group of employees...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 RPCLEAM0 into the relevant SAP transactions such as SE38 or SE80


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 RPCLEAM0. "Basic submit
SUBMIT RPCLEAM0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCLEAM0 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: ADD_EXP = Expired leave counts as rem.
Selection Text: CALENDAR = Graphic annual calendar
Selection Text: DETAIL = Details
Selection Text: EXPIRED = Only pers. with expired leave
Selection Text: G_DAY = Taken up to
Selection Text: G_JAHR = Leave year for graphic
Selection Text: K_DAY = Requested up to
Selection Text: ORGDAT = Summary by organizational unit
Selection Text: OVERVIEW = Overview
Selection Text: SUMMARY = Summary
Selection Text: SUPPRESS = Only pers.with remaining leave
Selection Text: URLJJ = Leave year
Title: Leave Overview
Text Symbol: 022 = Leave overview for
Text Symbol: 023 = Evaluation up to:
Text Symbol: 030 = Error with EXCEL link:
Text Symbol: 032 = File cannot be opened
Text Symbol: 033 = File cannot be defined
Text Symbol: 034 = Incorrect Windows system: Windows for DOS required
Text Symbol: 035 = Incorrect FRONT-END installation
Text Symbol: 042 = Leave reconciliation list
Text Symbol: 043 = Summary
Text Symbol: 101 = Taken up to
Text Symbol: 110 = Month
Text Symbol: CAL = No leave year specified for graphic
Text Symbol: EXC = Unanticipated exception in FM 'HR GET LEAVE DATA: sy-subrc =
Text Symbol: 021 = Leave reconciliation list
Text Symbol: 001 = Pers.no.
Text Symbol: 002 = Name
Text Symbol: 003 = Year
Text Symbol: 004 = Entitlmt
Text Symbol: 005 = Taken
Text Symbol: 006 = compensated
Text Symbol: 007 = Rem.
Text Symbol: 008 = ID
Text Symbol: 009 = Leave type
Text Symbol: 010 = Submitted
Text Symbol: 011 = Deduction interval





Text Symbol: 012 = Key date
Text Symbol: 013 = Grpg
Text Symbol: VER = Expired
Text Symbol: UNK = Unknown message type in subroutine "error handling"
Text Symbol: SUP = No remaining leave
Text Symbol: O08 = Summary by organizational unit
Text Symbol: O07 = Rem.
Text Symbol: O06 = Cost Ctrs
Text Symbol: O05 = ESgrp
Text Symbol: O04 = EEGrp
Text Symbol: O03 = PSubarea
Text Symbol: O02 = PA
Text Symbol: O01 = CoCd
Text Symbol: NEI = No expired leave or remaining leave
Text Symbol: FRS = First display
Text Symbol: VRF = No expired leave


INCLUDES used within this REPORT RPCLEAM0

INCLUDE MPZDAT03.
INCLUDE RPC1PC00.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.


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_GET_LEAVE_DATA CALL FUNCTION 'HR_GET_LEAVE_DATA' EXPORTING pernr = pernr_info-pernr cdatum = k_day ubegd = '18000101' uendd = '99991231' "PH4K001224 * BEGDA_0005 = '18000101' * ENDDA_0005 = '99991231' * SEL_MOD = 'S' * OBJPS_0005 = * IMPORTING * ENTITLE = * ACCOUNT = * ORDERED = * REDUCED = TABLES xansp = xansp2 urart_sel = urart_sel i0005 = p0005 i0083 = p0083 i0003 = p0003 "XLZAHRK040913 i0001 = p0001 "XLZAHRK040913 EXCEPTIONS * INFTY_0005_NOT_DEFINED = 1 * INFTY_0003_NOT_DEFINED = 2 * INFTY_0083_NOT_DEFINED = 3 * MISSING_AUTHORITY = 4 old_ne_new_pc_version_nr = 5 OTHERS = 6.

HR_GET_LEAVE_DATA CALL FUNCTION 'HR_GET_LEAVE_DATA' EXPORTING pernr = pernr_info-pernr cdatum = g_day ubegd = '18000101' uendd = '99991231' "PH4K001224 * BEGDA_0005 = '18000101' * ENDDA_0005 = '99991231' * SEL_MOD = 'S' * OBJPS_0005 = * IMPORTING * ENTITLE = * ACCOUNT = * ORDERED = * REDUCED = TABLES xansp = xansp1 urart_sel = urart_sel i0005 = p0005 i0083 = p0083 i0003 = p0003 "XLZAHRK040913 i0001 = p0001 "XLZAHRK040913 EXCEPTIONS infty_0005_not_defined = 1 infty_0003_not_defined = 2 infty_0083_not_defined = 3 missing_authority = 4 old_ne_new_pc_version_nr = 5 OTHERS = 6.



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