SAP Reports / Programs | Payroll | Spain(PY-ES) SAP PY

RPTGENE0 SAP ABAP Report - Personal Calendar Generation (E)







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


Transaction Code(s):

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

PC00_M04_TGEN - Generate personal calendar


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 RPTGENE0. "Basic submit
SUBMIT RPTGENE0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTGENE0 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: 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 :


INCLUDES used within this REPORT RPTGENE0

No INCLUDES are used within this REPORT code!


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_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.



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