SAP Reports / Programs | Personnel Management | Personnel Administration | Netherlands(PA-PA-NL) SAP PA

RPTZKFN2 SAP ABAP INCLUDE - documentation and ABAP source code







RPTZKFN2 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RPTZKFN2 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 RPTZKFN2. "Basic submit
SUBMIT RPTZKFN2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTZKFN2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RPTZKFN2

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:

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0001-pernr begda = begin endda = eind * KUG = * REFRESH = 'X' * WORKING_HOURS = 'X' * SWITCH_ACTIV = * MODIFY_ENTRIES = 'X' * I0001_I0007_ERROR = '0' TABLES i0000 = q0000_empty i0001 = q0001 i0002 = q0002 i0007 = q0007 * I0049 = "german i2001 = q2001 i2002 = q2002 i2003 = q2003 perws = pws EXCEPTIONS error_occured = 1 abort_occured = 2 OTHERS = 3.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = ' ' * NO_IMG = ' ' * LINESIZE = SY-LINSZ * TABLES * ERROR = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = calc_age_dat second_date = calc_date modify_interval = ' ' IMPORTING years_between_dates = calc_age_val EXCEPTIONS sequence_of_dates_not_valid = 1.

GRAPH_MATRIX CALL FUNCTION 'GRAPH_MATRIX' EXPORTING dim1 = 'Maand'(mnt) dim2 = graf_dim2 dim3 = space inbuf = space inform = space max1 = space max2 = space max3 = space pwdid = space stat = space super = space titl = 'Ziekteverzuim'(ttl) valt = space wdid = space winid = space TABLES data = graphdata opts = opts tdim1 = tdim1 tdim2 = tdim2 tdim3 = tdim3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P05_ZKSN0' CHANGING ct_fieldcat = it_jfldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING it_fieldcat = it_jfldcat i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_program = 'RPTZKSN2' i_callback_user_command = 'USER_COMMAND' TABLES t_outtab = it_data.



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