SAP Reports / Programs | Payroll | Canada(PY-CA) SAP PY

RPCROEK0_XMPORTER_FORMS SAP ABAP INCLUDE - Include RPCROEKF_ROE_XMPORTER - Form Routines







RPCROEK0_XMPORTER_FORMS 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 RPCROEK0_XMPORTER_FORMS 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 RPCROEK0_XMPORTER_FORMS. "Basic submit
SUBMIT RPCROEK0_XMPORTER_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT RPCROEK0_XMPORTER_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include RPCROEKF_ROE_XMPORTER - Form Routines


INCLUDES used within this REPORT RPCROEK0_XMPORTER_FORMS

FORM READ_INCLUDE .


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_CA_CHECK_ROEWB_STATUS CALL FUNCTION 'HR_CA_CHECK_ROEWB_STATUS' EXPORTING im_rundt = sy-datum IMPORTING ex_is_active = is_active.

HR_CA_GET_ROE_DOMAIN_VALUES CALL FUNCTION 'HR_CA_GET_ROE_DOMAIN_VALUES' TABLES roe_dom_tab = status_tab.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = c_roe_logical_filename operating_system = sy-opsys parameter_1 = g_defname parameter_2 = l_parameter2 use_presentation_server = p_frnt eleminate_blanks = ' ' "Note 950918 IMPORTING file_name = l_fname EXCEPTIONS file_not_found = 1 OTHERS = 2.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = c_roe_logical_filename_xml operating_system = sy-opsys parameter_1 = g_defname parameter_2 = l_parameter2 use_presentation_server = p_frnt eleminate_blanks = ' ' "Note 950918 IMPORTING file_name = l_fname EXCEPTIONS file_not_found = 1 OTHERS = 2.

HRNA_EVAL_STATUS_GET CALL FUNCTION 'HRNA_EVAL_STATUS_GET' EXPORTING sagrp = c_sagrp appl = c_appl runid = p_runid molga = c_molga IMPORTING status = l_status EXCEPTIONS run_not_found = 1 run_locked = 2 OTHERS = 3.

HR_CA_CHECK_ROE_REASON_CODE CALL FUNCTION 'HR_CA_CHECK_ROE_REASON_CODE' EXPORTING im_roers = gendata-reasn IMPORTING ex_roers = gendata-reasn EXCEPTIONS invalid_reason_code = 1 OTHERS = 2.

HR_CA_GET_EI_PERIODS CALL FUNCTION 'HR_CA_GET_EI_PERIODS' EXPORTING im_permo = gendata-permo * ex_period_begda = first_earn_rec-begda ex_period_endda = first_earn_rec-endda IMPORTING ex_pay_period_type = l_pptyp EXCEPTIONS invalid_pp = 1 pp_not_supported = 2 OTHERS = 3.

HR_CA_GET_EI_PERIODS CALL FUNCTION 'HR_CA_GET_EI_PERIODS' EXPORTING im_permo = gendata-permo IMPORTING ex_hmax_periods = g_hmax_periods ex_emax_periods = g_emax_periods ex_wmax_periods = g_wmax_periods EXCEPTIONS invalid_pp = 1 pp_not_supported = 2 OTHERS = 3.

RP_EDIT_NAME * CALL FUNCTION 'RP_EDIT_NAME' * EXPORTING * format = $$format * langu = sy-langu * molga = c_molga * pp0002 = it0002 * IMPORTING * edit_name = p_struc-ctname.

HR_CA_CHECK_OTHER_MONEY_CODE CALL FUNCTION 'HR_CA_CHECK_OTHER_MONEY_CODE' EXPORTING im_omcode = -omcode IMPORTING ex_omcode = -omcode EXCEPTIONS invalid_money_code = 1 OTHERS = 2.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = l_fname FILETYPE = 'ASC' TABLES DATA_TAB = p_header_tab EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 HEADER_TOO_LONG = 10 FILE_NOT_FOUND = 19.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = l_fname FILETYPE = 'ASC' APPEND = 'X' TABLES DATA_TAB = p_data_tab[] EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 UNKNOWN_ERROR = 6 FILE_NOT_FOUND = 19.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'WRITE' filename = l_sname EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

HRNA_EVAL_STATUS_GET CALL FUNCTION 'HRNA_EVAL_STATUS_GET' EXPORTING sagrp = c_sagrp appl = c_appl runid = p_runid molga = c_molga IMPORTING status = l_status EXCEPTIONS run_not_found = 1 run_locked = 2 OTHERS = 3.

HRNA_EVAL_STATUS_SET CALL FUNCTION 'HRNA_EVAL_STATUS_SET' EXPORTING sagrp = c_sagrp appl = c_appl runid = p_runid status = p_status lock = space molga = c_molga EXCEPTIONS run_locked = 1 run_not_found = 2 status_not_valid = 3 insert_failed = 4 OTHERS = 5.

FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING client = sy-mandt logical_path = c_roe_logical_printerpath operating_system = sy-opsys file_name = c_hrdc_print_program use_presentation_server = p_frnt eleminate_blanks = ' ' IMPORTING file_name_with_path = l_print_appl EXCEPTIONS path_not_found = 1 missing_parameter = 2 operating_system_not_found = 3 file_system_not_found = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Log report'(012) text_question = l_question text_button_1 = 'Yes' text_button_2 = 'No' default_button = '1' display_cancel_button = ' ' start_row = 10 popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'READ' filename = l_sname EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

BAL_LOG_CREATE





CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log EXCEPTIONS OTHERS = 1.

BAL_GLB_MSG_DEFAULTS_GET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_GET' IMPORTING e_s_msg_defaults = l_s_msg_defaults EXCEPTIONS OTHERS = 0.

BAL_GLB_MSG_DEFAULTS_SET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_SET' EXPORTING i_s_msg_defaults = l_s_msg_defaults EXCEPTIONS OTHERS = 0.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = l_s_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_msg_filter = l_s_msg_filter i_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = p_logical_file_name use_presentation_server = p_frntend eleminate_blanks = c_false IMPORTING file_name = p_filename_with_path EXCEPTIONS file_not_found = 1 OTHERS = 2.

WS_FILENAME_GET * CALL FUNCTION 'WS_FILENAME_GET' * EXPORTING * def_filename = l_fname * def_path = l_fpath * mask = ',*.XSD,*.XSD.'



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