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
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.
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
INCLUDE MPZDAT03.
INCLUDE RPC1PC00.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.