RPTGENE0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to generate a country-specific personal calendar for each employee...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 RPTGENE0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M04_TGEN - Generate personal calendar
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: INCLALL = Inactive employees inclusive
Selection Text: MODUS_D = Display (without maintaining)
Selection Text: MODUS_E = Maintain (differences only)
Selection Text: MODUS_F = Force (always maintain)
Selection Text: PMODE_A = Complete log
Selection Text: PMODE_S = Summarized log
Selection Text: PROTOCOL = Print log
Title: Personal Calendar Generation (E)
Text Symbol: E03 = Requested observation interval not valid
Text Symbol: E04 = Generation incorrect
Text Symbol: E05 = Incomplete generation
Text Symbol: E06 = Personnel number(s) could not be blocked
Text Symbol: S01 = Selected employees :
Text Symbol: S02 = Rejected employees :
Text Symbol: S03 = Personnel number (possible cause)
Text Symbol: T01 = Generation mode :
Text Symbol: T02 = Generation log :
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_SET_INTERVAL_E CALL FUNCTION 'RP_SET_INTERVAL_E' EXPORTING pernum = p0003-pernr "Núm. de Personal del trabajador
HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = pernr-pernr i_msgid = 'BL' i_msgty = 'W' i_msgno = '001' i_msgv1 = g_msgv1 * I_MSGV2 = * I_MSGV3 = * I_MSGV4 = EXCEPTIONS program_error = 1 OTHERS = 2 .
RP_BUILD_CALENDAR_E CALL FUNCTION 'RP_BUILD_CALENDAR_E' EXPORTING nuper = pernr-pernr "Núm. de Personal del trabajador
HR_PAL_STATS_STANDARD_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_STANDARD_MSG_ADD' EXPORTING i_selected_ee = pernr_ttl i_successful_ee = l_succesful_ee i_erroneous_ee = l_rejected_ee EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING * I_NODE_KEY = i_pernr = rejects-pernr i_msgid = 'BL' * I_MSGTY = 'E' i_msgno = '001' i_msgv1 = g_msgv1 * I_MSGV2 = * I_MSGV3 = * I_MSGV4 = * IMPORTING * E_PERNR_NODE_KEY = EXCEPTIONS program_error = 1 OTHERS = 2 .
HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_disp_prof * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3 .
ENQUEUE_READ CALL FUNCTION 'ENQUEUE_READ' EXPORTING gclient = sy-mandt gname = 'PREL' garg = space IMPORTING number = sy-tabix TABLES enq = l_blocked_pernr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.