SAP Reports / Programs | Personnel Management | Compensation Management(PA-CM) SAP PA

FHCMPT03 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '102' msg_par1 = msgvar severity = 8 reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '107' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '109' msg_par1 = msgv1 msg_par2 = msgv2 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '110' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '112' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '122' msg_par1 = msgv1 msg_par2 = msgv2 msg_par3 = msgv3 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '123' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class2 msg_number = '110' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class4 msg_number = '007' msg_par1 = msgv1 severity = '2' reaction = p_msgty TABLES error_table = p_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class3 msg_number = '654' msg_par1 = msgv1 severity = p_subrc reaction = p_msgty TABLES error_table = p_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class4 msg_number = '002' msg_par1 = msgv1 msg_par2 = msgv2 msg_par3 = msgv3 severity = 8 reaction = p_msgty TABLES error_table = p_error_tab.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class4 msg_number = '003' msg_par1 = msgv1 msg_par2 = msgv2 severity = 8 reaction = p_msgty TABLES error_table = p_error_tab.

HRCM_ERROR_SET_ENTRY CALL FUNCTION 'HRCM_ERROR_SET_ENTRY' EXPORTING * OTYPE = * OBJID = * STEXT = msgty = p_msgty_log msgid = msg_class4 msgno = '010' msgv1 = msgv1 msgv2 = msgv2 * MSGV3 = * MSGV4 = * online_msgty = p_msgty_online * PROBCLASS = * MSGTX = * IMPORTING * LOG_HANDLE = * TABLES * EXT_ERRORTAB = EXCEPTIONS insert_error = 1 OTHERS = 2.

HRCM_ERROR_SET_ENTRY CALL FUNCTION 'HRCM_ERROR_SET_ENTRY' EXPORTING msgty = p_msgty_log msgid = msg_class4 msgno = '011' msgv1 = msgv1 EXCEPTIONS insert_error = 1 OTHERS = 2.

HRCM_ERROR_SET_ENTRY CALL FUNCTION 'HRCM_ERROR_SET_ENTRY' EXPORTING msgty = p_msgty_log msgid = msg_class4 msgno = '010' msgv1 = msgv1 msgv2 = msgv2 EXCEPTIONS insert_error = 1 OTHERS = 2.

HRCM_ERROR_SET_ENTRY CALL FUNCTION 'HRCM_ERROR_SET_ENTRY' EXPORTING msgty = p_msgty_log msgid = msg_class4 msgno = '011' msgv1 = msgv1 EXCEPTIONS insert_error = 1 OTHERS = 2.



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