SAP Reports / Programs | Payroll | Portugal(PY-PT) SAP PY

RPCWARPF SAP ABAP INCLUDE - documentation and ABAP source code







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

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_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = p_pers_no permo = p_screen_fields-permo pabrj = p_screen_fields-pabrj pabrp = p_screen_fields-pabrp TABLES result_tab = p_tab_payroll_result EXCEPTIONS no_results = 1 OTHERS = 7.

HRPY_READ_T511K CALL FUNCTION 'HRPY_READ_T511K' EXPORTING pf_molga = '19' pf_const = 'SSPLT' pf_date = pn-endda IMPORTING pf_kwert = l_ssplt EXCEPTIONS no_entry_found_t511k = 1 OTHERS = 2.

HR_PT_SS_GET_MD_REGIME CALL FUNCTION 'HR_PT_SS_GET_MD_REGIME' EXPORTING regime = l_s_ss_status-ssrgm IMPORTING spreg = l_s_ss-spreg EXCEPTIONS md_regime_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = c_feature_name struc_content = l_s_input_feature IMPORTING back = l_output_feature EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_PT_SS_GET_CONTRIBUTOR_2004 CALL FUNCTION 'HR_PT_SS_GET_CONTRIBUTOR_2004' EXPORTING p_sscon = p_s_cont_id-sscon IMPORTING p_name = l_s_contributor-name p_eacod = l_s_contributor-eacod p_eatxt = l_s_contributor-eatxt p_ssadr = l_s_contributor-ssadr p_ssloc = l_s_contributor-ssloc p_codp = l_s_contributor-codp p_cptxt = l_s_contributor-cptxt p_telpf = l_s_contributor-telpf p_telno = l_s_contributor-telno EXCEPTIONS contributor_not_found = 1 OTHERS = 2.

HR_PT_GET_COMPANY CALL FUNCTION 'HR_PT_GET_COMPANY' EXPORTING bukrs = p_s_org_data-bukrs * LANGU = SY-LANGU begda = pn-begda endda = pn-endda currency = p_s_per_data-currency IMPORTING npc = l_s_contributor-nif EXCEPTIONS company_code_not_found = 1 entity_not_found = 2 OTHERS = 3.

HR_PT_SS_GET_WT_FOR_SS_REGIME CALL FUNCTION 'HR_PT_SS_GET_WT_FOR_SS_REGIME' EXPORTING p_rgcod = p_s_ss_status-rgcod p_endda = p_s_ss_status-endda p_begda = p_s_ss_status-endda IMPORTING p_numwt = l_numwt p_baswt = l_baswt p_eecwt = l_eecwt p_ercwt = l_ercwt EXCEPTIONS ssregime_not_found = 1 OTHERS = 2.

HR_99S_GET_EVAL_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_EVAL_CLASS_VALUE' EXPORTING p_molga = pcons_molga p_lgart = l_s_rt-lgart p_eval_class = c_rem_categories p_keydate = p_s_ss_status-endda IMPORTING p_value = l_eval_class_value p_return_code = l_ret_code.

HRPY_READ_T511K CALL FUNCTION 'HRPY_READ_T511K' EXPORTING pf_molga = pcons_molga pf_const = 'KWARB' pf_date = p_s_ss_status-endda IMPORTING pf_kwert = lv_kwarb EXCEPTIONS no_entry_found_t511k = 1 OTHERS = 2.

HR_PT_SS_GET_WT_FOR_SS_REGIME CALL FUNCTION 'HR_PT_SS_GET_WT_FOR_SS_REGIME' EXPORTING p_rgcod = p_s_ss_status-rgcod p_endda = p_s_ss_status-endda p_begda = p_s_ss_status-endda IMPORTING p_srcwt = lv_srcwt EXCEPTIONS ssregime_not_found = 1 OTHERS = 2.

HR_GET_ASSIGNMENT_OF_WAGETYPES CALL FUNCTION 'HR_GET_ASSIGNMENT_OF_WAGETYPES' EXPORTING i_molga = pcons_molga i_appl = 'SSRB' i_sumlg = lv_sumlg i_date = p_s_ss_status-endda TABLES tab_sel_t596i_j = lt_t596ij EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 internal_error = 4 OTHERS = 5.

HRPY_READ_T511K CALL FUNCTION 'HRPY_READ_T511K' EXPORTING pf_molga = pcons_molga pf_const = 'KSSRB' pf_date = p_s_ss_status-endda IMPORTING pf_kwert = lv_const_value EXCEPTIONS no_entry_found_t511k = 1 OTHERS = 2.

HR_99S_INIT_E3LOG CALL FUNCTION 'HR_99S_INIT_E3LOG' EXCEPTIONS ERROR = 1 OTHERS = 2.

HR_99S_DISPLAY_E3LOG CALL FUNCTION 'HR_99S_DISPLAY_E3LOG' EXPORTING callback_program = 'RPCSSRP0' callback_detail = 'PRINT_LOG_DETAIL' use_control = 'X' EXCEPTIONS OTHERS = 1.

HR_99S_APPEND_ENTRY_E3LOG CALL FUNCTION 'HR_99S_APPEND_ENTRY_E3LOG' EXPORTING p_folder = l_folder p_text = l_text p_order = 1 EXCEPTIONS error = 1 OTHERS = 2.

HR_99S_APPEND_ENTRY_E3LOG CALL FUNCTION 'HR_99S_APPEND_ENTRY_E3LOG' EXPORTING p_folder = p_folder p_group = p_group p_text = l_text p_order = 1 EXCEPTIONS error = 1 OTHERS = 2.

