SAP Reports / Programs | Payroll | Mexico(PY-MX) SAP PY

PCREMMX1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

OPEN_FORM call function 'OPEN_FORM' EXPORTING archive_params = l_archive_parameters form = p_pform dialog = p_cdest options = l_itcpo language = sy-langu EXCEPTIONS canceled = 1 others = 2.

START_FORM call function 'START_FORM' EXPORTING form = p_pform EXCEPTIONS others = 0.

WRITE_FORM call function 'WRITE_FORM' EXPORTING element = 'VAR' EXCEPTIONS others = 0.

END_FORM call function 'END_FORM' EXCEPTIONS others = 0.

CLOSE_FORM call function 'CLOSE_FORM' IMPORTING result = p_itcpp EXCEPTIONS others = 0.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' EXPORTING archive_info = 'RET' archive_mode = c_armod archive_text = 'MX' ar_object = c_arobject destination = p_pdest in_parameters = l_print_parameters mode = 'CURRENT' no_dialog = true sap_object = c_object_prel IMPORTING out_archive_parameters = p_archive_parameters out_parameters = l_print_parameters valid = p_valid EXCEPTIONS others = 0.

HR_GET_ERRORTAB_FROM_PNP_INFO call function 'HR_GET_ERRORTAB_FROM_PNP_INFO' TABLES errortab = t_pnp_error.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' EXPORTING immediately = false layout = 'X_65_132' mode = 'CURRENT' new_list_id = true no_dialog = true IMPORTING out_parameters = ls_print_params EXCEPTIONS others = 0.

SET_PRINT_PARAMETERS call function 'SET_PRINT_PARAMETERS' EXPORTING in_parameters = ls_print_params.

SET_PRINT_PARAMETERS call function 'SET_PRINT_PARAMETERS' EXPORTING in_parameters = ls_print_params.

SET_PRINT_PARAMETERS call function 'SET_PRINT_PARAMETERS' EXPORTING in_parameters = ls_print_params.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' TABLES errortexts = lt_error_texts EXCEPTIONS others = 0.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING I_PERNR = ls_error_texts-pernr I_MSGID = 'RP' I_MSGTY = ls_error_texts-msgty I_MSGNO = '016' I_MSGV1 = lv_msgv1 I_MSGV2 = lv_msgv2 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = sy-repid I_STRUCTURE_NAME = ls_struct_name CHANGING CT_FIELDCAT = lt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

HR_PAL_CREATE_NODE_CATEG call function 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = iv_categ IT_FIELDCAT = lt_fieldcat EXCEPTIONS program_error = 1 others = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = lc_root i_node_txt = iv_node_txt IMPORTING e_node_key = gv_company EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD call function 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_company i_node_txt = iv_node_txt I_NODE_LABEL = lv_text I_LABEL_IS_QINFO = 'X' IMPORTING E_NODE_KEY = gv_emp EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD call function 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_emp i_node_txt = text-r01 I_CATEG_ID = 'CATEG1' IMPORTING E_NODE_KEY = lv_ret_node EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD





call function 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_emp i_node_txt = iv_node_txt I_NODE_LABEL = lv_text I_LABEL_IS_QINFO = 'X' IMPORTING E_NODE_KEY = gv_detail EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD call function 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_detail i_node_txt = iv_node_txt I_CATEG_ID = iv_categ_id IMPORTING E_NODE_KEY = gv_node_emp EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = iv_node_key i_row_data = is_node_row.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = LS_DISPLAY_PROFILE I_S_FLAT_PROFILE = LS_FLAT_PROFILE EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_options EXCEPTIONS OTHERS = 99.

SUSR_USER_DEFAULTS_GET CALL FUNCTION 'SUSR_USER_DEFAULTS_GET' EXPORTING user_name = sy-uname IMPORTING user_defaults = lv_dcpfm EXCEPTIONS user_name_not_exist = 1 OTHERS = 2.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = gs_data EXCEPTIONS OTHERS = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.



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