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

FHCMPT01 SAP ABAP INCLUDE - Include Compensation Management - Read Text Tables







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


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 FHCMPT01. "Basic submit
SUBMIT FHCMPT01 AND RETURN. "Return to original report after report execution complete
SUBMIT FHCMPT01 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 Compensation Management - Read Text Tables


INCLUDES used within this REPORT FHCMPT01

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_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.



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