HR_99S_APPEND_ENTRY_E3LOG CALL FUNCTION 'HR_99S_APPEND_ENTRY_E3LOG' EXPORTING p_folder = p_folder p_group = p_group p_entity = p_entity p_text = l_text p_order = 1 EXCEPTIONS error = 1 OTHERS = 2.

HR_99S_GETTAB_E3LOG CALL FUNCTION 'HR_99S_GETTAB_E3LOG' IMPORTING tab_e3log = l_tab_log EXCEPTIONS error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = p_tab_field_cat it_sort = l_tab_sort TABLES t_outtab = p_tab_data EXCEPTIONS program_error = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pers_no infty = '0000' begda = p_begda endda = p_endda TABLES infty_tab = l_tab_0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_date foreign_amount = p_amount foreign_currency = p_curr1 local_currency = p_curr2 * RATE = 0 * TYPE_OF_RATE = 'M' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = p_amount_conv * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HR_PAL_STATS_STANDARD_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_STANDARD_MSG_ADD' EXPORTING i_selected_ee = p_s_statistics-selected i_successful_ee = p_s_statistics-processed i_erroneous_ee = p_s_statistics-rejected EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' TABLES ERROR = P_ERROR_TABLE ERRORTEXTS = ERROR_TEXTS EXCEPTIONS NO_ERRORS = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_pal_categids-temse it_fieldcat = l_fieldcat_tab i_clbk = l_call_back EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'TEMSE' i_node_txt = text-057 "Ficheiro TemSe Folha Rem i_icon = c_alv_icon_temse i_categ_id = c_pal_categids-temse IMPORTING e_node_key = l_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_node_key i_row_data = l_temse_data EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PT_SS_GET_REGIME_CODE CALL FUNCTION 'HR_PT_SS_GET_REGIME_CODE' EXPORTING p_rgcod = p_s_ss_status-rgcod p_endda = p_s_ss_status-endda p_begda = p_s_ss_status-endda IMPORTING p_eectr = cv_ee_rate p_erctr = cv_er_rate EXCEPTIONS ss_regime_not_found = 1 OTHERS = 2.

HR_99S_READ_INFOTYPE call function 'HR_99S_READ_INFOTYPE' exporting im_pernr = pv_pernr im_begda = pv_date im_endda = pv_date im_infty = '0001' importing ex_wa_infty = ls_0001 ex_returncode = lv_returncode.

HR_FEATURE_BACKFIELD call function 'HR_FEATURE_BACKFIELD' exporting feature = '19RED' struc_content = ls_pmred importing back = lv_return_value exceptions dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 others = 7.

HRPY_READ_T511K call function 'HRPY_READ_T511K' exporting pf_molga = pcons_molga pf_const = 'RRFMR' pf_date = pv_date importing pf_kwert = lv_const_value exceptions no_entry_found_t511k = 1 others = 2.

HR_PT_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_PT_ADD_MONTH_TO_DATE' EXPORTING dmm_datin = lv_inper dmm_count = '1' dmm_oper = '-' dmm_pos = ' ' IMPORTING dmm_daout = lv_prev_month EXCEPTIONS unknown = 1.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = lc_pentt struc_content = ls_pentt IMPORTING back = lv_return EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = cv_root_node i_node_txt = text-059 i_icon = icon_list i_categ_id = 'FILE' IMPORTING e_node_key = lv_file_key.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_file_key i_row_data = .

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'FILE' it_fieldcat = lt_fieldcatalog it_sort = lt_sort i_save = 'X'.

HR_PT_SS_GET_WT_FOR_SS_REGIME CALL FUNCTION 'HR_PT_SS_GET_WT_FOR_SS_REGIME' EXPORTING p_rgcod = ps_ss_status-rgcod p_endda = ps_ss_status-endda p_begda = ps_ss_status-endda IMPORTING p_srcwt = lv_srcwt EXCEPTIONS ssregime_not_found = 1 OTHERS = 2.

HR_GET_ASSIGNMENT_OF_WAGETYPES CALL FUNCTION 'HR_GET_ASSIGNMENT_OF_WAGETYPES' EXPORTING i_molga = pcons_molga i_appl = 'SSRB' i_sumlg = lv_sumlg i_date = ps_ss_status-endda TABLES tab_sel_t596i_j = lt_t596ij EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 internal_error = 4 OTHERS = 5.

HR_99S_GET_CUMUL_VALUE CALL FUNCTION 'HR_99S_GET_CUMUL_VALUE' EXPORTING p_molga = pcons_molga p_lgart = ls_wt-lgart p_cumul = '02' p_keydate = ps_ss_status-endda IMPORTING p_value = lv_cumul_value p_return_code = lv_ret_code.




HR_99S_GET_CUMUL_VALUE CALL FUNCTION 'HR_99S_GET_CUMUL_VALUE' EXPORTING p_molga = pcons_molga p_lgart = ls_wt-lgart p_cumul = '63' p_keydate = ps_ss_status-endda IMPORTING p_value = lv_cumul_value p_return_code = lv_ret_code.

HR_99S_GET_CUMUL_VALUE CALL FUNCTION 'HR_99S_GET_CUMUL_VALUE' EXPORTING p_molga = pcons_molga p_lgart = ls_wt-lgart p_cumul = '64' p_keydate = ps_ss_status-endda IMPORTING p_value = lv_cumul_value p_return_code = lv_ret_code.



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