FHCMPT01 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 FHCMPT01 into the relevant SAP transactions such as SE38 or SE80
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: Include Compensation Management - Read Text Tables
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = costcenter_otype * OBJID = costcenter = p_costcenter_objid controllingarea = p_controllingarea * STATUS = '1' begda = p_keyda endda = p_keyda * REFERENCE_DATE = SY-DATUM langu = p_langu IMPORTING * SHORT_TEXT = * OBJECT_TEXT = costcenter_name = p_costcenter_text * INTEGRATION_ACTIVE = * RETURN = EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = orgeh_otype objid = orgeh_objid * COSTCENTER = * CONTROLLINGAREA = * STATUS = '1' begda = p_keyda endda = p_keyda * REFERENCE_DATE = SY-DATUM langu = p_langu IMPORTING short_text = short_text object_text = long_text * COSTCENTER_NAME = * INTEGRATION_ACTIVE = * RETURN = EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = job_otype objid = job_objid * COSTCENTER = * CONTROLLINGAREA = * STATUS = '1' begda = p_keyda endda = p_keyda * REFERENCE_DATE = SY-DATUM langu = p_langu IMPORTING short_text = short_text object_text = long_text * COSTCENTER_NAME = * INTEGRATION_ACTIVE = * RETURN = EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = position_otype objid = position_objid * COSTCENTER = * CONTROLLINGAREA = * STATUS = '1' begda = p_keyda endda = p_keyda * REFERENCE_DATE = SY-DATUM langu = p_langu IMPORTING short_text = short_text object_text = long_text * COSTCENTER_NAME = * INTEGRATION_ACTIVE = * RETURN = EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p_companycode language = p_langu IMPORTING comp_name = p_companycode_text * CITY = * COUNTRY = * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = * ADDRESS = * VAT_REG_NO = * TABLES * APPENDIX = EXCEPTIONS not_found = 1 OTHERS = 2.
HRCA_CONTROLLINGAREA_GETDETAIL CALL FUNCTION 'HRCA_CONTROLLINGAREA_GETDETAIL' EXPORTING co_area = p_controllingarea language = p_langu IMPORTING name = p_controllingarea_text * CURRENCY = * CHRT_ACTTS = * FY_VARIANT = EXCEPTIONS not_found = 1 OTHERS = 2.
HRCA_BUSINESSAREA_GETDETAIL CALL FUNCTION 'HRCA_BUSINESSAREA_GETDETAIL' EXPORTING bus_area = p_businessarea language = p_langu IMPORTING bus_ar_des = p_businessarea_text EXCEPTIONS not_found = 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.
FHCMPT01 - Include Compensation Management - Read Text Tables FHCMPF01 - Include Compensation Management - Internal Routines FHCMPE99 - Include Compensation Management - Customer Routines FHCMPE02 - Include Compensation Management - Wage Type Calculation Routines FHCMPE01 - Include Compensation Management - General Forms FHCMPD08 - documentation and ABAP source code