RPCAKHN0 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 create an overview of the data with respect to wage tax reduction [afdrachtvermindering loonheffing] processed via infotype
If you would like to execute this report or see the full code listing simply enter RPCAKHN0 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_M05_CAKH - Premium Reduction Overview
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.
Title: Premium Reduction Overview (NL)
Text Symbol: 001 = Premium Reduction Overview
Text Symbol: PDG = Per Day
Text Symbol: PMD = Per Month
Text Symbol: PWK = Per Week
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = c_molga begda = pn-endda IMPORTING waers = g_waers * EXCEPTIONS * OTHERS = 4 .
HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = pernr-pernr * permo = pn-permo "LLEAC0K016833 permo = l_permo "LLEAC0K048664 * pabrj = pn-begda(4) "LLEAC0K049696 * pabrp = pn-begda+4(2) " * pabrj_end = pn-endda(4) " * pabrp_end = pn-endda+4(2) " pabrj = l_pabrj " pabrp = l_pabrp " pabrj_end = l_pabrj_end " pabrp_end = l_pabrp_end "LLEAC0K049696 actual = 'A' " SPACE ... with retros
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = sy-msgid msgty = 'E' msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.
HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = g_select processed = g_proces rejected = g_reject EXCEPTIONS OTHERS = 4.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = 'RP' msgty = 'E' msgno = '302' msgv1 = 'T500P' msgv2 = p_werks.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = 'RP' msgty = 'E' msgno = '302' msgv1 = 'T001P' msgv2 = p_werks msgv3 = p_btrtl.
HR_ALV_LIST_DISPLAY * CALL FUNCTION 'HR_ALV_LIST_DISPLAY' * EXPORTING * current_report = 'RPCAKHN0' * data_structure = 'p05_overz_afdr_k' * list_title = 'Overzicht afdrachtverminderingen'(001) * hr_display_error_list = 'X' * hr_display_stat_list = 'X' * variant = '01SAP' ** SAPSCRIPT_FORM = For details read documentation ! ** SAPSCRIPT_PRINTER = * TABLES * data_tab = i_evaluation_tab * EXCEPTIONS * OTHERS = 0.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'RPCAKHN0' i_internal_tabname = 'it_overz_afdr_k' i_structure_name = 'P05_OVERZ_AFDR_K' i_inclname = 'RPCAKHN0' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = slis_itab_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
HR_PAL_LOG_AND_ALV_DISPLAY CALL FUNCTION 'HR_PAL_LOG_AND_ALV_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile i_s_flat_profile = l_s_flat_profile * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_callback_program * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' i_structure_name = 'P05_OVERZ_AFDR_K' * I_BACKGROUND_ID = ' ' i_grid_title = 'Overzicht afdrachtverminderingen'(001) * I_GRID_SETTINGS = is_layout = slis_is_layout it_fieldcat = slis_itab_fieldcatalog * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = i_default = 'X' i_save = 'A' is_variant = slis_is_variant * IT_EVENTS = l_t_events * IT_EVENT_EXIT = * IS_PRINT = * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = i_display_tab EXCEPTIONS program_error = 1 OTHERS = 2 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.